All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mx.emite.sdk.cfdi32.TimbreFiscalDigital Maven / Gradle / Ivy

Go to download

Este kit de consumo provee a los integradores de Apis de Java para construir software que consuma los diferentes servicios web publicados por Emite Facturacion

There is a newer version: 0.1.4
Show newest version
package mx.emite.sdk.cfdi32;

import java.time.LocalDateTime;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import mx.emite.sdk.utils.LocalDateTimeAdapter;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimbreFiscalDigital")
@XmlRootElement(name = "TimbreFiscalDigital")
@Data
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class TimbreFiscalDigital{

	
	@XmlAttribute(required = true)
	@NotNull
	protected String selloSAT;

	@XmlAttribute(required = true)
	@NotNull
	protected String noCertificadoSAT;

	@XmlAttribute(required = true)
	@NotNull
	protected String selloCFD;

	@XmlAttribute(required = true, name = "FechaTimbrado")
	@XmlJavaTypeAdapter(LocalDateTimeAdapter.class)
	@NotNull
	protected LocalDateTime FechaTimbrado;

	@XmlAttribute(required = true, name = "UUID")
	@NotNull
	protected String UUID;

	@XmlAttribute(required = true)
	@NotNull
	protected String version = "1.0";

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy