Class: Peddler::APIs::Promotions20251201::QuantityThreshold
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::QuantityThreshold
- Defined in:
- sig/peddler/apis/promotions_2025_12_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::Promotions20251201::QuantityThreshold
Instance Method Summary collapse
Instance Attribute Details
#quantity ⇒ Integer (readonly)
Returns the value of attribute quantity.
566 567 568 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 566 def quantity @quantity end |
#type ⇒ String (readonly)
Returns the value of attribute type.
567 568 569 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 567 def type @type end |
Class Method Details
.[](quantity:, type:) ⇒ Peddler::APIs::Promotions20251201::QuantityThreshold .[](arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::QuantityThreshold
559 560 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 559
def self.[]: (quantity: Integer, type: String) -> Peddler::APIs::Promotions20251201::QuantityThreshold
| (Integer, String) -> Peddler::APIs::Promotions20251201::QuantityThreshold
|
.members ⇒ [ :quantity, :type ]
562 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 562
def self.members: () -> [ :quantity, :type ]
|
.new(quantity:, type:) ⇒ Peddler::APIs::Promotions20251201::QuantityThreshold .new(arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::QuantityThreshold
557 558 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 557
def self.new: (quantity: Integer, type: String) -> Peddler::APIs::Promotions20251201::QuantityThreshold
| (Integer, String) -> Peddler::APIs::Promotions20251201::QuantityThreshold
|
.parse ⇒ Peddler::APIs::Promotions20251201::QuantityThreshold
564 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 564
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::QuantityThreshold
|
Instance Method Details
#members ⇒ [ :quantity, :type ]
569 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 569
def members: () -> [ :quantity, :type ]
|
#to_h ⇒ { quantity: Integer, type: String }
570 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 570
def to_h: () -> { quantity: Integer, type: String }
|