Class: SBF::Client::AlternateShippingAddress

Inherits:
BaseEntity
  • Object
show all
Includes:
Entities::Cacheable
Defined in:
lib/stbaldricks/entities/lib/alternate_shipping_address.rb

Defined Under Namespace

Modules: Type

Constant Summary

Constants inherited from BaseEntity

BaseEntity::ELSE

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#errors

Method Summary

Methods included from Entities::Cacheable

#cache_id, included

Methods inherited from BaseEntity

allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, collection_attributes, #destroyed?, #dirty_data, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, #error, inherited, #initialize, #keys_hash, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #reload!, #reload_recursive, #rollback!, #to_hash, #to_json

Methods included from EntityResponseConcern

#add_errors, #data, #error?, #errors?, #errors_http_code=, #http_code, #success?

Constructor Details

This class inherits a constructor from SBF::Client::BaseEntity

Instance Attribute Details

#address1Object

Returns the value of attribute address1.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def address2
  @address2
end

#business_nameObject

Returns the value of attribute business_name.



15
16
17
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 15

def business_name
  @business_name
end

#cityObject

Returns the value of attribute city.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def city
  @city
end

#countryObject

Returns the value of attribute country.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def country
  @country
end

#country_nameObject

Returns the value of attribute country_name.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def country_name
  @country_name
end

#stateObject

Returns the value of attribute state.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def state
  @state
end

#state_nameObject

Returns the value of attribute state_name.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def state_name
  @state_name
end

#typeObject

Returns the value of attribute type.



14
15
16
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 14

def type
  @type
end

#zipObject

Returns the value of attribute zip.



16
17
18
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 16

def zip
  @zip
end