Class: ChannelAdvisor::OrderServiceSOAP::OrderCart

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

Overview

http://api.channeladvisor.com/datacontracts/ordersOrderCart

cartID - SOAP::SOAPInt
checkoutSource - ChannelAdvisor::OrderServiceSOAP::CheckoutSourceType
vATTaxCalculationOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
vATShippingOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
vATGiftWrapOption - ChannelAdvisor::OrderServiceSOAP::VAT_Calculation_Type
lineItemSKUList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemItem
lineItemInvoiceList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemInvoice
lineItemPromoList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemPromo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cartID = nil, checkoutSource = nil, vATTaxCalculationOption = nil, vATShippingOption = nil, vATGiftWrapOption = nil, lineItemSKUList = nil, lineItemInvoiceList = nil, lineItemPromoList = nil) ⇒ OrderCart


1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
# File 'lib/channel_advisor/order_service/types.rb', line 1164

def initialize(cartID = nil, checkoutSource = nil, vATTaxCalculationOption = nil, vATShippingOption = nil, vATGiftWrapOption = nil, lineItemSKUList = nil, lineItemInvoiceList = nil, lineItemPromoList = nil)
  @cartID = cartID
  @checkoutSource = checkoutSource
  @vATTaxCalculationOption = vATTaxCalculationOption
  @vATShippingOption = vATShippingOption
  @vATGiftWrapOption = vATGiftWrapOption
  @lineItemSKUList = lineItemSKUList
  @lineItemInvoiceList = lineItemInvoiceList
  @lineItemPromoList = lineItemPromoList
end

Instance Attribute Details

#cartIDObject

Returns the value of attribute cartID


1155
1156
1157
# File 'lib/channel_advisor/order_service/types.rb', line 1155

def cartID
  @cartID
end

#checkoutSourceObject

Returns the value of attribute checkoutSource


1156
1157
1158
# File 'lib/channel_advisor/order_service/types.rb', line 1156

def checkoutSource
  @checkoutSource
end

#lineItemInvoiceListObject

Returns the value of attribute lineItemInvoiceList


1161
1162
1163
# File 'lib/channel_advisor/order_service/types.rb', line 1161

def lineItemInvoiceList
  @lineItemInvoiceList
end

#lineItemPromoListObject

Returns the value of attribute lineItemPromoList


1162
1163
1164
# File 'lib/channel_advisor/order_service/types.rb', line 1162

def lineItemPromoList
  @lineItemPromoList
end

#lineItemSKUListObject

Returns the value of attribute lineItemSKUList


1160
1161
1162
# File 'lib/channel_advisor/order_service/types.rb', line 1160

def lineItemSKUList
  @lineItemSKUList
end

#vATGiftWrapOptionObject

Returns the value of attribute vATGiftWrapOption


1159
1160
1161
# File 'lib/channel_advisor/order_service/types.rb', line 1159

def vATGiftWrapOption
  @vATGiftWrapOption
end

#vATShippingOptionObject

Returns the value of attribute vATShippingOption


1158
1159
1160
# File 'lib/channel_advisor/order_service/types.rb', line 1158

def vATShippingOption
  @vATShippingOption
end

#vATTaxCalculationOptionObject

Returns the value of attribute vATTaxCalculationOption


1157
1158
1159
# File 'lib/channel_advisor/order_service/types.rb', line 1157

def vATTaxCalculationOption
  @vATTaxCalculationOption
end