Class: WhopSDK::Models::TransferCreateResponse::ClaimLink
Defined Under Namespace
Modules: Object
Classes: Source
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, amount:, claim_url:, currency:, expires_at:, object:, redeemable_count:, source:, status:) ⇒ Object
Returned for a claim_link: a shareable URL anyone can open to claim the funds.
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 413
|
Instance Attribute Details
#amount ⇒ String
376
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 376
required :amount, String
|
#claim_url ⇒ String
381
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 381
required :claim_url, String
|
#currency ⇒ String
386
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 386
required :currency, String
|
#expires_at ⇒ Time?
391
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 391
required :expires_at, Time, nil?: true
|
#id ⇒ String
371
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 371
required :id, String
|
396
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 396
required :object, enum: -> { WhopSDK::Models::TransferCreateResponse::ClaimLink::Object }
|
#redeemable_count ⇒ Integer
401
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 401
required :redeemable_count, Integer
|
406
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 406
required :source, -> { WhopSDK::Models::TransferCreateResponse::ClaimLink::Source }
|
#status ⇒ String
411
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 411
required :status, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/whop_sdk/models/transfer_create_response.rb', line 432
|
Instance Method Details
#to_hash ⇒ {
330
|
# File 'sig/whop_sdk/models/transfer_create_response.rbs', line 330
def to_hash: -> {
|