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.



358
359
360
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 358

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

Instance Attribute Details

#amountObject

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



356
357
358
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 356

def amount
  @amount
end