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)


624
625
626
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 624

def glance_view_weight_percentage
  @glance_view_weight_percentage
end

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

Returns the value of attribute sample_location.



625
626
627
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 625

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:



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

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


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

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:



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

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:



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

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


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

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

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

Returns:



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

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