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.



733
734
735
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 733

def segment_details
  @segment_details
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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

Instance Method Details

#members[ :segment_details ]

Returns:

  • ([ :segment_details ])


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

def members: () -> [ :segment_details ]

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



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

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