Class: Stripe::Billing::AlertCreateParams::CreditBalanceThreshold::Lte

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/billing/alert_create_params.rb

Defined Under Namespace

Classes: CustomPricingUnit, Monetary

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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_typeObject

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_unitObject

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

#monetaryObject

The monetary amount.



99
100
101
# File 'lib/stripe/params/billing/alert_create_params.rb', line 99

def monetary
  @monetary
end