Class: Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment

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

#customer_membershipString (readonly)

Returns the value of attribute customer_membership.

Returns:

  • (String)


348
349
350
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 348

def customer_membership
  @customer_membership
end

#segment_detailsPeddler::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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::ProductPricing20220501::FeaturedOfferSegment

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:



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 }