Class: Orb::Models::ChangedSubscriptionResources

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/changed_subscription_resources.rb

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(created_credit_notes: , created_invoices: , voided_credit_notes: , voided_invoices: ) ⇒ Object

Parameters:

  • created_credit_notes (Array<Orb::Models::CreditNote>) (defaults to: )

    The credit notes that were created as part of this operation.

  • created_invoices (Array<Orb::Models::Invoice>) (defaults to: )

    The invoices that were created as part of this operation.

  • voided_credit_notes (Array<Orb::Models::CreditNote>) (defaults to: )

    The credit notes that were voided as part of this operation.

  • voided_invoices (Array<Orb::Models::Invoice>) (defaults to: )

    The invoices that were voided as part of this operation.



# File 'lib/orb/models/changed_subscription_resources.rb', line 30


Instance Attribute Details

#created_credit_notesArray<Orb::Models::CreditNote>

The credit notes that were created as part of this operation.

Returns:



10
# File 'lib/orb/models/changed_subscription_resources.rb', line 10

required :created_credit_notes, -> { Orb::Internal::Type::ArrayOf[Orb::CreditNote] }

#created_invoicesArray<Orb::Models::Invoice>

The invoices that were created as part of this operation.

Returns:



16
# File 'lib/orb/models/changed_subscription_resources.rb', line 16

required :created_invoices, -> { Orb::Internal::Type::ArrayOf[Orb::Invoice] }

#voided_credit_notesArray<Orb::Models::CreditNote>

The credit notes that were voided as part of this operation.

Returns:



22
# File 'lib/orb/models/changed_subscription_resources.rb', line 22

required :voided_credit_notes, -> { Orb::Internal::Type::ArrayOf[Orb::CreditNote] }

#voided_invoicesArray<Orb::Models::Invoice>

The invoices that were voided as part of this operation.

Returns:



28
# File 'lib/orb/models/changed_subscription_resources.rb', line 28

required :voided_invoices, -> { Orb::Internal::Type::ArrayOf[Orb::Invoice] }