Class: ChannelAdvisor::OrderServiceSOAP::Shipment
- Inherits:
-
Object
- Object
- ChannelAdvisor::OrderServiceSOAP::Shipment
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersShipment
shippingCarrier - SOAP::SOAPString
shippingClass - SOAP::SOAPString
trackingNumber - SOAP::SOAPString
Instance Attribute Summary collapse
-
#shippingCarrier ⇒ Object
Returns the value of attribute shippingCarrier.
-
#shippingClass ⇒ Object
Returns the value of attribute shippingClass.
-
#trackingNumber ⇒ Object
Returns the value of attribute trackingNumber.
Instance Method Summary collapse
-
#initialize(shippingCarrier = nil, shippingClass = nil, trackingNumber = nil) ⇒ Shipment
constructor
A new instance of Shipment.
Constructor Details
#initialize(shippingCarrier = nil, shippingClass = nil, trackingNumber = nil) ⇒ Shipment
Returns a new instance of Shipment.
1137 1138 1139 1140 1141 |
# File 'lib/channel_advisor/order_service/types.rb', line 1137 def initialize(shippingCarrier = nil, shippingClass = nil, trackingNumber = nil) @shippingCarrier = shippingCarrier @shippingClass = shippingClass @trackingNumber = trackingNumber end |
Instance Attribute Details
#shippingCarrier ⇒ Object
Returns the value of attribute shippingCarrier.
1133 1134 1135 |
# File 'lib/channel_advisor/order_service/types.rb', line 1133 def shippingCarrier @shippingCarrier end |
#shippingClass ⇒ Object
Returns the value of attribute shippingClass.
1134 1135 1136 |
# File 'lib/channel_advisor/order_service/types.rb', line 1134 def shippingClass @shippingClass end |
#trackingNumber ⇒ Object
Returns the value of attribute trackingNumber.
1135 1136 1137 |
# File 'lib/channel_advisor/order_service/types.rb', line 1135 def trackingNumber @trackingNumber end |