Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemItem

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

Overview

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

lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
unitPrice - SOAP::SOAPDecimal
lineItemID - SOAP::SOAPInt
allowNegativeQuantity - SOAP::SOAPBoolean
quantity - SOAP::SOAPInt
itemSaleSource - ChannelAdvisor::OrderServiceSOAP::SiteToken
sKU - SOAP::SOAPString
title - SOAP::SOAPString
buyerUserID - SOAP::SOAPString
buyerFeedbackRating - SOAP::SOAPInt
salesSourceID - SOAP::SOAPString
vATRate - SOAP::SOAPDecimal
taxCost - SOAP::SOAPDecimal
shippingCost - SOAP::SOAPDecimal
shippingTaxCost - SOAP::SOAPDecimal
giftWrapCost - SOAP::SOAPDecimal
giftWrapTaxCost - SOAP::SOAPDecimal
giftMessage - SOAP::SOAPString
giftWrapLevel - SOAP::SOAPString
itemPromoList - ChannelAdvisor::OrderServiceSOAP::ArrayOfOrderLineItemItemPromo

Direct Known Subclasses

OrderLineItemItemResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineItemType = nil, unitPrice = nil, lineItemID = nil, allowNegativeQuantity = nil, quantity = nil, itemSaleSource = nil, sKU = nil, title = nil, buyerUserID = nil, buyerFeedbackRating = nil, salesSourceID = nil, vATRate = nil, taxCost = nil, shippingCost = nil, shippingTaxCost = nil, giftWrapCost = nil, giftWrapTaxCost = nil, giftMessage = nil, giftWrapLevel = nil, itemPromoList = nil) ⇒ OrderLineItemItem

Returns a new instance of OrderLineItemItem.



1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
# File 'lib/channel_advisor/order_service/types.rb', line 1236

def initialize(lineItemType = nil, unitPrice = nil, lineItemID = nil, allowNegativeQuantity = nil, quantity = nil, itemSaleSource = nil, sKU = nil, title = nil, buyerUserID = nil, buyerFeedbackRating = nil, salesSourceID = nil, vATRate = nil, taxCost = nil, shippingCost = nil, shippingTaxCost = nil, giftWrapCost = nil, giftWrapTaxCost = nil, giftMessage = nil, giftWrapLevel = nil, itemPromoList = nil)
  @lineItemType = lineItemType
  @unitPrice = unitPrice
  @lineItemID = lineItemID
  @allowNegativeQuantity = allowNegativeQuantity
  @quantity = quantity
  @itemSaleSource = itemSaleSource
  @sKU = sKU
  @title = title
  @buyerUserID = buyerUserID
  @buyerFeedbackRating = buyerFeedbackRating
  @salesSourceID = salesSourceID
  @vATRate = vATRate
  @taxCost = taxCost
  @shippingCost = shippingCost
  @shippingTaxCost = shippingTaxCost
  @giftWrapCost = giftWrapCost
  @giftWrapTaxCost = giftWrapTaxCost
  @giftMessage = giftMessage
  @giftWrapLevel = giftWrapLevel
  @itemPromoList = itemPromoList
end

Instance Attribute Details

#allowNegativeQuantityObject

Returns the value of attribute allowNegativeQuantity.



1218
1219
1220
# File 'lib/channel_advisor/order_service/types.rb', line 1218

def allowNegativeQuantity
  @allowNegativeQuantity
end

#buyerFeedbackRatingObject

Returns the value of attribute buyerFeedbackRating.



1224
1225
1226
# File 'lib/channel_advisor/order_service/types.rb', line 1224

def buyerFeedbackRating
  @buyerFeedbackRating
end

#buyerUserIDObject

Returns the value of attribute buyerUserID.



1223
1224
1225
# File 'lib/channel_advisor/order_service/types.rb', line 1223

def buyerUserID
  @buyerUserID
end

#giftMessageObject

Returns the value of attribute giftMessage.



1232
1233
1234
# File 'lib/channel_advisor/order_service/types.rb', line 1232

def giftMessage
  @giftMessage
end

#giftWrapCostObject

Returns the value of attribute giftWrapCost.



1230
1231
1232
# File 'lib/channel_advisor/order_service/types.rb', line 1230

def giftWrapCost
  @giftWrapCost
end

#giftWrapLevelObject

Returns the value of attribute giftWrapLevel.



1233
1234
1235
# File 'lib/channel_advisor/order_service/types.rb', line 1233

def giftWrapLevel
  @giftWrapLevel
end

#giftWrapTaxCostObject

Returns the value of attribute giftWrapTaxCost.



1231
1232
1233
# File 'lib/channel_advisor/order_service/types.rb', line 1231

def giftWrapTaxCost
  @giftWrapTaxCost
end

#itemPromoListObject

Returns the value of attribute itemPromoList.



1234
1235
1236
# File 'lib/channel_advisor/order_service/types.rb', line 1234

def itemPromoList
  @itemPromoList
end

#itemSaleSourceObject

Returns the value of attribute itemSaleSource.



1220
1221
1222
# File 'lib/channel_advisor/order_service/types.rb', line 1220

def itemSaleSource
  @itemSaleSource
end

#lineItemIDObject

Returns the value of attribute lineItemID.



1217
1218
1219
# File 'lib/channel_advisor/order_service/types.rb', line 1217

def lineItemID
  @lineItemID
end

#lineItemTypeObject

Returns the value of attribute lineItemType.



1215
1216
1217
# File 'lib/channel_advisor/order_service/types.rb', line 1215

def lineItemType
  @lineItemType
end

#quantityObject

Returns the value of attribute quantity.



1219
1220
1221
# File 'lib/channel_advisor/order_service/types.rb', line 1219

def quantity
  @quantity
end

#salesSourceIDObject

Returns the value of attribute salesSourceID.



1225
1226
1227
# File 'lib/channel_advisor/order_service/types.rb', line 1225

def salesSourceID
  @salesSourceID
end

#shippingCostObject

Returns the value of attribute shippingCost.



1228
1229
1230
# File 'lib/channel_advisor/order_service/types.rb', line 1228

def shippingCost
  @shippingCost
end

#shippingTaxCostObject

Returns the value of attribute shippingTaxCost.



1229
1230
1231
# File 'lib/channel_advisor/order_service/types.rb', line 1229

def shippingTaxCost
  @shippingTaxCost
end

#sKUObject

Returns the value of attribute sKU.



1221
1222
1223
# File 'lib/channel_advisor/order_service/types.rb', line 1221

def sKU
  @sKU
end

#taxCostObject

Returns the value of attribute taxCost.



1227
1228
1229
# File 'lib/channel_advisor/order_service/types.rb', line 1227

def taxCost
  @taxCost
end

#titleObject

Returns the value of attribute title.



1222
1223
1224
# File 'lib/channel_advisor/order_service/types.rb', line 1222

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice.



1216
1217
1218
# File 'lib/channel_advisor/order_service/types.rb', line 1216

def unitPrice
  @unitPrice
end

#vATRateObject

Returns the value of attribute vATRate.



1226
1227
1228
# File 'lib/channel_advisor/order_service/types.rb', line 1226

def vATRate
  @vATRate
end