Allow to use informations about channels which are enabled for details of payment.
package |
Default |
---|
__construct(\Dotpay\Model\Configuration $config, \Dotpay\Tool\Curl $curl)
checkSeller(integer $id, \Dotpay\Resource\Channel\Request $request = null) : boolean
Throws |
|
---|
integer
Seller id
\Dotpay\Resource\Channel\Request
Object with request data. If it's not provided, default request is created automatically
boolean
clearBuffer() : \Dotpay\Resource\Payment
close()
getAcceptHeader() : string
string
getChannelListForRequest(\Dotpay\Resource\Channel\Request $request) : \Dotpay\Resource\Channel\Info
Throws |
|
---|
\Dotpay\Resource\Channel\Info
getChannelListForTransaction(\Dotpay\Model\Transaction $transaction) : \Dotpay\Resource\Channel\Info
Throws |
|
---|
\Dotpay\Resource\Channel\Info
getContent(string $url) : array
Throws |
|
---|
string
Url of a destination request
array
Result which is decoded as array
getCurl() : \Dotpay\Tool\Curl
postData(string $url, \Dotpay\Resource\sring $body) : array
string
Url of a destination request
\Dotpay\Resource\sring
Body content of request which is encoded as JSON string
array
buffer : array
var |
List of channels lists which are gotten from server for specific orders |
---|
array
config : \Dotpay\Model\Configuration
curl : \Dotpay\Tool\Curl
info : array
var |
Information about last request |
---|
array