Class: SBF::Client::AlternateShippingAddress

Inherits:
BaseEntity
  • Object
show all
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 inherited from BaseEntity

allow_instantiation?, attr_accessor, attr_reader, attr_writer, collection_attributes, defined_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, #to_partial

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.



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

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



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

def address2
  @address2
end

#business_nameObject

Returns the value of attribute business_name.



12
13
14
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 12

def business_name
  @business_name
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#country_nameObject

Returns the value of attribute country_name.



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

def country_name
  @country_name
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#state_nameObject

Returns the value of attribute state_name.



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

def state_name
  @state_name
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/stbaldricks/entities/lib/alternate_shipping_address.rb', line 11

def type
  @type
end

#zipObject

Returns the value of attribute zip.



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

def zip
  @zip
end