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.
205 206 207 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 205 def @buying_option_type end |
#segmented_featured_offers ⇒ Array[Peddler::APIs::ProductPricing20220501::SegmentedFeaturedOffer] (readonly)
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 ]
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
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption
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 ]
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] }
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] }
|