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

#brand_idString

Brand id this credit entitlement belongs to

Returns:

  • (String)


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

required :brand_id, String

#credit_entitlement_idString

Returns:

  • (String)


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

required :credit_entitlement_id, String

#credit_entitlement_nameString

Returns:

  • (String)


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

required :credit_entitlement_name, String

#customer_idString

Returns:

  • (String)


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

required :customer_id, String

#payload_typeSymbol, :CreditBalanceLow

Returns:

  • (Symbol, :CreditBalanceLow)


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

required :payload_type, const: :CreditBalanceLow

#subscription_credits_amountString

Returns:

  • (String)


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

required :subscription_credits_amount, String

#subscription_idString

Returns:

  • (String)


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

required :subscription_id, String

#threshold_amountString

Returns:

  • (String)


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

required :threshold_amount, String

#threshold_percentInteger

Returns:

  • (Integer)


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

required :threshold_percent, Integer