ShipmentACSReportOrderGroupCellDTO.java

package com.tradecloud.dto.shipment.actualsummarycosting;

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;

/**
 * Created by IntelliJ IDEA.
 * User: ds
 * Date: 2014/03/07
 * Time: 7:39 AM
 * To change this template use File | Settings | File Templates.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "CostGroupCell")
public class ShipmentACSReportOrderGroupCellDTO {

    @XmlAttribute(required = true)
    String costLineName;

    @XmlAttribute(required = true)
    double spotRate;

    @XmlAttribute(required = true)
    double forwardRate;

    @XmlAttribute(required = true)
    double total;

    @XmlAttribute(required = true)
    String transactionCurrency;

    @XmlAttribute(required = true)
    BigDecimal transactionAmount;

    @XmlAttribute(required = true)
    double costLinePercentage;

    @XmlAttribute(required = true)
    String costLinePercentageUnit;

    public String getCostLineName() {
        return costLineName;
    }

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

    public double getSpotRate() {
        return spotRate;
    }

    public void setSpotRate(double spotRate) {
        this.spotRate = spotRate;
    }

    public double getForwardRate() {
        return forwardRate;
    }

    public void setForwardRate(double forwardRate) {
        this.forwardRate = forwardRate;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getCostLinePercentage() {
        return costLinePercentage;
    }

    public void setCostLinePercentage(double costLinePercentage) {
        this.costLinePercentage = costLinePercentage;
    }

    public String getTransactionCurrency() {
        return transactionCurrency;
    }

    public void setTransactionCurrency(String transactionCurrency) {
        this.transactionCurrency = transactionCurrency;
    }

    public String getCostLinePercentageUnit() {
        return costLinePercentageUnit;
    }

    public void setCostLinePercentageUnit(String costLinePercentageUnit) {
        this.costLinePercentageUnit = costLinePercentageUnit;
    }

    public BigDecimal getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(BigDecimal transactionAmount) {
        this.transactionAmount = transactionAmount;
    }
}