Class: ChannelAdvisor::OrderServiceSOAP::Shipment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#shippingCarrierObject

Returns the value of attribute shippingCarrier.



1133
1134
1135
# File 'lib/channel_advisor/order_service/types.rb', line 1133

def shippingCarrier
  @shippingCarrier
end

#shippingClassObject

Returns the value of attribute shippingClass.



1134
1135
1136
# File 'lib/channel_advisor/order_service/types.rb', line 1134

def shippingClass
  @shippingClass
end

#trackingNumberObject

Returns the value of attribute trackingNumber.



1135
1136
1137
# File 'lib/channel_advisor/order_service/types.rb', line 1135

def trackingNumber
  @trackingNumber
end