Class: ChannelAdvisor::ShippingServiceSOAP::OrderShipment

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

Overview

http://api.channeladvisor.com/webservices/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



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

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



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

def clientOrderIdentifier
  @clientOrderIdentifier
end

#fullShipmentObject

Returns the value of attribute fullShipment



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

def fullShipment
  @fullShipment
end

#orderIdObject

Returns the value of attribute orderId



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

def orderId
  @orderId
end

#partialShipmentObject

Returns the value of attribute partialShipment



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

def partialShipment
  @partialShipment
end

#shipmentTypeObject

Returns the value of attribute shipmentType



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

def shipmentType
  @shipmentType
end