Class: GOBL::Regimes::Mx::FoodVouchersEmployee

Inherits:
Object
  • Object
show all
Defined in:
lib/generated/gobl/regimes/mx/food_vouchers_employee.rb

Overview

FoodVouchersEmployee represents an employee that received a food voucher.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL FoodVouchersEmployee structure

'https://gobl.org/draft-0/regimes/mx/food-vouchers#/$defs/FoodVouchersEmployee'

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#curpGOBL::CBC::Code (readonly)

Employee’s CURP (“Clave Única de Registro de Población”, maps to ‘curp`).

Returns:



25
# File 'lib/generated/gobl/regimes/mx/food_vouchers_employee.rb', line 25

property :curp, GOBL::CBC::Code

#nameString (readonly)

Employee’s name (maps to ‘nombre`).

Returns:

  • (String)


31
# File 'lib/generated/gobl/regimes/mx/food_vouchers_employee.rb', line 31

property :name, String

#social_securityGOBL::CBC::Code (readonly)

Employee’s Social Security Number (maps to ‘numSeguridadSocial`).

Returns:



37
# File 'lib/generated/gobl/regimes/mx/food_vouchers_employee.rb', line 37

property :social_security, GOBL::CBC::Code

#tax_codeGOBL::CBC::Code (readonly)

Employee’s tax identity code (maps to ‘rfc`).

Returns:



19
# File 'lib/generated/gobl/regimes/mx/food_vouchers_employee.rb', line 19

property :tax_code, GOBL::CBC::Code