Class: Stripe::V2::Core::AccountUpdateParams::Identity::BusinessDetails::MonthlyEstimatedRevenue::Amount

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(value: nil, currency: nil) ⇒ Amount

Returns a new instance of Amount.



1486
1487
1488
1489
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1486

def initialize(value: nil, currency: nil)
  @value = value
  @currency = currency
end

Instance Attribute Details

#currencyObject

Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).



1484
1485
1486
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1484

def currency
  @currency
end

#valueObject

A non-negative integer representing how much to charge in the [smallest currency unit](docs.stripe.com/currencies#minor-units).



1482
1483
1484
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1482

def value
  @value
end