PHP 클래스 Braintree\PaymentMethodGateway

== More information ==
파일 보기 프로젝트 열기: braintree/braintree_php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $gateway )
_doCreate ( string $subPath, array $params ) : mixed sends the create request to the gateway
_doUpdate ( string $subPath, array $params ) : mixed sends the update request to the gateway
create ( $attribs )
createSignature ( )
delete ( $token )
find ( string $token ) : CreditCard | braintree\PayPalAccount find a PaymentMethod by token
grant ( $sharedPaymentMethodToken, $attribs = [] )
revoke ( $sharedPaymentMethodToken )
update ( $token, $attribs )
updateSignature ( )

비공개 메소드들

메소드 설명
_validateId ( string $identifier = null, $identifierType = 'token' ) verifies that a valid payment method identifier is being used
_verifyGatewayResponse ( array $response ) : Braintree\Result\Successful | Error generic method for validating incoming gateway responses
baseSignature ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $gateway )

_doCreate() 공개 메소드

sends the create request to the gateway
public _doCreate ( string $subPath, array $params ) : mixed
$subPath string
$params array
리턴 mixed

_doUpdate() 공개 메소드

sends the update request to the gateway
public _doUpdate ( string $subPath, array $params ) : mixed
$subPath string
$params array
리턴 mixed

create() 공개 메소드

public create ( $attribs )

createSignature() 공개 정적인 메소드

public static createSignature ( )

delete() 공개 메소드

public delete ( $token )

find() 공개 메소드

find a PaymentMethod by token
public find ( string $token ) : CreditCard | braintree\PayPalAccount
$token string payment method unique id
리턴 CreditCard | braintree\PayPalAccount

grant() 공개 메소드

public grant ( $sharedPaymentMethodToken, $attribs = [] )

revoke() 공개 메소드

public revoke ( $sharedPaymentMethodToken )

update() 공개 메소드

public update ( $token, $attribs )

updateSignature() 공개 정적인 메소드

public static updateSignature ( )