AdvancedPaymentDTO.java

package com.tradecloud.dto.shipment.actualunitcosting;

import com.tradecloud.common.base.PersistenceBase;
import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import java.math.BigDecimal;

@XmlAccessorType(XmlAccessType.FIELD)
@Getter
@Setter
public class AdvancedPaymentDTO extends PersistenceBase {
    private BigDecimal amount;
    private String reference;
    private String currency;

    public AdvancedPaymentDTO() {
    }

    public AdvancedPaymentDTO(BigDecimal amount, String reference, String currency) {
        this.amount = amount;
        this.reference = reference;
        this.currency = currency;
    }
}