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.



1731
1732
1733
1734
1735
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1731

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



1725
1726
1727
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1725

def registrar
  @registrar
end

#typeObject

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



1727
1728
1729
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1727

def type
  @type
end

#valueObject

The value of the ID number.



1729
1730
1731
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1729

def value
  @value
end