You are here

public static function Braintree_Address::createSignature in Commerce Braintree 7

creates a full array signature of a valid create request

Return value

array gateway create request format

2 calls to Braintree_Address::createSignature()
Braintree_Address::create in braintree_php/lib/Braintree/Address.php
@access public
Braintree_Address::updateSignature in braintree_php/lib/Braintree/Address.php
creates a full array signature of a valid update request

File

braintree_php/lib/Braintree/Address.php, line 192

Class

Braintree_Address
Creates and manages Braintree Addresses

Code

public static function createSignature() {
  return array(
    'company',
    'countryCodeAlpha2',
    'countryCodeAlpha3',
    'countryCodeNumeric',
    'countryName',
    'customerId',
    'extendedAddress',
    'firstName',
    'lastName',
    'locality',
    'postalCode',
    'region',
    'streetAddress',
  );
}