Class: Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::RetryPayment

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb,
sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs

Defined Under Namespace

Modules: ActionType, Outcome

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(amount_attempted:, currency:, failure_reason:, outcome:, payment_provider:, payment_provider_transaction_id:, payment_transaction_record_id:, action_type: nil) ⇒ Object

Parameters:



# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 287

Instance Attribute Details

#action_type ⇒ Symbol, ...



284
285
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 284

optional :action_type,
enum: -> { Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::RetryPayment::ActionType }

#amount_attempted ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


248
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 248

required :amount_attempted, String, nil?: true

#currency ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


253
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 253

required :currency, String, nil?: true

#failure_reason ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


258
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 258

required :failure_reason, String, nil?: true

#outcome ⇒ Symbol, Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::RetryPayment::Outcome

Parameters:

  • value (Orb::Models::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::RetryPayment::outcome)

Returns:



263
264
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 263

required :outcome,
enum: -> { Orb::InvoiceAutomationScheduleStepExecutedWebhookEvent::Properties::Action::RetryPayment::Outcome }

#payment_provider ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


269
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 269

required :payment_provider, String, nil?: true

#payment_provider_transaction_id ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


274
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 274

required :payment_provider_transaction_id, String, nil?: true

#payment_transaction_record_id ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


279
# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 279

required :payment_transaction_record_id, String, nil?: true

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/orb/models/invoice_automation_schedule_step_executed_webhook_event.rb', line 305

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


264
# File 'sig/orb/models/invoice_automation_schedule_step_executed_webhook_event.rbs', line 264

def to_hash: -> {