Class: Stripe::V2::Core::AccountLink::UseCase::AccountUpdate
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Core::AccountLink::UseCase::AccountUpdate
- Defined in:
- lib/stripe/resources/v2/core/account_link.rb
Defined Under Namespace
Classes: CollectionOptions
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#collection_options ⇒ Object
readonly
Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow.
-
#configurations ⇒ Object
readonly
Open Enum.
-
#refresh_url ⇒ Object
readonly
The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid.
-
#return_url ⇒ Object
readonly
The URL that the user will be redirected to upon completing the linked flow.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#collection_options ⇒ Object (readonly)
Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow.
64 65 66 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 64 def end |
#configurations ⇒ Object (readonly)
Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s.
66 67 68 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 66 def configurations @configurations end |
#refresh_url ⇒ Object (readonly)
The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can’t be generated, or if the redirect fails, you should display a useful error to the user.
68 69 70 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 68 def refresh_url @refresh_url end |
#return_url ⇒ Object (readonly)
The URL that the user will be redirected to upon completing the linked flow.
70 71 72 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 70 def return_url @return_url end |
Class Method Details
.field_remappings ⇒ Object
76 77 78 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 76 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
72 73 74 |
# File 'lib/stripe/resources/v2/core/account_link.rb', line 72 def self.inner_class_types @inner_class_types = { collection_options: CollectionOptions } end |