ExportDocumentsInvoicesOnShipmentsDTO.java

package com.tradecloud.dto.export;

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 java.math.BigDecimal;
import java.util.Date;

/**
 * Created by ds on 25/09/17.
 */
@XmlRootElement(name = "ExportDocumentsInvoicesOnShipmentsDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class ExportDocumentsInvoicesOnShipmentsDTO {

    @XmlAttribute
    private String shipmentNumber;
    @XmlAttribute
    private String exportersReference;
    @XmlAttribute
    private String shipmentConsignee;
    @XmlAttribute
    private String invoiceReference;
    @XmlAttribute
    private String invoiceConsignee;
    @XmlAttribute
    private BigDecimal shipmentAmount;
    @XmlAttribute
    private String invoiceCurrency;
    @XmlAttribute
    private String countryOfDestination;
    @XmlAttribute
    private String shipmentState;
    @XmlAttribute
    private Date shipmentCreationDate;
    @XmlAttribute
    private boolean shipmentType;

    public String getShipmentNumber() {
        return shipmentNumber;
    }

    public void setShipmentNumber(String shipmentNumber) {
        this.shipmentNumber = shipmentNumber;
    }

    public String getExportersReference() {
        return exportersReference;
    }

    public void setExportersReference(String exportersReference) {
        this.exportersReference = exportersReference;
    }

    public String getShipmentConsignee() {
        return shipmentConsignee;
    }

    public void setShipmentConsignee(String shipmentConsignee) {
        this.shipmentConsignee = shipmentConsignee;
    }

    public String getInvoiceReference() {
        return invoiceReference;
    }

    public void setInvoiceReference(String invoiceReference) {
        this.invoiceReference = invoiceReference;
    }

    public String getInvoiceConsignee() {
        return invoiceConsignee;
    }

    public void setInvoiceConsignee(String invoiceConsignee) {
        this.invoiceConsignee = invoiceConsignee;
    }

    public String getInvoiceCurrency() {
        return invoiceCurrency;
    }

    public void setInvoiceCurrency(String invoiceCurrency) {
        this.invoiceCurrency = invoiceCurrency;
    }

    public String getCountryOfDestination() {
        return countryOfDestination;
    }

    public void setCountryOfDestination(String countryOfDestination) {
        this.countryOfDestination = countryOfDestination;
    }

    public String getShipmentState() {
        return shipmentState;
    }

    public void setShipmentState(String shipmentState) {
        this.shipmentState = shipmentState;
    }

    public Date getShipmentCreationDate() {
        return shipmentCreationDate;
    }

    public void setShipmentCreationDate(Date shipmentCreationDate) {
        this.shipmentCreationDate = shipmentCreationDate;
    }

    public boolean getShipmentType() {
        return shipmentType;
    }

    public void setShipmentType(boolean shipmentType) {
        this.shipmentType = shipmentType;
    }

    public BigDecimal getShipmentAmount() {
        return shipmentAmount;
    }

    public void setShipmentAmount(BigDecimal shipmentAmount) {
        this.shipmentAmount = shipmentAmount;
    }
}