Class: Stripe::AccountService::CreateParams::BusinessProfile::AnnualRevenue

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, currency: nil, fiscal_year_end: nil) ⇒ AnnualRevenue

Returns a new instance of AnnualRevenue.



2394
2395
2396
2397
2398
# File 'lib/stripe/services/account_service.rb', line 2394

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

Instance Attribute Details

#amountObject

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



2388
2389
2390
# File 'lib/stripe/services/account_service.rb', line 2388

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



2390
2391
2392
# File 'lib/stripe/services/account_service.rb', line 2390

def currency
  @currency
end

#fiscal_year_endObject

The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.



2392
2393
2394
# File 'lib/stripe/services/account_service.rb', line 2392

def fiscal_year_end
  @fiscal_year_end
end