Class: ChannelAdvisor::ShippingServiceSOAP::OrderShipment

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/shipping_service/types.rb

Overview

/OrderShipment

orderId - SOAP::SOAPInt
clientOrderIdentifier - SOAP::SOAPString
shipmentType - ChannelAdvisor::ShippingServiceSOAP::ShipmentTypeEnum
partialShipment - ChannelAdvisor::ShippingServiceSOAP::PartialShipmentContents
fullShipment - ChannelAdvisor::ShippingServiceSOAP::FullShipmentContents

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderId = nil, clientOrderIdentifier = nil, shipmentType = nil, partialShipment = nil, fullShipment = nil) ⇒ OrderShipment

Returns a new instance of OrderShipment.



170
171
172
173
174
175
176
# File 'lib/channel_advisor/shipping_service/types.rb', line 170

def initialize(orderId = nil, clientOrderIdentifier = nil, shipmentType = nil, partialShipment = nil, fullShipment = nil)
  @orderId = orderId
  @clientOrderIdentifier = clientOrderIdentifier
  @shipmentType = shipmentType
  @partialShipment = partialShipment
  @fullShipment = fullShipment
end

Instance Attribute Details

#clientOrderIdentifierObject

Returns the value of attribute clientOrderIdentifier.



165
166
167
# File 'lib/channel_advisor/shipping_service/types.rb', line 165

def clientOrderIdentifier
  @clientOrderIdentifier
end

#fullShipmentObject

Returns the value of attribute fullShipment.



168
169
170
# File 'lib/channel_advisor/shipping_service/types.rb', line 168

def fullShipment
  @fullShipment
end

#orderIdObject

Returns the value of attribute orderId.



164
165
166
# File 'lib/channel_advisor/shipping_service/types.rb', line 164

def orderId
  @orderId
end

#partialShipmentObject

Returns the value of attribute partialShipment.



167
168
169
# File 'lib/channel_advisor/shipping_service/types.rb', line 167

def partialShipment
  @partialShipment
end

#shipmentTypeObject

Returns the value of attribute shipmentType.



166
167
168
# File 'lib/channel_advisor/shipping_service/types.rb', line 166

def shipmentType
  @shipmentType
end