Ejemplo n.º 1
0
 /**
  * @return BankCheckResponse
  */
 public function check()
 {
     return BankCheckRequest::request($this->accountNumber, $this->bankCode, $this->sepa);
 }
Ejemplo n.º 2
0
 /**
  * @param string $accountNumber
  * @param string $bankCode
  * @param bool|false $sepa
  * @return \Oneso\Ckonto\Webservice\BankCheck\BankCheckResponse
  * @throws \Oneso\Ckonto\Webservice\BankCheck\BankCheckException
  */
 private function createRequest($accountNumber = '123456789', $bankCode = '', $sepa = false)
 {
     return \Oneso\Ckonto\Webservice\BankCheck\BankCheckRequest::request(\Oneso\Ckonto\Webservice\Objects\AccountNumber::fromNumber($accountNumber), \Oneso\Ckonto\Webservice\Objects\BankCode::fromCode($bankCode), \Oneso\Ckonto\Webservice\Objects\Sepa::fromValue($sepa));
 }