Class: GOBL::Regimes::Mx::FoodVouchersLine
- Defined in:
- lib/generated/gobl/regimes/mx/food_vouchers_line.rb
Overview
FoodVouchersLine represents a single food voucher issued to the e-wallet of one of the customer’s employees.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL FoodVouchersLine structure
'https://gobl.org/draft-0/regimes/mx/food-vouchers#/$defs/FoodVouchersLine'
Instance Attribute Summary collapse
-
#amount ⇒ GOBL::Num::Amount
readonly
Amount of the food voucher (maps to ‘importe`).
-
#e_wallet_id ⇒ GOBL::CBC::Code
readonly
Identifier of the e-wallet that received the food voucher (maps to ‘Identificador`).
-
#employee ⇒ FoodVouchersEmployee
readonly
Employee that received the food voucher.
-
#i ⇒ Integer
readonly
Line number starting from 1 (calculated).
-
#issue_date_time ⇒ GOBL::Cal::DateTime
readonly
Date and time of the food voucher’s issue (maps to ‘Fecha`).
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#amount ⇒ GOBL::Num::Amount (readonly)
Amount of the food voucher (maps to ‘importe`).
41 |
# File 'lib/generated/gobl/regimes/mx/food_vouchers_line.rb', line 41 property :amount, GOBL::Num::Amount |
#e_wallet_id ⇒ GOBL::CBC::Code (readonly)
Identifier of the e-wallet that received the food voucher (maps to ‘Identificador`).
24 |
# File 'lib/generated/gobl/regimes/mx/food_vouchers_line.rb', line 24 property :e_wallet_id, GOBL::CBC::Code |
#employee ⇒ FoodVouchersEmployee (readonly)
Employee that received the food voucher.
36 |
# File 'lib/generated/gobl/regimes/mx/food_vouchers_line.rb', line 36 property :employee, FoodVouchersEmployee |
#i ⇒ Integer (readonly)
Line number starting from 1 (calculated).
19 |
# File 'lib/generated/gobl/regimes/mx/food_vouchers_line.rb', line 19 property :i, Integer |
#issue_date_time ⇒ GOBL::Cal::DateTime (readonly)
Date and time of the food voucher’s issue (maps to ‘Fecha`).
30 |
# File 'lib/generated/gobl/regimes/mx/food_vouchers_line.rb', line 30 property :issue_date_time, GOBL::Cal::DateTime |