Class: BasecommSdk::Address
Constant Summary collapse
- NAME =
{ xs_address_name_home: 'HOME', xs_address_name_work: 'WORK', xs_address_name_mailing: 'MAILING', xs_address_name_shipping: 'SHIPPING', xs_address_name_billing: 'BILLING', xs_address_name_dba: 'DBA', xs_address_name_legal: 'LEGAL' }
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#line1 ⇒ Object
Returns the value of attribute line1.
-
#line2 ⇒ Object
Returns the value of attribute line2.
-
#line3 ⇒ Object
Returns the value of attribute line3.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
-
#zipcode ⇒ Object
Returns the value of attribute zipcode.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
attr_accessor, attributes, #attributes, #format, #initialize, json_prefix, #messages, #qualified_attributes, #qualified_key, #status_description, #status_name, #to_json
Constructor Details
This class inherits a constructor from BasecommSdk::Base
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def country @country end |
#line1 ⇒ Object
Returns the value of attribute line1.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def line1 @line1 end |
#line2 ⇒ Object
Returns the value of attribute line2.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def line2 @line2 end |
#line3 ⇒ Object
Returns the value of attribute line3.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def line3 @line3 end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def name @name end |
#state ⇒ Object
Returns the value of attribute state.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def state @state end |
#zipcode ⇒ Object
Returns the value of attribute zipcode.
13 14 15 |
# File 'lib/basecomm_sdk/address.rb', line 13 def zipcode @zipcode end |
Class Method Details
Instance Method Details
#json_prefix ⇒ Object
21 22 23 |
# File 'lib/basecomm_sdk/address.rb', line 21 def json_prefix :address end |