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)


365
366
367
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 365

def customer_membership
  @customer_membership
end

#segment_detailsPeddler::APIs::ProductPricing20220501::SegmentDetails (readonly)

Returns the value of attribute segment_details.



366
367
368
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 366

def segment_details
  @segment_details
end

Class Method Details

.[](customer_membership:, segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment



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

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


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

def self.members: () -> [ :customer_membership, :segment_details ]

.new(customer_membership:, segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferSegment



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

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:



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

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


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

def members: () -> [ :customer_membership, :segment_details ]

#to_h{ customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails }

Returns:



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

def to_h: () -> { customer_membership: String, segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails }