Class: Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption

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

#buying_option_typeString (readonly)

Returns the value of attribute buying_option_type.

Returns:

  • (String)


205
206
207
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 205

def buying_option_type
  @buying_option_type
end

Returns the value of attribute segmented_featured_offers.



206
207
208
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 206

def segmented_featured_offers
  @segmented_featured_offers
end

Class Method Details

.[](buying_option_type:, segmented_featured_offers:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption



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

def self.[]: (buying_option_type: String, segmented_featured_offers: Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer]) -> Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
| (String, Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer]) -> Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption

.members[ :buying_option_type, :segmented_featured_offers ]

Returns:

  • ([ :buying_option_type, :segmented_featured_offers ])


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

def self.members: () -> [ :buying_option_type, :segmented_featured_offers ]

.new(buying_option_type:, segmented_featured_offers:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption



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

def self.new: (buying_option_type: String, segmented_featured_offers: Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer]) -> Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
| (String, Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer]) -> Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption

.parsePeddler::APIs::ProductPricing20220501::FeaturedBuyingOption

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :buying_option_type, :segmented_featured_offers ]

Returns:

  • ([ :buying_option_type, :segmented_featured_offers ])


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

def members: () -> [ :buying_option_type, :segmented_featured_offers ]

#to_h{ buying_option_type: String, segmented_featured_offers: Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer] }

Returns:



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

def to_h: () -> { buying_option_type: String, segmented_featured_offers: Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer] }