프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$configuration | |||
$currencyCodes | array | ||
$dispatcher | |||
$transactionMap | array |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
cancel ( |
||
pointQuery ( |
||
pointUsage ( |
||
postAuthorization ( |
||
preAuthorization ( |
||
refund ( |
||
sale ( |
||
setConfiguration ( |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | mixed |
abstract protected buildPostAuthorizationRequest ( |
||
$request | ||
리턴 | mixed |
abstract protected buildPreAuthorizationRequest ( |
||
$request | ||
리턴 | mixed |
abstract protected buildRefundRequest ( |
||
$request | ||
리턴 | mixed |
abstract protected buildRequest ( |
||
$request | ||
$requestBuilder | string | |
리턴 | mixed |
abstract protected buildSaleRequest ( |
||
$request | ||
리턴 | mixed |
public cancel ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
protected formatCurrency ( string $currency ) : integer | ||
$currency | string | |
리턴 | integer |
protected formatInstallment ( integer $installment ) : string | ||
$installment | integer | |
리턴 | string |
protected formatOrderId ( $orderId ) : mixed | ||
$orderId | ||
리턴 | mixed |
protected getDispatcher ( ) : |
||
리턴 |
protected getProviderTransactionType ( string $transactionType ) : string | ||
$transactionType | string | |
리턴 | string |
protected maskRequest ( string $rawRequest ) : string | ||
$rawRequest | string | |
리턴 | string |
abstract protected parseResponse ( string $rawResponse, string $transactionType ) : Paranoia\Payment\Response\PaymentResponse | ||
$rawResponse | string | |
$transactionType | string | |
리턴 | Paranoia\Payment\Response\PaymentResponse |
public pointQuery ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public pointUsage ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public postAuthorization ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public preAuthorization ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public refund ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public sale ( |
||
$request | ||
리턴 | Paranoia\Payment\Response\PaymentResponse |
public setConfiguration ( |
||
$configuration |
protected AbstractConfiguration,Paranoia\Configuration $configuration | ||
리턴 |
protected EventDispatcher,Symfony\Component\EventDispatcher $dispatcher | ||
리턴 |