Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemBase

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

Overview

http://api.channeladvisor.com/datacontracts/ordersOrderLineItemBase abstract

lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
unitPrice - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineItemType = nil, unitPrice = nil) ⇒ OrderLineItemBase

Returns a new instance of OrderLineItemBase.



1187
1188
1189
1190
# File 'lib/channel_advisor/order_service/types.rb', line 1187

def initialize(lineItemType = nil, unitPrice = nil)
  @lineItemType = lineItemType
  @unitPrice = unitPrice
end

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType.



1184
1185
1186
# File 'lib/channel_advisor/order_service/types.rb', line 1184

def lineItemType
  @lineItemType
end

#unitPriceObject

Returns the value of attribute unitPrice.



1185
1186
1187
# File 'lib/channel_advisor/order_service/types.rb', line 1185

def unitPrice
  @unitPrice
end