Class: Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue

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) ⇒ MonthlyEstimatedRevenue

Returns a new instance of MonthlyEstimatedRevenue.



95
96
97
98
# File 'lib/stripe/services/account_service.rb', line 95

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



90
91
92
# File 'lib/stripe/services/account_service.rb', line 90

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



93
94
95
# File 'lib/stripe/services/account_service.rb', line 93

def currency
  @currency
end