Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemBase
- Inherits:
-
Object
- Object
- ChannelAdvisor::OrderServiceSOAP::OrderLineItemBase
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersOrderLineItemBase abstract
lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
unitPrice - SOAP::SOAPDecimal
Direct Known Subclasses
Instance Attribute Summary collapse
-
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
-
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
Instance Method Summary collapse
-
#initialize(lineItemType = nil, unitPrice = nil) ⇒ OrderLineItemBase
constructor
A new instance of OrderLineItemBase.
Constructor Details
#initialize(lineItemType = nil, unitPrice = nil) ⇒ OrderLineItemBase
Returns a new instance of OrderLineItemBase.
1187 1188 1189 1190 |
# File 'lib/channel_advisor/order_service/types.rb', line 1187 def initialize(lineItemType = nil, unitPrice = nil) @lineItemType = lineItemType @unitPrice = unitPrice end |
Instance Attribute Details
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
1184 1185 1186 |
# File 'lib/channel_advisor/order_service/types.rb', line 1184 def lineItemType @lineItemType end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
1185 1186 1187 |
# File 'lib/channel_advisor/order_service/types.rb', line 1185 def unitPrice @unitPrice end |