Class: Stripe::Billing::AlertCreateParams::CreditBalanceThreshold::Lte
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::AlertCreateParams::CreditBalanceThreshold::Lte
- Defined in:
- lib/stripe/params/billing/alert_create_params.rb
Defined Under Namespace
Classes: CustomPricingUnit, Monetary
Instance Attribute Summary collapse
-
#balance_type ⇒ Object
Specify the type of this balance.
-
#custom_pricing_unit ⇒ Object
The custom pricing unit amount.
-
#monetary ⇒ Object
The monetary amount.
Instance Method Summary collapse
-
#initialize(balance_type: nil, custom_pricing_unit: nil, monetary: nil) ⇒ Lte
constructor
A new instance of Lte.
Methods inherited from RequestParams
Constructor Details
#initialize(balance_type: nil, custom_pricing_unit: nil, monetary: nil) ⇒ Lte
Returns a new instance of Lte.
101 102 103 104 105 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 101 def initialize(balance_type: nil, custom_pricing_unit: nil, monetary: nil) @balance_type = balance_type @custom_pricing_unit = custom_pricing_unit @monetary = monetary end |
Instance Attribute Details
#balance_type ⇒ Object
Specify the type of this balance. We currently only support ‘monetary` billing credits.
95 96 97 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 95 def balance_type @balance_type end |
#custom_pricing_unit ⇒ Object
The custom pricing unit amount.
97 98 99 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 97 def custom_pricing_unit @custom_pricing_unit end |
#monetary ⇒ Object
The monetary amount.
99 100 101 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 99 def monetary @monetary end |