Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::BusinessDetails::MonthlyEstimatedRevenue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(amount: nil) ⇒ MonthlyEstimatedRevenue

Returns a new instance of MonthlyEstimatedRevenue.



612
613
614
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 612

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

Instance Attribute Details

#amountObject

A non-negative integer representing the amount in the smallest currency unit.



610
611
612
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 610

def amount
  @amount
end