Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemInvoice

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

Overview

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of OrderLineItemInvoice



1382
1383
1384
1385
# File 'lib/channel_advisor/order_service/types.rb', line 1382

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

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType



1379
1380
1381
# File 'lib/channel_advisor/order_service/types.rb', line 1379

def lineItemType
  @lineItemType
end

#unitPriceObject

Returns the value of attribute unitPrice



1380
1381
1382
# File 'lib/channel_advisor/order_service/types.rb', line 1380

def unitPrice
  @unitPrice
end