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.



634
635
636
637
638
639
640
641
# File 'lib/channel_advisor/order_service/types.rb', line 634

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.



627
628
629
# File 'lib/channel_advisor/order_service/types.rb', line 627

def addressLine1
  @addressLine1
end

#addressLine2Object

Returns the value of attribute addressLine2.



628
629
630
# File 'lib/channel_advisor/order_service/types.rb', line 628

def addressLine2
  @addressLine2
end

#cityObject

Returns the value of attribute city.



629
630
631
# File 'lib/channel_advisor/order_service/types.rb', line 629

def city
  @city
end

#countryCodeObject

Returns the value of attribute countryCode.



632
633
634
# File 'lib/channel_advisor/order_service/types.rb', line 632

def countryCode
  @countryCode
end

#postalCodeObject

Returns the value of attribute postalCode.



631
632
633
# File 'lib/channel_advisor/order_service/types.rb', line 631

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region.



630
631
632
# File 'lib/channel_advisor/order_service/types.rb', line 630

def region
  @region
end