Class: Stripe::Account::UpdateParams::BusinessProfile::AnnualRevenue

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, fiscal_year_end: nil) ⇒ AnnualRevenue

Returns a new instance of AnnualRevenue.



1161
1162
1163
1164
1165
# File 'lib/stripe/resources/account.rb', line 1161

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



1155
1156
1157
# File 'lib/stripe/resources/account.rb', line 1155

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



1157
1158
1159
# File 'lib/stripe/resources/account.rb', line 1157

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.



1159
1160
1161
# File 'lib/stripe/resources/account.rb', line 1159

def fiscal_year_end
  @fiscal_year_end
end