Class: Peddler::APIs::ProductPricing20220501::SegmentDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::SegmentDetails
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#glance_view_weight_percentage ⇒ Float?
readonly
Returns the value of attribute glance_view_weight_percentage.
-
#sample_location ⇒ Peddler::APIs::ProductPricing20220501::SampleLocation?
readonly
Returns the value of attribute sample_location.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :glance_view_weight_percentage, :sample_location ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails
Instance Method Summary collapse
-
#members ⇒ [ :glance_view_weight_percentage, :sample_location ]
-
#to_h ⇒ { glance_view_weight_percentage: Float?, sample_location: Peddler::APIs::ProductPricing20220501::SampleLocation? }
Instance Attribute Details
#glance_view_weight_percentage ⇒ Float? (readonly)
Returns the value of attribute glance_view_weight_percentage.
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_location ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::SegmentDetails
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 ]
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? }
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? }
|