NAME
WebService::Braintree::_::Address
PURPOSE
This class represents an address.
This class will only be created as part of a response or error response.
ATTRIBUTES
company()
This is the company for this address.
country_code_alpha2()
This is the country_code_alpha2 for this address.
country_code_alpha3()
This is the country_code_alpha3 for this address.
country_code_numeric()
This is the country_code_numeric for this address.
country_name()
This is the country name for this address.
created_at()
This is when this address was created.
customer_id()
This is the customer (if any) for this address.
extended_address()
This is the extended_address for this address.
first_name()
This is the first name for this address. This defaults to "".
id()
This is the id for this address.
last_name()
This is the last name for this address. This defaults to "".
locality()
This is the locality for this address.
postal_code()
This is the postal code for this address.
zip_code()
is an alias for this attribute.
region()
This is the region for this address.
street_address()
This is the street address for this address.
updated_at()
This is when this address was last updated.
METHODS
full_name()
This returns the full name of this address. This is the first_name and the last_name concatenated with a space.