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

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) ⇒ OrderLineItemItem

Returns a new instance of OrderLineItemItem.



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
# File 'lib/channel_advisor/order_service/types.rb', line 1001

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)
  @lineItemType = lineItemType
  @unitPrice = unitPrice
  @lineItemID = lineItemID
  @allowNegativeQuantity = allowNegativeQuantity
  @quantity = quantity
  @itemSaleSource = itemSaleSource
  @sKU = sKU
  @title = title
  @buyerUserID = buyerUserID
  @buyerFeedbackRating = buyerFeedbackRating
  @salesSourceID = salesSourceID
  @vATRate = vATRate
end

Instance Attribute Details

#allowNegativeQuantityObject

Returns the value of attribute allowNegativeQuantity.



991
992
993
# File 'lib/channel_advisor/order_service/types.rb', line 991

def allowNegativeQuantity
  @allowNegativeQuantity
end

#buyerFeedbackRatingObject

Returns the value of attribute buyerFeedbackRating.



997
998
999
# File 'lib/channel_advisor/order_service/types.rb', line 997

def buyerFeedbackRating
  @buyerFeedbackRating
end

#buyerUserIDObject

Returns the value of attribute buyerUserID.



996
997
998
# File 'lib/channel_advisor/order_service/types.rb', line 996

def buyerUserID
  @buyerUserID
end

#itemSaleSourceObject

Returns the value of attribute itemSaleSource.



993
994
995
# File 'lib/channel_advisor/order_service/types.rb', line 993

def itemSaleSource
  @itemSaleSource
end

#lineItemIDObject

Returns the value of attribute lineItemID.



990
991
992
# File 'lib/channel_advisor/order_service/types.rb', line 990

def lineItemID
  @lineItemID
end

#lineItemTypeObject

Returns the value of attribute lineItemType.



988
989
990
# File 'lib/channel_advisor/order_service/types.rb', line 988

def lineItemType
  @lineItemType
end

#quantityObject

Returns the value of attribute quantity.



992
993
994
# File 'lib/channel_advisor/order_service/types.rb', line 992

def quantity
  @quantity
end

#salesSourceIDObject

Returns the value of attribute salesSourceID.



998
999
1000
# File 'lib/channel_advisor/order_service/types.rb', line 998

def salesSourceID
  @salesSourceID
end

#sKUObject

Returns the value of attribute sKU.



994
995
996
# File 'lib/channel_advisor/order_service/types.rb', line 994

def sKU
  @sKU
end

#titleObject

Returns the value of attribute title.



995
996
997
# File 'lib/channel_advisor/order_service/types.rb', line 995

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice.



989
990
991
# File 'lib/channel_advisor/order_service/types.rb', line 989

def unitPrice
  @unitPrice
end

#vATRateObject

Returns the value of attribute vATRate.



999
1000
1001
# File 'lib/channel_advisor/order_service/types.rb', line 999

def vATRate
  @vATRate
end