Informations about an instruction of payments by cash or transfer.
package |
Default |
---|
createFromData(\Dotpay\Provider\InstructionProviderInterface $provider) : \Dotpay\Model\Instruction
\Dotpay\Provider\InstructionProviderInterface
Provider which contains data from shop application
\Dotpay\Model\Instruction
getAmount() : float
float
getBankAccount() : string|null
string|null
getBankChannelLogo(\Dotpay\Model\Configuration $config) : \Dotpay\Model\string/null
\Dotpay\Model\string/null
getBankPage(\Dotpay\Model\Configuration $config) : string|null
getChannel() : integer|null
integer|null
getCurrency() : string
string
getHash() : string
string
getId() : integer|null
integer|null
getIsCash() : boolean
boolean
getNumber() : string
string
getOrderId() : integer|null
integer|null
getPage(\Dotpay\Model\Configuration $config) : string
getPdfUrl(\Dotpay\Model\Configuration $config) : string
loadDOM(\Dotpay\Model\Configuration $config) : \DOMDocument
setAmount(float $amount) : \Dotpay\Model\Order
Throws |
|
---|
float
An amount of the order
\Dotpay\Model\Order
setBankAccount(string $bankAccount) : \Dotpay\Model\Instruction
Throws |
|
---|
string
Bank account number of Dotpay if the instruction applies to transfers payment
\Dotpay\Model\Instruction
setChannel(integer $channel) : \Dotpay\Model\Instruction
Throws |
|
---|
integer
Id of channel which is used to make a payment
\Dotpay\Model\Instruction
setCurrency(string $currency) : \Dotpay\Model\Order
Throws |
|
---|
string
A currency code of the order
\Dotpay\Model\Order
setHash(string $hash) : \Dotpay\Model\Instruction
string
Hash of payment which is used on Dotpay server
\Dotpay\Model\Instruction
setId(integer $id) : \Dotpay\Model\Instruction
setNumber(string $number) : \Dotpay\Model\Instruction
Throws |
|
---|
string
Number of payment
\Dotpay\Model\Instruction
setOrderId(integer $orderId) : \Dotpay\Model\Instruction
integer
Id of order which is connected with the instruction
\Dotpay\Model\Instruction
RECIPIENT_NAME
RECIPIENT_STREET
RECIPIENT_CITY
id : integer|null
var |
Id of the instruction in a shop |
---|
integer|null
orderId : integer|null
var |
Id of order which is connected with the instruction |
---|
integer|null
number : string
var |
Number of payment. It can be considered as a title of payment. Its format is like an operation number of Dotpay |
---|
string
bankAccount : string
var |
Bank account number of Dotpay if the instruction applies to transfers payment |
---|
string
channel : integer|null
var |
Id of channel which is used to make a payment |
---|
integer|null
hash : string
var |
Hash of payment which is used on Dotpay server |
---|
string
amount : float
var |
Amount of money to pay |
---|
float
currency : string
var |
Currency name |
---|
string
document : \DOMDocument/null
var |
Loaded DOM of site with payment instruction |
---|
\DOMDocument/null