Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemPromo

Inherits:
OrderLineItemBase show all
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

OrderLineItemItemPromo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil) ⇒ OrderLineItemPromo


1349
1350
1351
1352
1353
# File 'lib/channel_advisor/order_service/types.rb', line 1349

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

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType


1345
1346
1347
# File 'lib/channel_advisor/order_service/types.rb', line 1345

def lineItemType
  @lineItemType
end

#promoCodeObject

Returns the value of attribute promoCode


1347
1348
1349
# File 'lib/channel_advisor/order_service/types.rb', line 1347

def promoCode
  @promoCode
end

#unitPriceObject

Returns the value of attribute unitPrice


1346
1347
1348
# File 'lib/channel_advisor/order_service/types.rb', line 1346

def unitPrice
  @unitPrice
end