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

#to_h

Constructor Details

#initialize(registrar: nil, type: nil, value: nil) ⇒ IdNumber

Returns a new instance of IdNumber.



2007
2008
2009
2010
2011
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2007

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).



2001
2002
2003
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2001

def registrar
  @registrar
end

#typeObject

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



2003
2004
2005
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2003

def type
  @type
end

#valueObject

The value of the ID number.



2005
2006
2007
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 2005

def value
  @value
end