Class: FmTimbradoCfdi::FmTimbre

Inherits:
FmCfdiParser show all
Defined in:
lib/fm_adapter/fm_timbre.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from FmCfdiParser

#initialize

Constructor Details

This class inherits a constructor from FmTimbradoCfdi::FmCfdiParser

Instance Attribute Details

#fecha_comprobanteObject (readonly)

Returns the value of attribute fecha_comprobante.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def fecha_comprobante
  @fecha_comprobante
end

#fecha_timbradoObject (readonly)

Returns the value of attribute fecha_timbrado.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def fecha_timbrado
  @fecha_timbrado
end

#folioObject (readonly)

Returns the value of attribute folio.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def folio
  @folio
end

#no_certificadoObject (readonly)

Returns the value of attribute no_certificado.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def no_certificado
  @no_certificado
end

#no_certificado_satObject (readonly)

Returns the value of attribute no_certificado_sat.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def no_certificado_sat
  @no_certificado_sat
end

#rfc_provedor_certificacionObject (readonly)

Returns the value of attribute rfc_provedor_certificacion.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def rfc_provedor_certificacion
  @rfc_provedor_certificacion
end

#sello_cfdObject (readonly)

Returns the value of attribute sello_cfd.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def sello_cfd
  @sello_cfd
end

#sello_satObject (readonly)

Returns the value of attribute sello_sat.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def sello_sat
  @sello_sat
end

#serieObject (readonly)

Returns the value of attribute serie.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def serie
  @serie
end

#trans_idObject (readonly)

Returns the value of attribute trans_id.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def trans_id
  @trans_id
end

#uuidObject (readonly)

Returns the value of attribute uuid.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def uuid
  @uuid
end

#versionObject (readonly)

Returns the value of attribute version.



6
7
8
# File 'lib/fm_adapter/fm_timbre.rb', line 6

def version
  @version
end

Instance Method Details

#cadena_originalObject



9
10
11
# File 'lib/fm_adapter/fm_timbre.rb', line 9

def cadena_original
  "||#{version}|#{uuid}|#{fecha_timbrado}|#{sello_cfd}|#{no_certificado_sat}||"
end