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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_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.



1493
1494
1495
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1493

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

Instance Attribute Details

#amountObject

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



1491
1492
1493
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1491

def amount
  @amount
end