Class: Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#buying_option_type ⇒ String
readonly
Returns the value of attribute buying_option_type.
-
#segmented_featured_offers ⇒ Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer]
readonly
Returns the value of attribute segmented_featured_offers.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :buying_option_type, :segmented_featured_offers ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
Instance Method Summary collapse
-
#members ⇒ [ :buying_option_type, :segmented_featured_offers ]
-
#to_h ⇒ { buying_option_type: String, segmented_featured_offers: Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer] }
Instance Attribute Details
#buying_option_type ⇒ String (readonly)
Returns the value of attribute buying_option_type.
188 189 190 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 188 def @buying_option_type end |
#segmented_featured_offers ⇒ Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer] (readonly)
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 ]
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
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
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 ]
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] }
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] }
|