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)


188
189
190
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 188

def buying_option_type
  @buying_option_type
end

Returns the value of attribute segmented_featured_offers.



189
190
191
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 189

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



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

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 ])


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

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



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

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:



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

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 ])


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

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

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

Returns:



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

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