Class: Peddler::APIs::ProductPricing20220501::Segment

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

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

Returns the value of attribute segment_details.



608
609
610
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 608

def segment_details
  @segment_details
end

Class Method Details

.[](segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::Segment .[](arg0) ⇒ Peddler::APIs::ProductPricing20220501::Segment



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

def self.[]: (?segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails?) -> Peddler::APIs::ProductPricing20220501::Segment
| (Peddler::APIs::ProductPricing20220501::SegmentDetails?) -> Peddler::APIs::ProductPricing20220501::Segment

.members[ :segment_details ]

Returns:

  • ([ :segment_details ])


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

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

.new(segment_details:) ⇒ Peddler::APIs::ProductPricing20220501::Segment .new(arg0) ⇒ Peddler::APIs::ProductPricing20220501::Segment



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

def self.new: (?segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails?) -> Peddler::APIs::ProductPricing20220501::Segment
| (Peddler::APIs::ProductPricing20220501::SegmentDetails?) -> Peddler::APIs::ProductPricing20220501::Segment

.parsePeddler::APIs::ProductPricing20220501::Segment

Parameters:

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

Returns:



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

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::Segment

Instance Method Details

#members[ :segment_details ]

Returns:

  • ([ :segment_details ])


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

def members: () -> [ :segment_details ]

#to_h{ segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails? }



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

def to_h: () -> { segment_details: Peddler::APIs::ProductPricing20220501::SegmentDetails? }