Informations about a payment.
| package |
Default |
|---|
__construct(\Dotpay\Model\Seller $seller, float $amount, string $currency, string $description, string $id = '')
floatAn amount of the payment
stringA currency code of the payment
stringA description of the payment
stringAn id of the payment
createFromData(\Dotpay\Provider\PaymentProviderInterface $provider) : \Dotpay\Model\Payment
getAmount() : float
float
getCurrency() : string
string
getDescription() : string
string
getId() : integer
integer
getIdentifier() : string
string
getSeller() : \Dotpay\Model\Seller|null
getSurcharge(\Dotpay\Model\Configuration $config) : float
setAmount(float $amount) : \Dotpay\Model\Order
| Throws |
|
|---|
floatAn amount of the order
\Dotpay\Model\Order
setCurrency(string $currency) : \Dotpay\Model\Order
| Throws |
|
|---|
stringA currency code of the order
\Dotpay\Model\Order
setDescription(string $description) : \Dotpay\Model\Payment
setId(integer $id) : \Dotpay\Model\Order
integerAn id of the order
\Dotpay\Model\Order
setSeller(\Dotpay\Model\Seller $seller) : \Dotpay\Model\Payment
id : integer
| var |
An id of the payment |
|---|
integer
amount : float
| var |
An amount of the payment |
|---|
float
currency : string
| var |
A currency code of the payment |
|---|
string
description : string
| var |
A description of the payment |
|---|
string
seller : \Dotpay\Model\Seller|null