Class: ChannelAdvisor::OrderServiceSOAP::OrderLineItemItemPromo

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

Instance Method Summary collapse

Constructor Details

#initialize(lineItemType = nil, unitPrice = nil, promoCode = nil, shippingPrice = nil) ⇒ OrderLineItemItemPromo


1367
1368
1369
1370
1371
1372
# File 'lib/channel_advisor/order_service/types.rb', line 1367

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

Instance Attribute Details

#lineItemTypeObject

Returns the value of attribute lineItemType


1362
1363
1364
# File 'lib/channel_advisor/order_service/types.rb', line 1362

def lineItemType
  @lineItemType
end

#promoCodeObject

Returns the value of attribute promoCode


1364
1365
1366
# File 'lib/channel_advisor/order_service/types.rb', line 1364

def promoCode
  @promoCode
end

#shippingPriceObject

Returns the value of attribute shippingPrice


1365
1366
1367
# File 'lib/channel_advisor/order_service/types.rb', line 1365

def shippingPrice
  @shippingPrice
end

#unitPriceObject

Returns the value of attribute unitPrice


1363
1364
1365
# File 'lib/channel_advisor/order_service/types.rb', line 1363

def unitPrice
  @unitPrice
end