Class: Straddle::Models::UnmaskedPayout
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::UnmaskedPayout
- Defined in:
- lib/straddle/models/unmasked_payout.rb,
sig/straddle/models/unmasked_payout.rbs
Constant Summary collapse
- Straddle =
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Amount in cents.
- #config ⇒ Straddle::Models::PayoutConfiguration
-
#created_at ⇒ Time
Timestamp when this payout was created.
-
#currency ⇒ String
Currency code.
-
#customer_details ⇒ Straddle::Models::CustomerDetails?
Information about the customer associated with the charge or payout.
-
#description ⇒ String?
A human-readable description of the payout.
- #device ⇒ Straddle::Models::PaymentDevice
-
#documents ⇒ Array<Straddle::Models::PaymentAuthorizationProof>?
Authorization documents for this payout, ordered by upload time.
-
#effective_at ⇒ Time?
Timestamp when funds were settled.
-
#external_id ⇒ String
Your unique identifier for this payout, used to correlate with your internal records.
-
#funding_ids ⇒ Array<String>
IDs of the funding events that included this payout.
-
#has_resubmit ⇒ Boolean
Whether this payout has been resubmitted.
-
#id ⇒ String
Unique identifier for this payout.
-
#is_refund ⇒ Boolean
Whether this payout refunds an original charge.
-
#is_resubmit ⇒ Boolean
Whether this payout resubmits an original payout.
-
#metadata ⇒ Hash{Symbol=>String}?
Key-value metadata stored with this payout.
-
#paykey ⇒ String
Unmasked paykey token used for this payout.
- #paykey_details ⇒ Straddle::Models::PaykeyDetails?
-
#payment_date ⇒ Date
Date when Straddle submits the payout for processing.
-
#payment_rail ⇒ Symbol, ...
The payment rail used for the charge or payout.
-
#processed_at ⇒ Time?
Timestamp when this payout was submitted to the payment network.
-
#related_payments ⇒ Array<Straddle::Models::RelatedPayment>?
Related payments and their relationship to this payout.
-
#status ⇒ Symbol, Straddle::Models::PaymentStatus
The current status of the
chargeorpayout. - #status_details ⇒ Straddle::Models::PaymentStatusDetails
-
#status_history ⇒ Array<Straddle::Models::PaymentStatusHistory>
Complete ordered history of all status changes for this payout.
-
#trace_ids ⇒ Hash{Symbol=>String}
Trace identifiers from the payment network.
-
#updated_at ⇒ Time
Timestamp when this payout was last updated.
Instance Method Summary collapse
-
#initialize(id:, amount:, config:, created_at:, currency:, description:, device:, external_id:, funding_ids:, has_resubmit:, is_refund:, is_resubmit:, paykey:, payment_date:, status:, status_details:, status_history:, trace_ids:, updated_at:, customer_details: nil, documents: nil, effective_at: nil, metadata: nil, paykey_details: nil, payment_rail: nil, processed_at: nil, related_payments: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see UnmaskedPayout for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, amount:, config:, created_at:, currency:, description:, device:, external_id:, funding_ids:, has_resubmit:, is_refund:, is_resubmit:, paykey:, payment_date:, status:, status_details:, status_history:, trace_ids:, updated_at:, customer_details: nil, documents: nil, effective_at: nil, metadata: nil, paykey_details: nil, payment_rail: nil, processed_at: nil, related_payments: nil) ⇒ Object
Some parameter documentations has been truncated, see Straddle::Models::UnmaskedPayout for more details.
|
|
# File 'lib/straddle/models/unmasked_payout.rb', line 170
|
Instance Attribute Details
#amount ⇒ Integer
Amount in cents.
16 |
# File 'lib/straddle/models/unmasked_payout.rb', line 16 required :amount, Integer |
#config ⇒ Straddle::Models::PayoutConfiguration
21 |
# File 'lib/straddle/models/unmasked_payout.rb', line 21 required :config, -> { Straddle::PayoutConfiguration } |
#created_at ⇒ Time
Timestamp when this payout was created.
27 |
# File 'lib/straddle/models/unmasked_payout.rb', line 27 required :created_at, Time |
#currency ⇒ String
Currency code. Only USD is supported.
33 |
# File 'lib/straddle/models/unmasked_payout.rb', line 33 required :currency, String |
#customer_details ⇒ Straddle::Models::CustomerDetails?
Information about the customer associated with the charge or payout.
122 |
# File 'lib/straddle/models/unmasked_payout.rb', line 122 optional :customer_details, -> { Straddle::CustomerDetails } |
#description ⇒ String?
A human-readable description of the payout.
39 |
# File 'lib/straddle/models/unmasked_payout.rb', line 39 required :description, String, nil?: true |
#device ⇒ Straddle::Models::PaymentDevice
44 |
# File 'lib/straddle/models/unmasked_payout.rb', line 44 required :device, -> { Straddle::PaymentDevice } |
#documents ⇒ Array<Straddle::Models::PaymentAuthorizationProof>?
Authorization documents for this payout, ordered by upload time.
128 129 130 |
# File 'lib/straddle/models/unmasked_payout.rb', line 128 optional :documents, -> { Straddle::Internal::Type::ArrayOf[Straddle::PaymentAuthorizationProof] }, nil?: true |
#effective_at ⇒ Time?
Timestamp when funds were settled. Null until settlement is confirmed.
136 |
# File 'lib/straddle/models/unmasked_payout.rb', line 136 optional :effective_at, Time, nil?: true |
#external_id ⇒ String
Your unique identifier for this payout, used to correlate with your internal records.
51 |
# File 'lib/straddle/models/unmasked_payout.rb', line 51 required :external_id, String |
#funding_ids ⇒ Array<String>
IDs of the funding events that included this payout.
57 |
# File 'lib/straddle/models/unmasked_payout.rb', line 57 required :funding_ids, Straddle::Internal::Type::ArrayOf[String] |
#has_resubmit ⇒ Boolean
Whether this payout has been resubmitted.
63 |
# File 'lib/straddle/models/unmasked_payout.rb', line 63 required :has_resubmit, Straddle::Internal::Type::Boolean |
#id ⇒ String
Unique identifier for this payout.
10 |
# File 'lib/straddle/models/unmasked_payout.rb', line 10 required :id, String |
#is_refund ⇒ Boolean
Whether this payout refunds an original charge.
69 |
# File 'lib/straddle/models/unmasked_payout.rb', line 69 required :is_refund, Straddle::Internal::Type::Boolean |
#is_resubmit ⇒ Boolean
Whether this payout resubmits an original payout.
75 |
# File 'lib/straddle/models/unmasked_payout.rb', line 75 required :is_resubmit, Straddle::Internal::Type::Boolean |
#metadata ⇒ Hash{Symbol=>String}?
Key-value metadata stored with this payout.
142 |
# File 'lib/straddle/models/unmasked_payout.rb', line 142 optional :metadata, Straddle::Internal::Type::HashOf[String], nil?: true |
#paykey ⇒ String
Unmasked paykey token used for this payout.
81 |
# File 'lib/straddle/models/unmasked_payout.rb', line 81 required :paykey, String |
#paykey_details ⇒ Straddle::Models::PaykeyDetails?
147 |
# File 'lib/straddle/models/unmasked_payout.rb', line 147 optional :paykey_details, -> { Straddle::PaykeyDetails } |
#payment_date ⇒ Date
Date when Straddle submits the payout for processing.
87 |
# File 'lib/straddle/models/unmasked_payout.rb', line 87 required :payment_date, Date |
#payment_rail ⇒ Symbol, ...
The payment rail used for the charge or payout.
153 |
# File 'lib/straddle/models/unmasked_payout.rb', line 153 optional :payment_rail, enum: -> { Straddle::PaymentRail } |
#processed_at ⇒ Time?
Timestamp when this payout was submitted to the payment network. Null until processed.
160 |
# File 'lib/straddle/models/unmasked_payout.rb', line 160 optional :processed_at, Time, nil?: true |
#related_payments ⇒ Array<Straddle::Models::RelatedPayment>?
Related payments and their relationship to this payout.
166 167 168 |
# File 'lib/straddle/models/unmasked_payout.rb', line 166 optional :related_payments, -> { Straddle::Internal::Type::ArrayOf[Straddle::RelatedPayment] }, nil?: true |
#status ⇒ Symbol, Straddle::Models::PaymentStatus
The current status of the charge or payout.
93 |
# File 'lib/straddle/models/unmasked_payout.rb', line 93 required :status, enum: -> { Straddle::PaymentStatus } |
#status_details ⇒ Straddle::Models::PaymentStatusDetails
98 |
# File 'lib/straddle/models/unmasked_payout.rb', line 98 required :status_details, -> { Straddle::PaymentStatusDetails } |
#status_history ⇒ Array<Straddle::Models::PaymentStatusHistory>
Complete ordered history of all status changes for this payout.
104 |
# File 'lib/straddle/models/unmasked_payout.rb', line 104 required :status_history, -> { Straddle::Internal::Type::ArrayOf[Straddle::PaymentStatusHistory] } |
#trace_ids ⇒ Hash{Symbol=>String}
Trace identifiers from the payment network. Keys depend on the payment rail.
110 |
# File 'lib/straddle/models/unmasked_payout.rb', line 110 required :trace_ids, Straddle::Internal::Type::HashOf[String] |
#updated_at ⇒ Time
Timestamp when this payout was last updated.
116 |
# File 'lib/straddle/models/unmasked_payout.rb', line 116 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ {
129 |
# File 'sig/straddle/models/unmasked_payout.rbs', line 129
def to_hash: -> {
|