Class: Peddler::APIs::ProductPricing20220501::QuantityThreshold
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::QuantityThreshold
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#quantity ⇒ Integer
readonly
Returns the value of attribute quantity.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :quantity, :type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold
Instance Method Summary collapse
Instance Attribute Details
#quantity ⇒ Integer (readonly)
Returns the value of attribute quantity.
683 684 685 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 683 def quantity @quantity end |
#type ⇒ String (readonly)
Returns the value of attribute type.
684 685 686 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 684 def type @type end |
Class Method Details
.[](quantity:, type:) ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold
676 677 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 676
def self.[]: (quantity: Integer, type: String) -> Peddler::APIs::ProductPricing20220501::QuantityThreshold
| (Integer, String) -> Peddler::APIs::ProductPricing20220501::QuantityThreshold
|
.members ⇒ [ :quantity, :type ]
679 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 679
def self.members: () -> [ :quantity, :type ]
|
.new(quantity:, type:) ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold
674 675 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 674
def self.new: (quantity: Integer, type: String) -> Peddler::APIs::ProductPricing20220501::QuantityThreshold
| (Integer, String) -> Peddler::APIs::ProductPricing20220501::QuantityThreshold
|
.parse ⇒ Peddler::APIs::ProductPricing20220501::QuantityThreshold
681 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 681
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::QuantityThreshold
|
Instance Method Details
#members ⇒ [ :quantity, :type ]
686 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 686
def members: () -> [ :quantity, :type ]
|
#to_h ⇒ { quantity: Integer, type: String }
687 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 687
def to_h: () -> { quantity: Integer, type: String }
|