Class: Stripe::Account::CreateParams::BusinessProfile::MonthlyEstimatedRevenue

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, currency: nil) ⇒ MonthlyEstimatedRevenue

Returns a new instance of MonthlyEstimatedRevenue.



2912
2913
2914
2915
# File 'lib/stripe/resources/account.rb', line 2912

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

Instance Attribute Details

#amountObject

A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).



2908
2909
2910
# File 'lib/stripe/resources/account.rb', line 2908

def amount
  @amount
end

#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).



2910
2911
2912
# File 'lib/stripe/resources/account.rb', line 2910

def currency
  @currency
end