Class: Stripe::V2::Core::AccountLink::UseCase::AccountUpdate

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

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_optionsObject (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 collection_options
  @collection_options
end

#configurationsObject (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_urlObject (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_urlObject (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_remappingsObject



76
77
78
# File 'lib/stripe/resources/v2/core/account_link.rb', line 76

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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