Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemItemPromo
- Inherits:
-
OrderLineItemPromo
- Object
- OrderLineItemBase
- OrderLineItemPromo
- ChannelAdvisor::OrderServiceSOAP::OrderLineItemItemPromo
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersOrderLineItemItemPromo
lineItemType - ChannelAdvisor::OrderServiceSOAP::LineItemTypeCode
unitPrice - SOAP::SOAPDecimal
promoCode - SOAP::SOAPString
shippingPrice - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
-
#promoCode ⇒ Object
Returns the value of attribute promoCode.
-
#shippingPrice ⇒ Object
Returns the value of attribute shippingPrice.
-
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
Instance Method Summary collapse
-
#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil, shippingPrice = nil) ⇒ OrderLineItemItemPromo
constructor
A new instance of OrderLineItemItemPromo.
Constructor Details
#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil, shippingPrice = nil) ⇒ OrderLineItemItemPromo
Returns a new instance of OrderLineItemItemPromo.
1366 1367 1368 1369 1370 1371 |
# File 'lib/channel_advisor/order_service/types.rb', line 1366 def initialize(lineItemType = nil, unitPrice = nil, promoCode = nil, shippingPrice = nil) @lineItemType = lineItemType @unitPrice = unitPrice @promoCode = promoCode @shippingPrice = shippingPrice end |
Instance Attribute Details
#lineItemType ⇒ Object
Returns the value of attribute lineItemType.
1361 1362 1363 |
# File 'lib/channel_advisor/order_service/types.rb', line 1361 def lineItemType @lineItemType end |
#promoCode ⇒ Object
Returns the value of attribute promoCode.
1363 1364 1365 |
# File 'lib/channel_advisor/order_service/types.rb', line 1363 def promoCode @promoCode end |
#shippingPrice ⇒ Object
Returns the value of attribute shippingPrice.
1364 1365 1366 |
# File 'lib/channel_advisor/order_service/types.rb', line 1364 def shippingPrice @shippingPrice end |
#unitPrice ⇒ Object
Returns the value of attribute unitPrice.
1362 1363 1364 |
# File 'lib/channel_advisor/order_service/types.rb', line 1362 def unitPrice @unitPrice end |