Exemple #1
0
 /**
  * @param Operation $operation
  * @return $this
  */
 public function createRequest(Operation $operation)
 {
     $this->request = new Request($operation, $this->settings->getMerchantNumber($operation->getGatewayKey()), $this->settings->getDepositFlag());
     $this->signer = new Signer($this->settings->getPrivateKey($operation->getGatewayKey()), $this->settings->getPrivateKeyPassword($operation->getGatewayKey()), $this->settings->getPublicKey());
     return $this;
 }