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 - SOAP::SOAPString
unitPrice - SOAP::SOAPDecimal

Direct Known Subclasses

OrderLineItemInvoice, OrderLineItemItem, OrderLineItemPromo

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (OrderLineItemBase) initialize(lineItemType = nil, unitPrice = nil)

Returns a new instance of OrderLineItemBase



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

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

Instance Attribute Details

- (Object) lineItemType

Returns the value of attribute lineItemType



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

def lineItemType
  @lineItemType
end

- (Object) unitPrice

Returns the value of attribute unitPrice



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

def unitPrice
  @unitPrice
end