コード例 #1
0
 /**
  * Constructor
  * @param Config $config Merchant Config
  * @param \Upg\Library\Request\RegisterUserPaymentInstrument $request Request to be sent
  */
 public function __construct(Config $config, \Upg\Library\Request\RegisterUserPaymentInstrument $request)
 {
     $this->request = $request;
     parent::__construct($config);
 }
コード例 #2
0
 public function __construct(Config $config, \Upg\Library\Request\GetTransactionStatus $request)
 {
     $this->request = $request;
     parent::__construct($config);
 }
コード例 #3
0
ファイル: Refund.php プロジェクト: vmrose/clientlibrary
 /**
  * Construct the API stub
  * @param Config $config Merchant config
  * @param \Upg\Library\Request\Refund $request Request to be sent
  */
 public function __construct(Config $config, \Upg\Library\Request\Refund $request)
 {
     $this->request = $request;
     parent::__construct($config);
 }
コード例 #4
0
 /**
  * Constructor
  * @param Config $config Config for merchant
  * @param \Upg\Library\Request\UpdateTransaction $request Request to be sent
  */
 public function __construct(Config $config, \Upg\Library\Request\UpdateTransaction $request)
 {
     $this->request = $request;
     $this->submitType = self::SUBMIT_TYPE_MULTIPART;
     parent::__construct($config);
 }