Class: Orb::Models::InvoiceDunningScheduleResetWebhookEvent::Properties

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

Overview

See Also:

  • Orb::Models::InvoiceDunningScheduleResetWebhookEvent#properties

Defined Under Namespace

Classes: DunningSchedule, PreviousSchedule

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

The schedule shape DunningScheduleV2.external_serialization() produces, which is narrower than the schedule's api resource.

Parameters:

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


# File 'lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb', line 73


Instance Attribute Details

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

The schedule shape DunningScheduleV2.external_serialization() produces, which is narrower than the schedule's api resource.

Parameters:

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

Returns:



62
63
# File 'lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb', line 62

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

#previous_schedule ⇒ Orb::Models::InvoiceDunningScheduleResetWebhookEvent::Properties::PreviousSchedule

The schedule shape DunningScheduleV2.external_serialization() produces, which is narrower than the schedule's api resource.

Parameters:

  • value (Orb::InvoiceDunningScheduleResetWebhookEvent::Properties::PreviousSchedule)

Returns:



70
71
# File 'lib/orb/models/invoice_dunning_schedule_reset_webhook_event.rb', line 70

required :previous_schedule,
-> { Orb::InvoiceDunningScheduleResetWebhookEvent::Properties::PreviousSchedule }

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


55
# File 'sig/orb/models/invoice_dunning_schedule_reset_webhook_event.rbs', line 55

def to_hash: -> {