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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

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

#initializeObject



275
# File 'sig/dodopayments/models/webhook_payload.rbs', line 275

def initialize: (

Instance Attribute Details

#available_balanceString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :available_balance, String

#brand_idString

Brand id this credit entitlement belongs to

Parameters:

  • value (String)

Returns:

  • (String)


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

required :brand_id, String

#credit_entitlement_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :credit_entitlement_id, String

#credit_entitlement_nameString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :credit_entitlement_name, String

#customer_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :customer_id, String

#payload_typeSymbol, :CreditBalanceLow

Parameters:

  • value (:CreditBalanceLow)

Returns:

  • (Symbol, :CreditBalanceLow)


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

required :payload_type, const: :CreditBalanceLow

#subscription_credits_amountString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :subscription_credits_amount, String

#subscription_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :subscription_id, String

#threshold_amountString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :threshold_amount, String

#threshold_percentInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :threshold_percent, Integer

Instance Method Details

#to_hash{

Returns:

  • ({)


288
# File 'sig/dodopayments/models/webhook_payload.rbs', line 288

def to_hash: -> {