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.
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
#addressLine1 ⇒ Object
Returns the value of attribute addressLine1.
627 628 629 |
# File 'lib/channel_advisor/order_service/types.rb', line 627 def addressLine1 @addressLine1 end |
#addressLine2 ⇒ Object
Returns the value of attribute addressLine2.
628 629 630 |
# File 'lib/channel_advisor/order_service/types.rb', line 628 def addressLine2 @addressLine2 end |
#city ⇒ Object
Returns the value of attribute city.
629 630 631 |
# File 'lib/channel_advisor/order_service/types.rb', line 629 def city @city end |
#countryCode ⇒ Object
Returns the value of attribute countryCode.
632 633 634 |
# File 'lib/channel_advisor/order_service/types.rb', line 632 def countryCode @countryCode end |
#postalCode ⇒ Object
Returns the value of attribute postalCode.
631 632 633 |
# File 'lib/channel_advisor/order_service/types.rb', line 631 def postalCode @postalCode end |
#region ⇒ Object
Returns the value of attribute region.
630 631 632 |
# File 'lib/channel_advisor/order_service/types.rb', line 630 def region @region end |