Class: Dodopayments::Models::ManualRetry
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::ManualRetry
- Defined in:
- lib/dodopayments/models/manual_retry.rb,
sig/dodopayments/models/manual_retry.rbs
Overview
Instance Attribute Summary collapse
-
#invoice_id ⇒ String
The invoice the send charged.
-
#is_manual_retry ⇒ Boolean
Always true on this route.
-
#payment_id ⇒ String
The payment row this send created.
-
#retry_attempt ⇒ Integer
Which attempt this send is, counting manual sends on the invoice.
-
#retry_available_at ⇒ Time?
When the next send becomes available.
- #sends_allowed ⇒ Integer
-
#sends_used ⇒ Integer
Manual sends spent on this invoice, including this one.
-
#status ⇒ Symbol, ...
Outcome of the charge.
Instance Method Summary collapse
-
#initialize(invoice_id:, is_manual_retry:, payment_id:, retry_attempt:, sends_allowed:, sends_used:, retry_available_at: nil, status: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ManualRetry 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(invoice_id:, is_manual_retry:, payment_id:, retry_attempt:, sends_allowed:, sends_used:, retry_available_at: nil, status: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::ManualRetry for more details.
|
|
# File 'lib/dodopayments/models/manual_retry.rb', line 55
|
Instance Attribute Details
#invoice_id ⇒ String
The invoice the send charged.
11 |
# File 'lib/dodopayments/models/manual_retry.rb', line 11 required :invoice_id, String |
#is_manual_retry ⇒ Boolean
Always true on this route. Tells the row apart from an automatic attempt.
17 |
# File 'lib/dodopayments/models/manual_retry.rb', line 17 required :is_manual_retry, Dodopayments::Internal::Type::Boolean |
#payment_id ⇒ String
The payment row this send created.
23 |
# File 'lib/dodopayments/models/manual_retry.rb', line 23 required :payment_id, String |
#retry_attempt ⇒ Integer
Which attempt this send is, counting manual sends on the invoice.
29 |
# File 'lib/dodopayments/models/manual_retry.rb', line 29 required :retry_attempt, Integer |
#retry_available_at ⇒ Time?
When the next send becomes available. Null when no send is left.
46 |
# File 'lib/dodopayments/models/manual_retry.rb', line 46 optional :retry_available_at, Time, nil?: true |
#sends_allowed ⇒ Integer
34 |
# File 'lib/dodopayments/models/manual_retry.rb', line 34 required :sends_allowed, Integer |
#sends_used ⇒ Integer
Manual sends spent on this invoice, including this one.
40 |
# File 'lib/dodopayments/models/manual_retry.rb', line 40 required :sends_used, Integer |
#status ⇒ Symbol, ...
Outcome of the charge. processing means the processor has not settled it yet,
and the payment webhooks report the result.
53 |
# File 'lib/dodopayments/models/manual_retry.rb', line 53 optional :status, enum: -> { Dodopayments::IntentStatus }, nil?: true |
Instance Method Details
#to_hash ⇒ {
43 |
# File 'sig/dodopayments/models/manual_retry.rbs', line 43
def to_hash: -> {
|