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


1138
1139
1140
1141
1142
# File 'lib/channel_advisor/order_service/types.rb', line 1138

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


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

def shippingCarrier
  @shippingCarrier
end

#shippingClassObject

Returns the value of attribute shippingClass


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

def shippingClass
  @shippingClass
end

#trackingNumberObject

Returns the value of attribute trackingNumber


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

def trackingNumber
  @trackingNumber
end