Class: Orb::Models::SubscriptionLicenseAllocationResetWebhookEvent::Subscription
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/subscription_license_allocation_reset_webhook_event.rb,
sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Status
Classes: Plan
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, external_plan_id:, name:) ⇒ Object
Some parameter documentations has been truncated, see
Plan
for more details.
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 143
|
Instance Attribute Details
117
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 117
required :customer, -> { Orb::CustomerMinified }
|
#end_date ⇒ Time?
122
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 122
required :end_date, Time, nil?: true
|
#id ⇒ String
112
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 112
required :id, String
|
127
128
129
130
131
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 127
required :plan,
-> {
Orb::SubscriptionLicenseAllocationResetWebhookEvent::Subscription::Plan
},
nil?: true
|
#start_date ⇒ Time
136
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 136
required :start_date, Time
|
141
|
# File 'lib/orb/models/subscription_license_allocation_reset_webhook_event.rb', line 141
required :status, enum: -> { Orb::SubscriptionLicenseAllocationResetWebhookEvent::Subscription::Status }
|
Instance Method Details
#to_hash ⇒ {
125
|
# File 'sig/orb/models/subscription_license_allocation_reset_webhook_event.rbs', line 125
def to_hash: -> {
|