Module: Dodopayments::Models::WebhookPayload::Data

Extended by:
Internal::Type::Union
Defined in:
lib/dodopayments/models/webhook_payload.rb

Overview

The latest data at the time of delivery attempt

See Also:

Defined Under Namespace

Classes: AbandonedCheckout, CreditBalanceLow, CreditLedgerEntry, Dispute, DunningAttempt, EntitlementGrant, LicenseKey, Payment, Refund, Subscription

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(available_balance:, credit_entitlement_id:, credit_entitlement_name:, customer_id:, subscription_credits_amount:, subscription_id:, threshold_amount:, threshold_percent:, payload_type: :CreditBalanceLow) ⇒ Object

Parameters:

  • available_balance (String)
  • credit_entitlement_id (String)
  • credit_entitlement_name (String)
  • customer_id (String)
  • subscription_credits_amount (String)
  • subscription_id (String)
  • threshold_amount (String)
  • threshold_percent (Integer)
  • payload_type (Symbol, :CreditBalanceLow) (defaults to: :CreditBalanceLow)


# File 'lib/dodopayments/models/webhook_payload.rb', line 80