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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

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

#lineItemTypeObject

Returns the value of attribute lineItemType



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

def lineItemType
  @lineItemType
end

#unitPriceObject

Returns the value of attribute unitPrice



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

def unitPrice
  @unitPrice
end