Class: Stripe::Billing::AlertService::CreateParams::CreditBalanceThreshold::Lte
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::AlertService::CreateParams::CreditBalanceThreshold::Lte
- Defined in:
- lib/stripe/services/billing/alert_service.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.
87 88 89 90 91 |
# File 'lib/stripe/services/billing/alert_service.rb', line 87 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.
81 82 83 |
# File 'lib/stripe/services/billing/alert_service.rb', line 81 def balance_type @balance_type end |
#custom_pricing_unit ⇒ Object
The custom pricing unit amount.
83 84 85 |
# File 'lib/stripe/services/billing/alert_service.rb', line 83 def custom_pricing_unit @custom_pricing_unit end |
#monetary ⇒ Object
The monetary amount.
85 86 87 |
# File 'lib/stripe/services/billing/alert_service.rb', line 85 def monetary @monetary end |