Class: Stripe::AccountCreateParams::Capabilities::CryptoPayments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(requested: nil) ⇒ CryptoPayments

Returns a new instance of CryptoPayments.



302
303
304
# File 'lib/stripe/params/account_create_params.rb', line 302

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.



300
301
302
# File 'lib/stripe/params/account_create_params.rb', line 300

def requested
  @requested
end