Class: MercadoPago::CustomCheckout::IdentificationType

Inherits:
Resource
  • Object
show all
Defined in:
lib/mercadopago/custom_checkout/identification_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#inspect

Constructor Details

#initialize(id:, name:, **extras) ⇒ IdentificationType

Returns a new instance of IdentificationType.



6
7
8
9
10
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 6

def initialize(id:, name:, **extras)
  @id = id
  @name = name
  @extras = extras
end

Instance Attribute Details

#extrasObject (readonly)

Returns the value of attribute extras.



4
5
6
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4

def extras
  @extras
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4

def name
  @name
end