Class: Peddler::APIs::ProductPricing20220501::SegmentDetails

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

#glance_view_weight_percentageFloat? (readonly)

Returns the value of attribute glance_view_weight_percentage.

Returns:

  • (Float, nil)


749
750
751
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 749

def glance_view_weight_percentage
  @glance_view_weight_percentage
end

#sample_locationPeddler::APIs::ProductPricing20220501::SampleLocation? (readonly)

Returns the value of attribute sample_location.



750
751
752
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 750

def sample_location
  @sample_location
end

Class Method Details

.[](glance_view_weight_percentage:, sample_location:) ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails

Overloads:



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

def self.[]: (?glance_view_weight_percentage: Float?, ?sample_location: Peddler::APIs::ProductPricing20220501::SampleLocation?) -> Peddler::APIs::ProductPricing20220501::SegmentDetails
| (Float?, Peddler::APIs::ProductPricing20220501::SampleLocation?) -> Peddler::APIs::ProductPricing20220501::SegmentDetails

.members[ :glance_view_weight_percentage, :sample_location ]

Returns:

  • ([ :glance_view_weight_percentage, :sample_location ])


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

def self.members: () -> [ :glance_view_weight_percentage, :sample_location ]

.new(glance_view_weight_percentage:, sample_location:) ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails

Overloads:



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

def self.new: (?glance_view_weight_percentage: Float?, ?sample_location: Peddler::APIs::ProductPricing20220501::SampleLocation?) -> Peddler::APIs::ProductPricing20220501::SegmentDetails
| (Float?, Peddler::APIs::ProductPricing20220501::SampleLocation?) -> Peddler::APIs::ProductPricing20220501::SegmentDetails

.parsePeddler::APIs::ProductPricing20220501::SegmentDetails

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :glance_view_weight_percentage, :sample_location ]

Returns:

  • ([ :glance_view_weight_percentage, :sample_location ])


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

def members: () -> [ :glance_view_weight_percentage, :sample_location ]

#to_h{ glance_view_weight_percentage: Float?, sample_location: Peddler::APIs::ProductPricing20220501::SampleLocation? }

Returns:



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

def to_h: () -> { glance_view_weight_percentage: Float?, sample_location: Peddler::APIs::ProductPricing20220501::SampleLocation? }