module Nodes class TaxDetained < ::BuhoCfdi::BaseNode attr_accessor( :base, # Base - required :tax, # Impuesto - required :factor_type, # TipoFactor - required :rate_or_fee, # TasaOCuota - required :import # Importe - required ) validates_presence_of( :base, :tax, :factor_type, :rate_or_fee, :import ) end end