Result

Result of the operation which was realized through the Register Order method.

package

Default

Methods

Prepare basic informations about the result of operation.

__construct(string $statusUrl, \Dotpay\Model\Operation $operation) 

Arguments

$statusUrl

string

Url of the page where it's possible to check a status of the payment

$operation

\Dotpay\Model\Operation

Details of the realized operation

Return details of instruction how it's possible to finish the realized payment.

getInstruction() : \Dotpay\Model\Instruction|null

Return details of the realized operation.

getOperation() : \Dotpay\Model\Operation

Return an object which contains informations about redirecting to the finish page.

getRedirect() : \Dotpay\Model\Redirect|null

Response

\Dotpay\Model\Redirect|null

Return an url of the page where it's possible to check a status of the payment.

getStatusUrl() : string

Response

string

Set details of instruction how it's possible to finish the realized payment.

setInstruction(\Dotpay\Model\Instruction $instruction) : \Dotpay\Resource\RegisterOrder\Result

Arguments

$instruction

\Dotpay\Model\Instruction

Details of instruction how it's possible to finish the realized payment

Response

\Dotpay\Resource\RegisterOrder\Result

Set details of the realized operation.

setOperation(\Dotpay\Model\Operation $operation) : \Dotpay\Resource\RegisterOrder\Result

Arguments

$operation

\Dotpay\Model\Operation

Details of the realized operation

Response

\Dotpay\Resource\RegisterOrder\Result

Set an object which contains informations about redirecting to the finish page.

setRedirect(\Dotpay\Model\Redirect $redirect) : \Dotpay\Resource\RegisterOrder\Result

Arguments

$redirect

\Dotpay\Model\Redirect

Object which contains informations about redirecting to the page where the payment can be finished

Response

\Dotpay\Resource\RegisterOrder\Result

Set an url of the page where it's possible to check a status of the payment.

setStatusUrl(string $statusUrl) : \Dotpay\Resource\RegisterOrder\Result
Throws
\Dotpay\Exception\BadParameter\UrlException

Thrown when the given url is incorrect

Arguments

$statusUrl

string

Url of the page where it's possible to check a status of the payment

Response

\Dotpay\Resource\RegisterOrder\Result

Properties

Url of the page where it's possible to check a status of the payment

statusUrl : string
var

Url of the page where it's possible to check a status of the payment

Type(s)

string

Object which contains informations about redirecting to the page where the payment can be finished, if it's needed by the used payment channel

redirect : \Dotpay\Model\Redirect
var

Object which contains informations about redirecting to the page where the payment can be finished, if it's needed by the used payment channel

Type(s)

\Dotpay\Model\Redirect

Details of the realized operation

operation : \Dotpay\Model\Operation
var

Details of the realized operation

Type(s)

\Dotpay\Model\Operation

Details of instruction how it's possible to finish the realized payment, if it's needed by the used payment channel

instruction : \Dotpay\Model\Instruction
var

Details of instruction how it's possible to finish the realized payment, if it's needed by the used payment channel

Type(s)

\Dotpay\Model\Instruction