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


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

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


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

def addressLine1
  @addressLine1
end

#addressLine2Object

Returns the value of attribute addressLine2


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

def addressLine2
  @addressLine2
end

#cityObject

Returns the value of attribute city


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

def city
  @city
end

#countryCodeObject

Returns the value of attribute countryCode


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

def countryCode
  @countryCode
end

#postalCodeObject

Returns the value of attribute postalCode


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

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region


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

def region
  @region
end