Class: Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#customer_membership ⇒ String
readonly
Returns the value of attribute customer_membership.
-
#segment_details ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails
readonly
Returns the value of attribute segment_details.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :customer_membership, :segment_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
Instance Method Summary collapse
-
#members ⇒ [ :customer_membership, :segment_details ]
-
#to_h ⇒ { customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails }
Instance Attribute Details
#customer_membership ⇒ String (readonly)
Returns the value of attribute customer_membership.
348 349 350 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 348 def customer_membership @customer_membership end |
#segment_details ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails (readonly)
Returns the value of attribute segment_details.
349 350 351 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 349 def segment_details @segment_details end |
Class Method Details
.[](customer_membership:, segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
341 342 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 341
def self.[]: (customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
| (String, Peddler::APIs::ProductPricing20220501::SegmentDetails) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
|
.members ⇒ [ :customer_membership, :segment_details ]
344 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 344
def self.members: () -> [ :customer_membership, :segment_details ]
|
.new(customer_membership:, segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
339 340 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 339
def self.new: (customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
| (String, Peddler::APIs::ProductPricing20220501::SegmentDetails) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
346 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 346
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment
|
Instance Method Details
#members ⇒ [ :customer_membership, :segment_details ]
351 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 351
def members: () -> [ :customer_membership, :segment_details ]
|
#to_h ⇒ { customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails }
352 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 352
def to_h: () -> { customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails }
|