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

mx.emite.sdk.cfdi32.Concepto 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.math.BigDecimal;

import javax.validation.constraints.Min;
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.adapters.XmlJavaTypeAdapter;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import mx.emite.sdk.enums.sat.UnidadesMedida;
import mx.emite.sdk.enums.sat.adaptadores.UnidadesMedidaAdapter;

@XmlAccessorType(XmlAccessType.FIELD)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Concepto {

	
	@XmlAttribute(required = true)
	@NotNull @Min(value = 0)
	private BigDecimal cantidad;
	
	@XmlAttribute(required = true)
	@NotNull
	private String descripcion;
	
	@XmlAttribute(required = true)
	@NotNull @Min(value = 0)
	private BigDecimal importe;
	
	@XmlAttribute
	private String noIdentificacion;
	
	@XmlAttribute
	@XmlJavaTypeAdapter(UnidadesMedidaAdapter.class)
	@NotNull
	private UnidadesMedida unidad;
	
	@XmlAttribute(required = true)
	@NotNull @Min(value = 0)
	private BigDecimal valorUnitario;

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy