Class: ChannelAdvisor::OrderServiceSOAP::AddressInfo
- Inherits:
-
Object
- Object
- ChannelAdvisor::OrderServiceSOAP::AddressInfo
- 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
Instance Attribute Summary collapse
-
#addressLine1 ⇒ Object
Returns the value of attribute addressLine1.
-
#addressLine2 ⇒ Object
Returns the value of attribute addressLine2.
-
#city ⇒ Object
Returns the value of attribute city.
-
#countryCode ⇒ Object
Returns the value of attribute countryCode.
-
#postalCode ⇒ Object
Returns the value of attribute postalCode.
-
#region ⇒ Object
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize(addressLine1 = nil, addressLine2 = nil, city = nil, region = nil, postalCode = nil, countryCode = nil) ⇒ AddressInfo
constructor
A new instance of AddressInfo.
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
#addressLine1 ⇒ Object
Returns the value of attribute addressLine1.
843 844 845 |
# File 'lib/channel_advisor/order_service/types.rb', line 843 def addressLine1 @addressLine1 end |
#addressLine2 ⇒ Object
Returns the value of attribute addressLine2.
844 845 846 |
# File 'lib/channel_advisor/order_service/types.rb', line 844 def addressLine2 @addressLine2 end |
#city ⇒ Object
Returns the value of attribute city.
845 846 847 |
# File 'lib/channel_advisor/order_service/types.rb', line 845 def city @city end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
848 849 850 |
# File 'lib/channel_advisor/order_service/types.rb', line 848 def countryCode @countryCode end |
#postalCode ⇒ Object
Returns the value of attribute postalCode.
847 848 849 |
# File 'lib/channel_advisor/order_service/types.rb', line 847 def postalCode @postalCode end |
#region ⇒ Object
Returns the value of attribute region.
846 847 848 |
# File 'lib/channel_advisor/order_service/types.rb', line 846 def region @region end |