Class: Orderspace::Structs::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/orderspace/struct/address.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def city
  @city
end

#company_nameObject

Returns the value of attribute company_name

Returns:

  • (Object)

    the current value of company_name



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def company_name
  @company_name
end

#contact_nameObject

Returns the value of attribute contact_name

Returns:

  • (Object)

    the current value of contact_name



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def contact_name
  @contact_name
end

#countryObject

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def country
  @country
end

#line1Object

Returns the value of attribute line1

Returns:

  • (Object)

    the current value of line1



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def line1
  @line1
end

#line2Object

Returns the value of attribute line2

Returns:

  • (Object)

    the current value of line2



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def line2
  @line2
end

#postal_codeObject

Returns the value of attribute postal_code

Returns:

  • (Object)

    the current value of postal_code



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def postal_code
  @postal_code
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



8
9
10
# File 'lib/orderspace/struct/address.rb', line 8

def state
  @state
end