Свойство | Тип | Описание | |
---|---|---|---|
$_attributes | registry of customer data |
Метод | Описание | |
---|---|---|
__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 ) : |
Метод | Описание | |
---|---|---|
_initialize ( array $customerAttribs ) | sets instance properties from an array of values |
public __toString ( ) : string | ||
Результат | string |
public static _defaultPaymentMethodFilter ( $paymentMethod ) |
protected _initialize ( array $customerAttribs ) | ||
$customerAttribs | array | array of customer data |
public static createCustomerUrl ( ) : string | ||
Результат | string |
public static createFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | ||
$queryString | string | |
Результат | Braintree\Result\Successful |
public static createNoValidate ( array $attribs = [] ) : |
||
$attribs | array | |
Результат |
public static creditNoValidate ( type $customerId, type $transactionAttribs ) : |
||
$customerId | type | |
$transactionAttribs | type | |
Результат |
public defaultPaymentMethod ( ) : |
||
Результат |
public paymentMethods ( ) : array | ||
Результат | array |
public static saleNoValidate ( integer $customerId, array $transactionAttribs ) : |
||
$customerId | integer | |
$transactionAttribs | array | |
Результат |
public static updateCustomerUrl ( ) : string | ||
Результат | string |
public static updateFromTransparentRedirect ( string $queryString ) : Braintree\Result\Successful | |
||
$queryString | string | |
Результат | Braintree\Result\Successful | |
public static updateNoValidate ( integer $customerId, array $attributes ) : |
||
$customerId | integer | |
$attributes | array | |
Результат |