BankAccount

Informations about a bank acount of payer.

package

Default

Methods

Initialize the model.

__construct(string|null $name = null, string|null $number = null) 

Arguments

$name

string|null

Name of an owner of the bank account

$number

string|null

Bank account number

Return a name of an owner of the bank account.

getName() : string|null

Response

string|null

Return a bank account number.

getNumber() : string|null

Response

string|null

Set the given name of an owner of the bank account.

setName(string|null $name) : \Dotpay\Model\BankAccount

Arguments

$name

string|null

Name of an owner of the bank account

Response

\Dotpay\Model\BankAccount

Set the given bank account number.

setNumber(string|null $number) : \Dotpay\Model\BankAccount
Throws
\Dotpay\Exception\BadParameter\BankNumberException

Thrown when the given bank account number is incorrect

Arguments

$number

string|null

Bank account number

Response

\Dotpay\Model\BankAccount

Properties

Name of an owner of the bank account

name : string|null
var

Name of an owner of the bank account

Type(s)

string|null

Bank account number

number : string|null
var

Bank account number

Type(s)

string|null