Class: Stripe::Account::CreateParams::Capabilities::CashappPayments

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(requested: nil) ⇒ CashappPayments

Returns a new instance of CashappPayments.



2843
2844
2845
# File 'lib/stripe/resources/account.rb', line 2843

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

Instance Attribute Details

#requestedObject

Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the ‘requirements` arrays.



2841
2842
2843
# File 'lib/stripe/resources/account.rb', line 2841

def requested
  @requested
end