Class: Peddler::APIs::Promotions20251201::PurchaseRequirements
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::PurchaseRequirements
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#claim_code ⇒ Peddler::APIs::Promotions20251201::ClaimCode?
readonly
Returns the value of attribute claim_code.
-
#condition ⇒ Peddler::APIs::Promotions20251201::PurchaseCondition
readonly
Returns the value of attribute condition.
-
#selection ⇒ Peddler::APIs::Promotions20251201::Selection
readonly
Returns the value of attribute selection.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :condition, :selection, :claim_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements
Instance Method Summary collapse
-
#members ⇒ [ :condition, :selection, :claim_code ]
-
#to_h ⇒ { condition: Peddler::APIs::Promotions20251201::PurchaseCondition, selection: Peddler::APIs::Promotions20251201::Selection, claim_code: Peddler::APIs::Promotions20251201::ClaimCode? }
Instance Attribute Details
#claim_code ⇒ Peddler::APIs::Promotions20251201::ClaimCode? (readonly)
Returns the value of attribute claim_code.
548 549 550 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 548 def claim_code @claim_code end |
#condition ⇒ Peddler::APIs::Promotions20251201::PurchaseCondition (readonly)
Returns the value of attribute condition.
549 550 551 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 549 def condition @condition end |
#selection ⇒ Peddler::APIs::Promotions20251201::Selection (readonly)
Returns the value of attribute selection.
550 551 552 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 550 def selection @selection end |
Class Method Details
.[](condition:, selection:, claim_code:) ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements .[](arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements
541 542 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 541
def self.[]: (condition: Peddler::APIs::Promotions20251201::PurchaseCondition, selection: Peddler::APIs::Promotions20251201::Selection, ?claim_code: Peddler::APIs::Promotions20251201::ClaimCode?) -> Peddler::APIs::Promotions20251201::PurchaseRequirements
| (Peddler::APIs::Promotions20251201::PurchaseCondition, Peddler::APIs::Promotions20251201::Selection, Peddler::APIs::Promotions20251201::ClaimCode?) -> Peddler::APIs::Promotions20251201::PurchaseRequirements
|
.members ⇒ [ :condition, :selection, :claim_code ]
544 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 544
def self.members: () -> [ :condition, :selection, :claim_code ]
|
.new(condition:, selection:, claim_code:) ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements .new(arg0, arg1, arg2) ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements
539 540 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 539
def self.new: (condition: Peddler::APIs::Promotions20251201::PurchaseCondition, selection: Peddler::APIs::Promotions20251201::Selection, ?claim_code: Peddler::APIs::Promotions20251201::ClaimCode?) -> Peddler::APIs::Promotions20251201::PurchaseRequirements
| (Peddler::APIs::Promotions20251201::PurchaseCondition, Peddler::APIs::Promotions20251201::Selection, Peddler::APIs::Promotions20251201::ClaimCode?) -> Peddler::APIs::Promotions20251201::PurchaseRequirements
|
.parse ⇒ Peddler::APIs::Promotions20251201::PurchaseRequirements
546 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 546
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::PurchaseRequirements
|
Instance Method Details
#members ⇒ [ :condition, :selection, :claim_code ]
552 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 552
def members: () -> [ :condition, :selection, :claim_code ]
|
#to_h ⇒ { condition: Peddler::APIs::Promotions20251201::PurchaseCondition, selection: Peddler::APIs::Promotions20251201::Selection, claim_code: Peddler::APIs::Promotions20251201::ClaimCode? }
553 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 553
def to_h: () -> { condition: Peddler::APIs::Promotions20251201::PurchaseCondition, selection: Peddler::APIs::Promotions20251201::Selection, claim_code: Peddler::APIs::Promotions20251201::ClaimCode? }
|