/** * 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); }
public function __construct(Config $config, \Upg\Library\Request\GetTransactionStatus $request) { $this->request = $request; parent::__construct($config); }
/** * 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); }
/** * 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); }