public static function retrieve(RetrieveBkmRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bkm/auth/detail/basic", parent::getHttpHeaders($request, $options), $request->toJsonString()); return BasicBkmMapper::create($rawResult)->jsonDecode()->mapBasicBkm(new BasicBkm()); }
public static function create(CreateThreedsPaymentRequest $request, Options $options) { $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/3dsecure/auth/basic", parent::getHttpHeaders($request, $options), $request->toJsonString()); return BasicThreedsPaymentMapper::create($rawResult)->jsonDecode()->mapBasicThreedsPayment(new BasicThreedsPayment()); }