Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections

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

Defined Under Namespace

Classes: Filters

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil) ⇒ FinancialConnections

Returns a new instance of FinancialConnections.



6554
6555
6556
6557
6558
6559
# File 'lib/stripe/services/payment_intent_service.rb', line 6554

def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
  @filters = filters
  @permissions = permissions
  @prefetch = prefetch
  @return_url = return_url
end

Instance Attribute Details

#filtersObject

Provide filters for the linked accounts that the customer can select for the payment method.



6546
6547
6548
# File 'lib/stripe/services/payment_intent_service.rb', line 6546

def filters
  @filters
end

#permissionsObject

The list of permissions to request. If this parameter is passed, the ‘payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.



6548
6549
6550
# File 'lib/stripe/services/payment_intent_service.rb', line 6548

def permissions
  @permissions
end

#prefetchObject

List of data features that you would like to retrieve upon account creation.



6550
6551
6552
# File 'lib/stripe/services/payment_intent_service.rb', line 6550

def prefetch
  @prefetch
end

#return_urlObject

For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.



6552
6553
6554
# File 'lib/stripe/services/payment_intent_service.rb', line 6552

def return_url
  @return_url
end