Méthode | Description | |
---|---|---|
__construct ( |
||
create ( array $attribs ) : Braintree\Result\Successful | |
||
createNoValidate ( array $attribs ) : self | attempts the create operation assuming all data will validate returns a Address object instead of a Result | |
createSignature ( ) : array | creates a full array signature of a valid create request | |
delete ( mixed $customerOrId = null, string $addressId = null ) | delete an address by id | |
find ( mixed $customerOrId, string $addressId ) : braintree\Address | find an address by id | |
update ( mixed $customerOrId, string $addressId, array $attributes ) : Braintree\Result\Successful | |
updates the address record | |
updateNoValidate ( $customerOrId, $addressId, $attributes ) : |
update an address record, assuming validations will pass | |
updateSignature ( ) : array | creates a full array signature of a valid update request |
Méthode | Description | |
---|---|---|
_determineCustomerId ( mixed $customerOrId ) : string | determines if a string id or Customer object was passed | |
_doCreate ( string $subPath, array $params ) : Braintree\Result\Successful | |
sends the create request to the gateway | |
_validateCustomerId ( string $id = null ) | verifies that a valid customer id is being used | |
_validateId ( string $id = null ) | verifies that a valid address id is being used | |
_verifyGatewayResponse ( array $response ) : Braintree\Result\Successful | |
generic method for validating incoming gateway responses |
public createNoValidate ( array $attribs ) : self | ||
$attribs | array | |
Résultat | self |
public static createSignature ( ) : array | ||
Résultat | array | gateway create request format |
public updateNoValidate ( $customerOrId, $addressId, $attributes ) : |
||
Résultat |
public static updateSignature ( ) : array | ||
Résultat | array | gateway update request format |