Module: Dodopayments::Models::CbbOverageBehavior

Extended by:
Internal::Type::Enum
Defined in:
lib/dodopayments/models/cbb_overage_behavior.rb

Overview

Controls how overage is handled at the end of a billing cycle.

| Preset | Charge at billing | Credits reduce overage | Preserve overage at reset | | ————————– | :—————: | :——————–: | :———————–: | | ‘forgive_at_reset` | No | No | No | | `invoice_at_billing` | Yes | No | No | | `carry_deficit` | No | No | Yes | | `carry_deficit_auto_repay` | No | Yes | Yes |

Constant Summary collapse

FORGIVE_AT_RESET =
:forgive_at_reset
INVOICE_AT_BILLING =
:invoice_at_billing
CARRY_DEFICIT =
:carry_deficit
CARRY_DEFICIT_AUTO_REPAY =
:carry_deficit_auto_repay

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/dodopayments/models/cbb_overage_behavior.rb', line 21