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



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

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

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType



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

def lineItemType
  @lineItemType
end

#unitPriceObject

Returns the value of attribute unitPrice



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

def unitPrice
  @unitPrice
end