Class: Dodopayments::Models::WebhookPayload::Data::EntitlementGrant
Defined Under Namespace
Modules: PayloadType, Status
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(id:, business_id:, created_at:, customer_id:, entitlement_id:, external_id:, payload_type:, status:, updated_at:, delivered_at: nil, error_code: nil, error_message: nil, license_key: nil, license_key_activations_limit: nil, license_key_activations_used: nil, license_key_expires_at: nil, license_key_status: nil, metadata: nil, oauth_expires_at: nil, oauth_url: nil, payment_id: nil, revocation_reason: nil, revoked_at: nil, subscription_id: nil) ⇒ Object
constructor
==, #==, #[], 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:, business_id:, created_at:, customer_id:, entitlement_id:, external_id:, payload_type:, status:, updated_at:, delivered_at: nil, error_code: nil, error_message: nil, license_key: nil, license_key_activations_limit: nil, license_key_activations_used: nil, license_key_expires_at: nil, license_key_status: nil, metadata: nil, oauth_expires_at: nil, oauth_url: nil, payment_id: nil, revocation_reason: nil, revoked_at: nil, subscription_id: nil) ⇒ Object
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 538
|
Instance Attribute Details
#business_id ⇒ String
426
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 426
required :business_id, String
|
#created_at ⇒ Time
431
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 431
required :created_at, Time
|
#customer_id ⇒ String
436
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 436
required :customer_id, String
|
#delivered_at ⇒ Time?
466
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 466
optional :delivered_at, Time, nil?: true
|
#entitlement_id ⇒ String
441
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 441
required :entitlement_id, String
|
#error_code ⇒ String?
471
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 471
optional :error_code, String, nil?: true
|
#error_message ⇒ String?
476
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 476
optional :error_message, String, nil?: true
|
#external_id ⇒ String
446
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 446
required :external_id, String
|
#id ⇒ String
421
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 421
required :id, String
|
#license_key ⇒ String?
481
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 481
optional :license_key, String, nil?: true
|
#license_key_activations_limit ⇒ Integer?
486
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 486
optional :license_key_activations_limit, Integer, nil?: true
|
#license_key_activations_used ⇒ Integer?
491
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 491
optional :license_key_activations_used, Integer, nil?: true
|
#license_key_expires_at ⇒ Time?
496
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 496
optional :license_key_expires_at, Time, nil?: true
|
#license_key_status ⇒ String?
501
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 501
optional :license_key_status, String, nil?: true
|
#oauth_expires_at ⇒ Time?
511
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 511
optional :oauth_expires_at, Time, nil?: true
|
#oauth_url ⇒ String?
516
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 516
optional :oauth_url, String, nil?: true
|
451
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 451
required :payload_type, enum: -> { Dodopayments::WebhookPayload::Data::EntitlementGrant::PayloadType }
|
#payment_id ⇒ String?
521
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 521
optional :payment_id, String, nil?: true
|
#revocation_reason ⇒ String?
526
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 526
optional :revocation_reason, String, nil?: true
|
#revoked_at ⇒ Time?
531
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 531
optional :revoked_at, Time, nil?: true
|
456
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 456
required :status, enum: -> { Dodopayments::WebhookPayload::Data::EntitlementGrant::Status }
|
#subscription_id ⇒ String?
536
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 536
optional :subscription_id, String, nil?: true
|
#updated_at ⇒ Time
461
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 461
required :updated_at, Time
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 570
|