Class: ChannelAdvisor::InventoryServiceSOAP::PriceInfo

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

Overview

http://api.channeladvisor.com/webservices/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


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

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


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

def cost
  @cost
end

#reservePriceObject

Returns the value of attribute reservePrice


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

def reservePrice
  @reservePrice
end

#retailPriceObject

Returns the value of attribute retailPrice


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

def retailPrice
  @retailPrice
end

#secondChanceOfferPriceObject

Returns the value of attribute secondChanceOfferPrice


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

def secondChanceOfferPrice
  @secondChanceOfferPrice
end

#startingPriceObject

Returns the value of attribute startingPrice


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

def startingPrice
  @startingPrice
end

#storePriceObject

Returns the value of attribute storePrice


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

def storePrice
  @storePrice
end

#takeItPriceObject

Returns the value of attribute takeItPrice


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

def takeItPrice
  @takeItPrice
end