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

com.unzer.payment.communication.json.ApiInstallmentSecuredRatePlan Maven / Gradle / Ivy

package com.unzer.payment.communication.json;

import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.unzer.payment.business.paymenttypes.InstallmentSecuredRate;
import com.unzer.payment.communication.JsonDateConverter;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ApiInstallmentSecuredRatePlan extends ApiIdObject implements ApiObject {
    private String iban;
    private String bic;
    private String accountHolder;
    @JsonAdapter(JsonDateConverter.class)
    private Date invoiceDate;
    @JsonAdapter(JsonDateConverter.class)
    private Date invoiceDueDate;

    private int numberOfRates;

    @SerializedName("dayOfPurchase")
    @JsonAdapter(JsonDateConverter.class)
    private Date orderDate;

    private BigDecimal totalPurchaseAmount;
    private BigDecimal totalInterestAmount;
    private BigDecimal totalAmount;
    private BigDecimal effectiveInterestRate;
    private BigDecimal nominalInterestRate;
    private BigDecimal feeFirstRate;
    private BigDecimal feePerRate;
    private BigDecimal monthlyRate;
    private BigDecimal lastRate;
    private List rateList = new ArrayList();

    public int getNumberOfRates() {
        return numberOfRates;
    }

    public void setNumberOfRates(int numberOfRates) {
        this.numberOfRates = numberOfRates;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public BigDecimal getTotalPurchaseAmount() {
        return totalPurchaseAmount;
    }

    public void setTotalPurchaseAmount(BigDecimal totalPurchaseAmount) {
        this.totalPurchaseAmount = totalPurchaseAmount;
    }

    public BigDecimal getTotalInterestAmount() {
        return totalInterestAmount;
    }

    public void setTotalInterestAmount(BigDecimal totalInterestAmount) {
        this.totalInterestAmount = totalInterestAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getEffectiveInterestRate() {
        return effectiveInterestRate;
    }

    public void setEffectiveInterestRate(BigDecimal effectiveInterestRate) {
        this.effectiveInterestRate = effectiveInterestRate;
    }

    public BigDecimal getNominalInterestRate() {
        return nominalInterestRate;
    }

    public void setNominalInterestRate(BigDecimal nominalInterestRate) {
        this.nominalInterestRate = nominalInterestRate;
    }

    public BigDecimal getFeeFirstRate() {
        return feeFirstRate;
    }

    public void setFeeFirstRate(BigDecimal feeFirstRate) {
        this.feeFirstRate = feeFirstRate;
    }

    public BigDecimal getFeePerRate() {
        return feePerRate;
    }

    public void setFeePerRate(BigDecimal feePerRate) {
        this.feePerRate = feePerRate;
    }

    public BigDecimal getMonthlyRate() {
        return monthlyRate;
    }

    public void setMonthlyRate(BigDecimal monthlyRate) {
        this.monthlyRate = monthlyRate;
    }

    public BigDecimal getLastRate() {
        return lastRate;
    }

    public void setLastRate(BigDecimal lastRate) {
        this.lastRate = lastRate;
    }

    public List getRateList() {
        return rateList;
    }

    public void setRateList(List rateList) {
        this.rateList = rateList;
    }

    public String getIban() {
        return iban;
    }

    public void setIban(String iban) {
        this.iban = iban;
    }

    public String getBic() {
        return bic;
    }

    public void setBic(String bic) {
        this.bic = bic;
    }

    public Date getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(Date invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    public Date getInvoiceDueDate() {
        return invoiceDueDate;
    }

    public void setInvoiceDueDate(Date invoiceDueDate) {
        this.invoiceDueDate = invoiceDueDate;
    }

    public String getAccountHolder() {
        return accountHolder;
    }

    public void setAccountHolder(String accountHolder) {
        this.accountHolder = accountHolder;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy