Methods summary
public
|
|
public
|
|
public
Kdyby\CsobPaymentGateway\Payment
|
#
createPayment( integer $orderNo = NULL, string $customerId = NULL )
This is a factory method, not an api call.
This is a factory method, not an api call.
Parameters
- $orderNo
integer $orderNo
- $customerId
string $customerId
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
|
public
Kdyby\CsobPaymentGateway\Message\RedirectResponse
|
#
paymentProcess( string $paymentId )
RedirectResponse factory for payment/process
RedirectResponse factory for payment/process
Parameters
- $paymentId
string $paymentId
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
#
paymentStatus( string $paymentId )
Parameters
- $paymentId
string $paymentId
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
#
paymentReverse( string $paymentId )
Parameters
- $paymentId
string $paymentId
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
#
paymentClose( string $paymentId, integer $totalAmount = NULL )
Parameters
- $paymentId
string $paymentId
- $totalAmount
integer $totalAmount In hundredth of currency units
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
#
paymentRefund( string $paymentId, integer $amount = NULL )
Please note, that when you wanna provide 100.25 CZK, you should pass here the
number 10025
Please note, that when you wanna provide 100.25 CZK, you should pass here the
number 10025
Parameters
- $paymentId
string $paymentId
- $amount
integer $amount In hundredth of currency units
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
#
customerInfo( string $customerId )
Parameters
- $customerId
string $customerId
Returns
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
|
public
Kdyby\CsobPaymentGateway\Message\Response
|
|
protected
|
|
protected
Psr\Http\Message\ResponseInterface
|
|
protected
string
|
#
buildUrl( mixed $endpoint, array $data )
Parameters
- $endpoint
mixed $endpoint
- $data
array $data
Returns
string
|
protected
boolean|string
|
|
protected
|
|