Class: Stripe::V2::Core::AccountService::CreateParams::Identity::BusinessDetails::IdNumber

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_service.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.



1537
1538
1539
1540
1541
# File 'lib/stripe/services/v2/core/account_service.rb', line 1537

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



1531
1532
1533
# File 'lib/stripe/services/v2/core/account_service.rb', line 1531

def registrar
  @registrar
end

#typeObject

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



1533
1534
1535
# File 'lib/stripe/services/v2/core/account_service.rb', line 1533

def type
  @type
end

#valueObject

The value of the ID number.



1535
1536
1537
# File 'lib/stripe/services/v2/core/account_service.rb', line 1535

def value
  @value
end