Class: Stripe::V2::Core::AccountUpdateParams::Identity::BusinessDetails::IdNumber

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

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(registrar: nil, type: nil, value: nil) ⇒ IdNumber

Returns a new instance of IdNumber.



3014
3015
3016
3017
3018
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3014

def initialize(registrar: nil, type: nil, value: nil)
  @registrar = registrar
  @type = type
  @value = value
end

Instance Attribute Details

#registrarObject

The registrar of the ID number (Only valid for DE ID number types).



3008
3009
3010
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3008

def registrar
  @registrar
end

#typeObject

Open Enum. The ID number type of a business entity.



3010
3011
3012
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3010

def type
  @type
end

#valueObject

The value of the ID number.



3012
3013
3014
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 3012

def value
  @value
end