Allow to use Seller API.
| package |
Default |
|---|
__construct(\Dotpay\Model\Configuration $config, \Dotpay\Tool\Curl $curl)
checkFccPin() : boolean
boolean
checkIdAndPin(integer $id, string $pin) : boolean
integerSeller id
stringSeller pin
boolean
checkPin() : boolean
boolean
close()
getAcceptHeader() : string
string
getAccount(integer $id) : \Dotpay\Model\Account
| Throws |
|
|---|
integerSeller id
\Dotpay\Model\Account
getApiUrl(string $end) : string
stringEnd point of the Api
string
getContent(string $url) : array
| Throws |
|
|---|
stringUrl of a destination request
arrayResult which is decoded as array
getCurl() : \Dotpay\Tool\Curl
getDataForPayout(\Dotpay\Model\Payout $payout) : array
getDataFromApi(string $targetUrl) : array
| Throws |
|
|---|
stringUrl of the target resource
array
getOperationById(mixed $id) : \Dotpay\Model\Operation
| Throws |
|
|---|
mixedOperation identifier
\Dotpay\Model\Operation
getOperationByNumber(string $number) : \Dotpay\Model\Operation
| Throws |
|
|---|
stringNumber of a operation
\Dotpay\Model\Operation
getPaginateDataFromApi(string $url) : array
| Throws |
|
|---|
stringUrl address of the selected target
array
getWrapedOperation(array $input) : \Dotpay\Model\Operation
isAccountRight() : boolean
boolean
makePayout(\Dotpay\Model\Seller $seller, \Dotpay\Model\Payout $payout) : boolean
| Throws |
|
|---|
boolean
makeRefund(\Dotpay\Model\Refund $refund) : boolean
| Throws |
|
|---|
boolean
postData(string $url, \Dotpay\Resource\sring $body) : array
stringUrl of a destination request
\Dotpay\Resource\sringBody content of request which is encoded as JSON string
array
loader : \Dotpay\Loader\Loader
config : \Dotpay\Model\Configuration
curl : \Dotpay\Tool\Curl
info : array
| var |
Information about last request |
|---|
array