InstructionProviderInterface

Extends

Interface of instruction data providers from shop.

package

Default

Methods

Return an amount of payment.

getAmount() : float

Response

float

Return a bank account number of Dotpay if the instruction applies to transfers payment.

getBankAccount() : string|null

Response

string|null

Return an id of channel which is used to make a payment.

getChannel() : integer|null

Response

integer|null

Return a currency code of payment.

getCurrency() : string

Response

string

Return a hash of payment which is used on Dotpay server.

getHash() : string

Response

string

Return an id of the instruction in a shop.

getId() : integer|null

Response

integer|null

Return a number of payment.

getNumber() : string

Response

string

Return id of order which is connected with the instruction.

getOrderId() : integer|null

Response

integer|null