Свойство | Type | Description | |
---|---|---|---|
$configuration | |||
$currencyCodes | array | ||
$dispatcher | |||
$transactionMap | array |
Méthode | Description | |
---|---|---|
__construct ( |
||
cancel ( |
||
pointQuery ( |
||
pointUsage ( |
||
postAuthorization ( |
||
preAuthorization ( |
||
refund ( |
||
sale ( |
||
setConfiguration ( |
Méthode | Description | |
---|---|---|
buildCancelRequest ( |
build request data for cancel transaction. | |
buildPostAuthorizationRequest ( |
build request data for postauthorization transaction. | |
buildPreAuthorizationRequest ( |
build request data for preauthorization transaction. | |
buildRefundRequest ( |
build request data for refund transaction. | |
buildRequest ( |
build complete raw data for the specified request. | |
buildSaleRequest ( |
build request data for sale transaction. | |
formatAmount ( string | float $amount, boolean $reverse = false ) : string | returns formatted amount with doth or without doth. | |
formatCurrency ( string $currency ) : integer | formats the specified string currency code by iso currency codes. | |
formatExpireDate ( integer $month, integer $year ) : string | formats expire date as month/year | |
formatInstallment ( integer $installment ) : string | returns formatted installment amount | |
formatOrderId ( $orderId ) : mixed | returns formatted order number. | |
getDispatcher ( ) : |
||
getProviderTransactionType ( string $transactionType ) : string | returns transaction code by expected provider. | |
maskRequest ( string $rawRequest ) : string | mask some critical information in transaction request. | |
parseResponse ( string $rawResponse, string $transactionType ) : Paranoia\Payment\Response\PaymentResponse | parses response from returned provider. | |
sendRequest ( string $url, mixed $data, array $options = null ) : mixed | Makes http request to remote host. |
public __construct ( |
||
$configuration |
abstract protected buildCancelRequest ( |
||
$request | ||
Résultat | mixed |
abstract protected buildPostAuthorizationRequest ( |
||
$request | ||
Résultat | mixed |
abstract protected buildPreAuthorizationRequest ( |
||
$request | ||
Résultat | mixed |
abstract protected buildRefundRequest ( |
||
$request | ||
Résultat | mixed |
abstract protected buildRequest ( |
||
$request | ||
$requestBuilder | string | |
Résultat | mixed |
abstract protected buildSaleRequest ( |
||
$request | ||
Résultat | mixed |
public cancel ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
protected formatCurrency ( string $currency ) : integer | ||
$currency | string | |
Résultat | integer |
protected formatInstallment ( integer $installment ) : string | ||
$installment | integer | |
Résultat | string |
protected formatOrderId ( $orderId ) : mixed | ||
$orderId | ||
Résultat | mixed |
protected getDispatcher ( ) : |
||
Résultat |
protected getProviderTransactionType ( string $transactionType ) : string | ||
$transactionType | string | |
Résultat | string |
protected maskRequest ( string $rawRequest ) : string | ||
$rawRequest | string | |
Résultat | string |
abstract protected parseResponse ( string $rawResponse, string $transactionType ) : Paranoia\Payment\Response\PaymentResponse | ||
$rawResponse | string | |
$transactionType | string | |
Résultat | Paranoia\Payment\Response\PaymentResponse |
public pointQuery ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public pointUsage ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public postAuthorization ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public preAuthorization ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public refund ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public sale ( |
||
$request | ||
Résultat | Paranoia\Payment\Response\PaymentResponse |
public setConfiguration ( |
||
$configuration |
protected AbstractConfiguration,Paranoia\Configuration $configuration | ||
Résultat |
protected EventDispatcher,Symfony\Component\EventDispatcher $dispatcher | ||
Résultat |