mx.emite.sdk.cfdi32.Receptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ef-sdk-java Show documentation
Show all versions of ef-sdk-java Show documentation
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
The newest version!
package mx.emite.sdk.cfdi32;
import javax.validation.Valid;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import mx.emite.sdk.cfdi32.anotaciones.Rfc;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "domicilio" })
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Receptor{
@XmlElement(name = "Domicilio", namespace = "http://www.sat.gob.mx/cfd/3", required = true)
@Valid
private TUbicacion domicilio;
@XmlAttribute(required = true)
@NotNull
protected String nombre;
@XmlAttribute(required = true)
@NotNull @Rfc
protected String rfc;
}