Class: Peddler::APIs::ProductPricingV0::CompetitivePricingType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#competitive_pricesArray[Peddler::APIs::ProductPricingV0::CompetitivePriceType] (readonly)

Returns the value of attribute competitive_prices.



150
151
152
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 150

def competitive_prices
  @competitive_prices
end

#number_of_offer_listingsArray[Peddler::APIs::ProductPricingV0::OfferListingCountType] (readonly)

Returns the value of attribute number_of_offer_listings.



151
152
153
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 151

def number_of_offer_listings
  @number_of_offer_listings
end

#trade_in_valuePeddler::Money? (readonly)

Returns the value of attribute trade_in_value.

Returns:



152
153
154
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 152

def trade_in_value
  @trade_in_value
end

Class Method Details

.[](competitive_prices:, number_of_offer_listings:, trade_in_value:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePricingType .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePricingType



143
144
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 143

def self.[]: (competitive_prices: Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], number_of_offer_listings: Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], ?trade_in_value: Peddler::Money?) -> Peddler::APIs::ProductPricingV0::CompetitivePricingType
| (Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], Peddler::Money?) -> Peddler::APIs::ProductPricingV0::CompetitivePricingType

.members[ :competitive_prices, :number_of_offer_listings, :trade_in_value ]

Returns:

  • ([ :competitive_prices, :number_of_offer_listings, :trade_in_value ])


146
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 146

def self.members: () -> [ :competitive_prices, :number_of_offer_listings, :trade_in_value ]

.new(competitive_prices:, number_of_offer_listings:, trade_in_value:) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePricingType .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricingV0::CompetitivePricingType



141
142
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 141

def self.new: (competitive_prices: Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], number_of_offer_listings: Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], ?trade_in_value: Peddler::Money?) -> Peddler::APIs::ProductPricingV0::CompetitivePricingType
| (Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], Peddler::Money?) -> Peddler::APIs::ProductPricingV0::CompetitivePricingType

.parsePeddler::APIs::ProductPricingV0::CompetitivePricingType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



148
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 148

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricingV0::CompetitivePricingType

Instance Method Details

#members[ :competitive_prices, :number_of_offer_listings, :trade_in_value ]

Returns:

  • ([ :competitive_prices, :number_of_offer_listings, :trade_in_value ])


154
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 154

def members: () -> [ :competitive_prices, :number_of_offer_listings, :trade_in_value ]

#to_h{ competitive_prices: Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], number_of_offer_listings: Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], trade_in_value: Peddler::Money? }

Returns:



155
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 155

def to_h: () -> { competitive_prices: Array[Peddler::APIs::ProductPricingV0::CompetitivePriceType], number_of_offer_listings: Array[Peddler::APIs::ProductPricingV0::OfferListingCountType], trade_in_value: Peddler::Money? }