Class: Stripe::AccountService::CreateParams::Capabilities::AfterpayClearpayPayments

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(requested: nil) ⇒ AfterpayClearpayPayments

Returns a new instance of AfterpayClearpayPayments.



2180
2181
2182
# File 'lib/stripe/services/account_service.rb', line 2180

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.



2178
2179
2180
# File 'lib/stripe/services/account_service.rb', line 2178

def requested
  @requested
end