Class: ChannelAdvisor::OrderServiceSOAP::AddressInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/order_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersAddressInfo

addressLine1 - SOAP::SOAPString
addressLine2 - SOAP::SOAPString
city - SOAP::SOAPString
region - SOAP::SOAPString
postalCode - SOAP::SOAPString
countryCode - SOAP::SOAPString

Direct Known Subclasses

ContactComplete

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil) ⇒ AddressInfo

Returns a new instance of AddressInfo.



850
851
852
853
854
855
856
857
# File 'lib/channel_advisor/order_service/types.rb', line 850

def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil)
  @addressLine1 = addressLine1
  @addressLine2 = addressLine2
  @city = city
  @region = region
  @postalCode = postalCode
  @countryCode = countryCode
end

Instance Attribute Details

#addressLine1Object

Returns the value of attribute addressLine1.



843
844
845
# File 'lib/channel_advisor/order_service/types.rb', line 843

def addressLine1
  @addressLine1
end

#addressLine2Object

Returns the value of attribute addressLine2.



844
845
846
# File 'lib/channel_advisor/order_service/types.rb', line 844

def addressLine2
  @addressLine2
end

#cityObject

Returns the value of attribute city.



845
846
847
# File 'lib/channel_advisor/order_service/types.rb', line 845

def city
  @city
end

#countryCodeObject

Returns the value of attribute countryCode.



848
849
850
# File 'lib/channel_advisor/order_service/types.rb', line 848

def countryCode
  @countryCode
end

#postalCodeObject

Returns the value of attribute postalCode.



847
848
849
# File 'lib/channel_advisor/order_service/types.rb', line 847

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region.



846
847
848
# File 'lib/channel_advisor/order_service/types.rb', line 846

def region
  @region
end