ProFromaInvoiceCostlineDTO.java

package com.tradecloud.dto.consignment;

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.io.Serializable;
import java.math.BigDecimal;

@XmlRootElement(name = "ProFromaInvoiceCostlineDTO")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProFromaInvoiceCostlineDTO implements Serializable {

    @XmlAttribute(required = true)
    private String costLineName;

    @XmlAttribute(required = true)
    private BigDecimal costLineValue;

    @XmlAttribute(required = true)
    private String costlineCurrency;

    public String getCostLineName() {
        return costLineName;
    }

    public void setCostLineName(String costLineName) {
        this.costLineName = costLineName;
    }

    public BigDecimal getCostLineValue() {
        return costLineValue;
    }

    public void setCostLineValue(BigDecimal costLineValue) {
        this.costLineValue = costLineValue;
    }

    public String getCostlineCurrency() {
        return costlineCurrency;
    }

    public void setCostlineCurrency(String costlineCurrency) {
        this.costlineCurrency = costlineCurrency;
    }
}