Class: Orb::Models::SubscriptionEditedWebhookEvent::Properties::PreviousAttributes

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

Overview

See Also:

  • Orb::Models::SubscriptionEditedWebhookEvent::Properties#previous_attributes

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 ⇒ Object



78
# File 'sig/orb/models/subscription_edited_webhook_event.rbs', line 78

def initialize: (

Instance Attribute Details

#auto_collection ⇒ Boolean?

Parameters:

  • value (Boolean, nil)

Returns:

  • (Boolean, nil)


84
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 84

optional :auto_collection, Orb::Internal::Type::Boolean, nil?: true

#auto_issuance ⇒ Boolean?

Parameters:

  • value (Boolean, nil)

Returns:

  • (Boolean, nil)


89
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 89

optional :auto_issuance, Orb::Internal::Type::Boolean, nil?: true

#default_invoice_memo ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


94
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 94

optional :default_invoice_memo, String, nil?: true

#invoicing_threshold ⇒ String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


99
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 99

optional :invoicing_threshold, String, nil?: true

#metadata ⇒ Hash{Symbol=>String}?

Parameters:

  • value (::Hash[Symbol, String], nil)

Returns:

  • (Hash{Symbol=>String}, nil)


104
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 104

optional :metadata, Orb::Internal::Type::HashOf[String], nil?: true

#net_terms ⇒ Integer?

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


109
# File 'lib/orb/models/subscription_edited_webhook_event.rb', line 109

optional :net_terms, Integer, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


87
# File 'sig/orb/models/subscription_edited_webhook_event.rbs', line 87

def to_hash: -> {