Class: Stripe::V2::Core::AccountUpdateParams::Identity::Individual::Documents::SecondaryVerification

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_params.rb

Defined Under Namespace

Classes: FrontBack

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(front_back: nil, type: nil) ⇒ SecondaryVerification

Returns a new instance of SecondaryVerification.



2098
2099
2100
2101
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2098

def initialize(front_back: nil, type: nil)
  @front_back = front_back
  @type = type
end

Instance Attribute Details

#front_backObject

The [file upload](docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document.



2094
2095
2096
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2094

def front_back
  @front_back
end

#typeObject

The format of the verification document. Currently supports ‘front_back` only.



2096
2097
2098
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2096

def type
  @type
end