Class: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


266
267
268
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 266

def marketplace_id
  @marketplace_id
end

#segmentPeddler::APIs::ProductPricing20220501::Segment? (readonly)

Returns the value of attribute segment.



267
268
269
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 267

def segment
  @segment
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


268
269
270
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 268

def sku
  @sku
end

Class Method Details

.[](marketplace_id:, sku:, segment:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams



259
260
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 259

def self.[]: (marketplace_id: String, sku: String, ?segment: Peddler::APIs::ProductPricing20220501::Segment?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams
| (String, String, Peddler::APIs::ProductPricing20220501::Segment?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams

.members[ :marketplace_id, :sku, :segment ]

Returns:

  • ([ :marketplace_id, :sku, :segment ])


262
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 262

def self.members: () -> [ :marketplace_id, :sku, :segment ]

.new(marketplace_id:, sku:, segment:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams



257
258
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 257

def self.new: (marketplace_id: String, sku: String, ?segment: Peddler::APIs::ProductPricing20220501::Segment?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams
| (String, String, Peddler::APIs::ProductPricing20220501::Segment?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams

.parsePeddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams

Parameters:

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

Returns:



264
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 264

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

Instance Method Details

#members[ :marketplace_id, :sku, :segment ]

Returns:

  • ([ :marketplace_id, :sku, :segment ])


270
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 270

def members: () -> [ :marketplace_id, :sku, :segment ]

#to_h{ marketplace_id: String, sku: String, segment: Peddler::APIs::ProductPricing20220501::Segment? }

Returns:



271
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 271

def to_h: () -> { marketplace_id: String, sku: String, segment: Peddler::APIs::ProductPricing20220501::Segment? }