메소드 |
설명 |
|
__toString ( ) : string |
returns a string representation of the customer |
|
_defaultPaymentMethodFilter ( $paymentMethod ) |
|
|
all ( ) : Customer[] |
|
|
create ( array $attribs = [] ) : Braintree\Result\Successful | Error |
|
|
createCustomerUrl ( ) : string |
|
|
createFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful |
|
|
createNoValidate ( array $attribs = [] ) : Customer |
|
|
credit ( integer $customerId, array $transactionAttribs ) : Braintree\Result\Successful | Error |
|
|
creditNoValidate ( type $customerId, type $transactionAttribs ) : Transaction |
|
|
defaultPaymentMethod ( ) : CreditCard | braintree\PayPalAccount |
returns the customer's default payment method |
|
delete ( integer $customerId ) : Braintree\Result\Successful |
|
|
factory ( array $attributes ) : Customer |
factory method: returns an instance of Customer
to the requesting method, with populated properties |
|
fetch ( string $query, int[] $ids ) : Customer | Customer[] |
|
|
find ( string $id ) : Customer |
|
|
isEqual ( object $otherCust ) : boolean |
returns false if comparing object is not a Customer,
or is a Customer with a different id |
|
paymentMethods ( ) : array |
returns an array containt all of the customer's payment methods |
|
sale ( integer $customerId, array $transactionAttribs ) : Transaction |
|
|
saleNoValidate ( integer $customerId, array $transactionAttribs ) : Transaction |
|
|
search ( string $query ) : ResourceCollection |
|
|
update ( integer $customerId, array $attributes ) : Braintree\Result\Successful | Error |
|
|
updateCustomerUrl ( ) : string |
|
|
updateFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | Error |
|
|
updateNoValidate ( integer $customerId, array $attributes ) : CustomerGateway |
|
|