Class: Peddler::APIs::Promotions20251201::PurchaseRequirements

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/promotions_2025_12_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#claim_codePeddler::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

#conditionPeddler::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

#selectionPeddler::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 ]

Returns:

  • ([ :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

.parsePeddler::APIs::Promotions20251201::PurchaseRequirements

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }