Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemItemResponse

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

Overview

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

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
unitWeight - ChannelAdvisor::OrderServiceSOAP::ItemWeight
warehouseLocation - SOAP::SOAPString

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, unitWeight = nil, warehouseLocation = nil) ⇒ OrderLineItemItemResponse

Returns a new instance of OrderLineItemItemResponse.



1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
# File 'lib/channel_advisor/order_service/types.rb', line 1048

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, unitWeight = nil, warehouseLocation = 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
  @unitWeight = unitWeight
  @warehouseLocation = warehouseLocation
end

Instance Attribute Details

#allowNegativeQuantityObject

Returns the value of attribute allowNegativeQuantity.



1036
1037
1038
# File 'lib/channel_advisor/order_service/types.rb', line 1036

def allowNegativeQuantity
  @allowNegativeQuantity
end

#buyerFeedbackRatingObject

Returns the value of attribute buyerFeedbackRating.



1042
1043
1044
# File 'lib/channel_advisor/order_service/types.rb', line 1042

def buyerFeedbackRating
  @buyerFeedbackRating
end

#buyerUserIDObject

Returns the value of attribute buyerUserID.



1041
1042
1043
# File 'lib/channel_advisor/order_service/types.rb', line 1041

def buyerUserID
  @buyerUserID
end

#itemSaleSourceObject

Returns the value of attribute itemSaleSource.



1038
1039
1040
# File 'lib/channel_advisor/order_service/types.rb', line 1038

def itemSaleSource
  @itemSaleSource
end

#lineItemIDObject

Returns the value of attribute lineItemID.



1035
1036
1037
# File 'lib/channel_advisor/order_service/types.rb', line 1035

def lineItemID
  @lineItemID
end

#lineItemTypeObject

Returns the value of attribute lineItemType.



1033
1034
1035
# File 'lib/channel_advisor/order_service/types.rb', line 1033

def lineItemType
  @lineItemType
end

#quantityObject

Returns the value of attribute quantity.



1037
1038
1039
# File 'lib/channel_advisor/order_service/types.rb', line 1037

def quantity
  @quantity
end

#salesSourceIDObject

Returns the value of attribute salesSourceID.



1043
1044
1045
# File 'lib/channel_advisor/order_service/types.rb', line 1043

def salesSourceID
  @salesSourceID
end

#sKUObject

Returns the value of attribute sKU.



1039
1040
1041
# File 'lib/channel_advisor/order_service/types.rb', line 1039

def sKU
  @sKU
end

#titleObject

Returns the value of attribute title.



1040
1041
1042
# File 'lib/channel_advisor/order_service/types.rb', line 1040

def title
  @title
end

#unitPriceObject

Returns the value of attribute unitPrice.



1034
1035
1036
# File 'lib/channel_advisor/order_service/types.rb', line 1034

def unitPrice
  @unitPrice
end

#unitWeightObject

Returns the value of attribute unitWeight.



1045
1046
1047
# File 'lib/channel_advisor/order_service/types.rb', line 1045

def unitWeight
  @unitWeight
end

#vATRateObject

Returns the value of attribute vATRate.



1044
1045
1046
# File 'lib/channel_advisor/order_service/types.rb', line 1044

def vATRate
  @vATRate
end

#warehouseLocationObject

Returns the value of attribute warehouseLocation.



1046
1047
1048
# File 'lib/channel_advisor/order_service/types.rb', line 1046

def warehouseLocation
  @warehouseLocation
end