PHP Class Braintree\UsBankAccountGateway

== More information ==
显示文件 Open project: braintree/braintree_php

Public Methods

Method Description
__construct ( $gateway )
find ( string $token ) : UsBankAccount find a usBankAccount by token
sale ( string $token, array $transactionAttribs ) : Braintree\Result\Successful | Error create a new sale for the current UsBank account

Private Methods

Method Description
_verifyGatewayResponse ( array $response ) : Braintree\Result\Successful | Error generic method for validating incoming gateway responses

Method Details

__construct() public method

public __construct ( $gateway )

find() public method

find a usBankAccount by token
public find ( string $token ) : UsBankAccount
$token string paypal accountunique id
return UsBankAccount

sale() public method

create a new sale for the current UsBank account
See also: Transaction::sale()
public sale ( string $token, array $transactionAttribs ) : Braintree\Result\Successful | Error
$token string
$transactionAttribs array
return Braintree\Result\Successful | Braintree\Result\Error