create() public static method

public static create ( $rawResult = null )
Ejemplo n.º 1
0
 public static function create(CreateBasicPaymentRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/3dsecure/initialize/basic", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BasicThreedsInitializeMapper::create($rawResult)->jsonDecode()->mapBasicThreedsInitialize(new BasicThreedsInitialize());
 }