Example #1
0
 /**
  * @param string $iban
  * @param string $bic
  * @param bool|false $sepa
  * @return \Oneso\Ckonto\Webservice\IbanCheck\IbanCheckResponse
  * @throws \Oneso\Ckonto\Webservice\IbanCheck\IbanCheckException
  */
 private function createRequest($iban = 'DE134567', $bic = '', $sepa = false)
 {
     return \Oneso\Ckonto\Webservice\IbanCheck\IbanCheckRequest::request(\Oneso\Ckonto\Webservice\Objects\Iban::fromIban($iban), \Oneso\Ckonto\Webservice\Objects\Bic::fromBic($bic), \Oneso\Ckonto\Webservice\Objects\Sepa::fromValue($sepa));
 }
Example #2
0
 /**
  * @return IbanCheckResponse
  */
 public function check()
 {
     return IbanCheckRequest::request($this->iban, $this->bic, $this->sepa);
 }