Class: Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::Properties

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

Overview

See Also:

  • Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent#properties

Defined Under Namespace

Classes: DunningSchedule, DunningStep

Instance Attribute 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(completion_time:, created_at:, invoice_id:, modified_at:, start_time:, status:) ⇒ Object

Parameters:

  • completion_time (Time, nil)
  • created_at (Time, nil)
  • invoice_id (String)
  • modified_at (Time, nil)
  • start_time (Time, nil)
  • status (String)


# File 'lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb', line 74

Instance Attribute Details

#dunning_schedule ⇒ Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningSchedule

Parameters:

  • value (Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningSchedule)

Returns:



60
61
# File 'lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb', line 60

required :dunning_schedule,
-> { Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningSchedule }

#dunning_steps ⇒ Array<Orb::Models::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningStep>

Parameters:

  • value (::Array[Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningStep])

Returns:



66
67
# File 'lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb', line 66

required :dunning_steps,
-> { Orb::Internal::Type::ArrayOf[Orb::InvoiceDunningScheduleCreatedWebhookEvent::Properties::DunningStep] }

#source ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


72
# File 'lib/orb/models/invoice_dunning_schedule_created_webhook_event.rb', line 72

required :source, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


59
# File 'sig/orb/models/invoice_dunning_schedule_created_webhook_event.rbs', line 59

def to_hash: -> {