Class: Dodopayments::Models::WebhookPayload::Data::CreditBalanceLow

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/webhook_payload.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Dodopayments::Internal::Type::BaseModel

Instance Attribute Details

#available_balanceString

Returns:

  • (String)


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

required :available_balance, String

#credit_entitlement_idString

Returns:

  • (String)


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

required :credit_entitlement_id, String

#credit_entitlement_nameString

Returns:

  • (String)


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

required :credit_entitlement_name, String

#customer_idString

Returns:

  • (String)


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

required :customer_id, String

#payload_typeSymbol, :CreditBalanceLow

Returns:

  • (Symbol, :CreditBalanceLow)


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

required :payload_type, const: :CreditBalanceLow

#subscription_credits_amountString

Returns:

  • (String)


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

required :subscription_credits_amount, String

#subscription_idString

Returns:

  • (String)


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

required :subscription_id, String

#threshold_amountString

Returns:

  • (String)


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

required :threshold_amount, String

#threshold_percentInteger

Returns:

  • (Integer)


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

required :threshold_percent, Integer