Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo
- Inherits:
-
OrderLineItemBase
- Object
- OrderLineItemBase
- ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersOrderLineItemPromo
lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
unitPrice - SOAP::SOAPDecimal
promoCode - SOAP::SOAPString
Direct Known Subclasses
Instance Attribute Summary collapse
-
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
-
#promoCode ⇒ Object
Returns the value of attribute promoCode.
-
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
Instance Method Summary collapse
-
#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil) ⇒ OrderLineItemPromo
constructor
A new instance of OrderLineItemPromo.
Constructor Details
#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil) ⇒ OrderLineItemPromo
Returns a new instance of OrderLineItemPromo.
1348 1349 1350 1351 1352 |
# File 'lib/channel_advisor/order_service/types.rb', line 1348 def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil) @lineItemType = lineItemType @unitPrice = unitPrice @promoCode = promoCode end |
Instance Attribute Details
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
1344 1345 1346 |
# File 'lib/channel_advisor/order_service/types.rb', line 1344 def lineItemType @lineItemType end |
#promoCode ⇒ Object
Returns the value of attribute promoCode.
1346 1347 1348 |
# File 'lib/channel_advisor/order_service/types.rb', line 1346 def promoCode @promoCode end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
1345 1346 1347 |
# File 'lib/channel_advisor/order_service/types.rb', line 1345 def unitPrice @unitPrice end |