Informations about a notification from Dotpay server.
| package |
Default |
|---|
__construct(\Dotpay\Model\Operation $operation, integer $channel = null)
integerId of used payment channel
calculateSignature(string $pin) : string
stringSeller pin
string
createFromData(\Dotpay\Provider\NotificationProviderInterface $provider) : \Dotpay\Model\Notification
\Dotpay\Provider\NotificationProviderInterfaceProvider which contains data from shop application
\Dotpay\Model\Notification
getChannelCountry() : string
string
getChannelId() : integer
integer
getCreditCard() : \Dotpay\Model\CreditCard|null
getIpCountry() : string
string
getOperation() : \Dotpay\Model\Operation
getShopEmail() : string
string
getShopName() : string
string
getSignature() : string
string
setChannelCountry(string $channelCountry) : \Dotpay\Model\Notification
stringCodename of a country of the payment instrument from which payment was made
\Dotpay\Model\Notification
setChannelId(integer $channelId) : \Dotpay\Model\Notification
| Throws |
|
|---|
integerId of used payment channel
\Dotpay\Model\Notification
setCreditCard(\Dotpay\Model\CreditCard $creditCard) : \Dotpay\Model\Notification
\Dotpay\Model\CreditCardCreditCard object if payment was realize by credit card and this information is allowed to send
\Dotpay\Model\Notification
setIpCountry(string $ipCountry) : \Dotpay\Model\Notification
stringCodename of a country resulting from IP address from which the payment was made
\Dotpay\Model\Notification
setOperation(\Dotpay\Model\Operation $operation) : \Dotpay\Model\Notification
\Dotpay\Model\OperationOperation object with details of operation which relates the notification
\Dotpay\Model\Notification
setShopEmail(string $shopEmail) : \Dotpay\Model\Notification
| Throws |
|
|---|
stringEmail of a seller
\Dotpay\Model\Notification
setShopName(string $shopName) : \Dotpay\Model\Notification
setSignature(string $signature) : \Dotpay\Model\Notification
operation : \Dotpay\Model\Operation
| var |
Operation object with details of operation which relates the notification |
|---|
\Dotpay\Model\Operation
shopEmail : string
| var |
Email of a seller |
|---|
string
shopName : string
| var |
Name of a shop |
|---|
string
channelId : integer
| var |
Id of used payment channel |
|---|
integer
channelCountry : string
| var |
Codename of a country of the payment instrument from which payment was made |
|---|
string
ipCountry : string
| var |
Codename of a country resulting from IP address from which the payment was made |
|---|
string
creditCard : \Dotpay\Model\CreditCard|null
| var |
CreditCard object if payment was realize by credit card and this information is allowed to send |
|---|
\Dotpay\Model\CreditCard|null
signature : string
| var |
Checksum of a Dotpay notification |
|---|
string