PayPal\Service\PayPalAPIInterfaceServiceService::DoUATPExpressCheckoutPayment PHP 메소드

DoUATPExpressCheckoutPayment() 공개 메소드

Service Call: DoUATPExpressCheckoutPayment
public DoUATPExpressCheckoutPayment ( DoUATPExpressCheckoutPaymentReq $doUATPExpressCheckoutPaymentReq, mixed $apiCredential = null ) : DoUATPExpressCheckoutPaymentResponseType
$doUATPExpressCheckoutPaymentReq PayPal\PayPalAPI\DoUATPExpressCheckoutPaymentReq
$apiCredential mixed - Optional API credential - can either be a username configured in sdk_config.ini or a ICredential object created dynamically
리턴 PayPal\PayPalAPI\DoUATPExpressCheckoutPaymentResponseType
    public function DoUATPExpressCheckoutPayment($doUATPExpressCheckoutPaymentReq, $apiCredential = null)
    {
        $apiContext = new PPApiContext($this->config);
        $handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
        $this->setStandardParams($doUATPExpressCheckoutPaymentReq->DoUATPExpressCheckoutPaymentRequest);
        $ret = new DoUATPExpressCheckoutPaymentResponseType();
        $resp = $this->call('PayPalAPIAA', 'DoUATPExpressCheckoutPayment', $doUATPExpressCheckoutPaymentReq, $apiContext, $handlers);
        $ret->init(PPUtils::xmlToArray($resp));
        return $ret;
    }