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.



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

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

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType.



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

def lineItemType
  @lineItemType
end

#unitPriceObject

Returns the value of attribute unitPrice.



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

def unitPrice
  @unitPrice
end