Class: ChannelAdvisor::InventoryServiceSOAP::PriceInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/inventory_service/types.rb

Overview

/PriceInfo

cost - SOAP::SOAPDecimal
retailPrice - SOAP::SOAPDecimal
startingPrice - SOAP::SOAPDecimal
reservePrice - SOAP::SOAPDecimal
takeItPrice - SOAP::SOAPDecimal
secondChanceOfferPrice - SOAP::SOAPDecimal
storePrice - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cost = nil, retailPrice = nil, startingPrice = nil, reservePrice = nil, takeItPrice = nil, secondChanceOfferPrice = nil, storePrice = nil) ⇒ PriceInfo

Returns a new instance of PriceInfo.



293
294
295
296
297
298
299
300
301
# File 'lib/channel_advisor/inventory_service/types.rb', line 293

def initialize(cost = nil, retailPrice = nil, startingPrice = nil, reservePrice = nil, takeItPrice = nil, secondChanceOfferPrice = nil, storePrice = nil)
  @cost = cost
  @retailPrice = retailPrice
  @startingPrice = startingPrice
  @reservePrice = reservePrice
  @takeItPrice = takeItPrice
  @secondChanceOfferPrice = secondChanceOfferPrice
  @storePrice = storePrice
end

Instance Attribute Details

#costObject

Returns the value of attribute cost.



285
286
287
# File 'lib/channel_advisor/inventory_service/types.rb', line 285

def cost
  @cost
end

#reservePriceObject

Returns the value of attribute reservePrice.



288
289
290
# File 'lib/channel_advisor/inventory_service/types.rb', line 288

def reservePrice
  @reservePrice
end

#retailPriceObject

Returns the value of attribute retailPrice.



286
287
288
# File 'lib/channel_advisor/inventory_service/types.rb', line 286

def retailPrice
  @retailPrice
end

#secondChanceOfferPriceObject

Returns the value of attribute secondChanceOfferPrice.



290
291
292
# File 'lib/channel_advisor/inventory_service/types.rb', line 290

def secondChanceOfferPrice
  @secondChanceOfferPrice
end

#startingPriceObject

Returns the value of attribute startingPrice.



287
288
289
# File 'lib/channel_advisor/inventory_service/types.rb', line 287

def startingPrice
  @startingPrice
end

#storePriceObject

Returns the value of attribute storePrice.



291
292
293
# File 'lib/channel_advisor/inventory_service/types.rb', line 291

def storePrice
  @storePrice
end

#takeItPriceObject

Returns the value of attribute takeItPrice.



289
290
291
# File 'lib/channel_advisor/inventory_service/types.rb', line 289

def takeItPrice
  @takeItPrice
end