Свойство | Type | Description | |
---|---|---|---|
$_attributes | registry of customer data |
Méthode | Description | |
---|---|---|
__toString ( ) : string | returns a string representation of the customer | |
_defaultPaymentMethodFilter ( $paymentMethod ) | ||
all ( ) : |
||
create ( array $attribs = [] ) : Braintree\Result\Successful | |
||
createCustomerUrl ( ) : string | ||
createFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | ||
createNoValidate ( array $attribs = [] ) : |
||
credit ( integer $customerId, array $transactionAttribs ) : Braintree\Result\Successful | |
||
creditNoValidate ( type $customerId, type $transactionAttribs ) : |
||
defaultPaymentMethod ( ) : |
returns the customer's default payment method | |
delete ( integer $customerId ) : Braintree\Result\Successful | ||
factory ( array $attributes ) : |
factory method: returns an instance of Customer to the requesting method, with populated properties | |
fetch ( string $query, int[] $ids ) : |
||
find ( string $id ) : |
||
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 ) : |
||
saleNoValidate ( integer $customerId, array $transactionAttribs ) : |
||
search ( string $query ) : |
||
update ( integer $customerId, array $attributes ) : Braintree\Result\Successful | |
||
updateCustomerUrl ( ) : string | ||
updateFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | |
||
updateNoValidate ( integer $customerId, array $attributes ) : |
Méthode | Description | |
---|---|---|
_initialize ( array $customerAttribs ) | sets instance properties from an array of values |
public __toString ( ) : string | ||
Résultat | string |
public static _defaultPaymentMethodFilter ( $paymentMethod ) |
protected _initialize ( array $customerAttribs ) | ||
$customerAttribs | array | array of customer data |
public static createCustomerUrl ( ) : string | ||
Résultat | string |
public static createFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | ||
$queryString | string | |
Résultat | Braintree\Result\Successful |
public static createNoValidate ( array $attribs = [] ) : |
||
$attribs | array | |
Résultat |
public static creditNoValidate ( type $customerId, type $transactionAttribs ) : |
||
$customerId | type | |
$transactionAttribs | type | |
Résultat |
public defaultPaymentMethod ( ) : |
||
Résultat |
public paymentMethods ( ) : array | ||
Résultat | array |
public static saleNoValidate ( integer $customerId, array $transactionAttribs ) : |
||
$customerId | integer | |
$transactionAttribs | array | |
Résultat |
public static updateCustomerUrl ( ) : string | ||
Résultat | string |
public static updateFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | |
||
$queryString | string | |
Résultat | Braintree\Result\Successful | |
public static updateNoValidate ( integer $customerId, array $attributes ) : |
||
$customerId | integer | |
$attributes | array | |
Résultat |