OperationProviderInterface

Extends

Interface of operation data providers from shop.

package

Default

Methods

Return an account id of a seller.

getAccountId() : integer|null

Response

integer|null

Return a transaction amount.

getAmount() : float|null

Response

float|null

Return an amount of a Dotpay commission.

getCommissionAmount() : float|null

It's presented as a negative amount.

Response

float|null

Return a flag if operation is marked as completed in Seller panel.

getCompleted() : boolean

Response

boolean

Return a value which was given during making a payment.

getControl() : mixed

Response

mixed

Return a code of a transaction currency.

getCurrency() : string

Response

string

Return a DateTime object with date and a time of the last change status of the operation.

getDateTime() : \Dotpay\Provider\DateTime|null

Response

\Dotpay\Provider\DateTime|null

Return a description of the operation.

getDescription() : string

Response

string

Return an email of payer.

getEmail() : string

Response

string

Return a number of the operation.

getNumber() : string

Response

string

Return an original amount which was sent from a shop.

getOriginalAmount() : float|null

Response

float|null

Return a code of an original currency which was sent from a shop.

getOriginalCurrency() : string

Response

string

Return a number of an operation which is related to the operation.

getRelatedNumber() : string

Response

string

Return a status identifier of the operation.

getStatus() : string

Response

string

Return an identifier of a type of the operation.

getType() : string

Response

string

Return a withdrawal amount.

getWithdrawalAmount() : float|null

Response

float|null