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

de.adorsys.xs2a.adapter.fiducia.model.FiduciaTransactionDetails Maven / Gradle / Ivy

There is a newer version: 0.1.18-alpha-release-candidate
Show newest version
package de.adorsys.xs2a.adapter.fiducia.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import de.adorsys.xs2a.adapter.api.model.*;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.Objects;

public class FiduciaTransactionDetails {
    private String transactionId;

    private String entryReference;

    private String endToEndId;

    private String mandateId;

    private String checkId;

    private String creditorId;

    private LocalDate bookingDate;

    private LocalDate valueDate;

    private Amount transactionAmount;

    private String creditorName;

    private AccountReference creditorAccount;

    private String creditorAgent;

    private String ultimateCreditor;

    private String debtorName;

    private AccountReference debtorAccount;

    private String debtorAgent;

    private String ultimateDebtor;

    private String remittanceInformationUnstructured;

    private List remittanceInformationUnstructuredArray;

    private String remittanceInformationStructured;

    private List remittanceInformationStructuredArray;

    private String additionalInformation;

    private FiduciaAdditionalInformationStructured additionalInformationStructured;

    private PurposeCode purposeCode;

    private String bankTransactionCode;

    private String proprietaryBankTransactionCode;

    private Balance balanceAfterTransaction;

    @JsonProperty("_links")
    private Map links;

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getEntryReference() {
        return entryReference;
    }

    public void setEntryReference(String entryReference) {
        this.entryReference = entryReference;
    }

    public String getEndToEndId() {
        return endToEndId;
    }

    public void setEndToEndId(String endToEndId) {
        this.endToEndId = endToEndId;
    }

    public String getMandateId() {
        return mandateId;
    }

    public void setMandateId(String mandateId) {
        this.mandateId = mandateId;
    }

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public String getCreditorId() {
        return creditorId;
    }

    public void setCreditorId(String creditorId) {
        this.creditorId = creditorId;
    }

    public LocalDate getBookingDate() {
        return bookingDate;
    }

    public void setBookingDate(LocalDate bookingDate) {
        this.bookingDate = bookingDate;
    }

    public LocalDate getValueDate() {
        return valueDate;
    }

    public void setValueDate(LocalDate valueDate) {
        this.valueDate = valueDate;
    }

    public Amount getTransactionAmount() {
        return transactionAmount;
    }

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

    public String getCreditorName() {
        return creditorName;
    }

    public void setCreditorName(String creditorName) {
        this.creditorName = creditorName;
    }

    public AccountReference getCreditorAccount() {
        return creditorAccount;
    }

    public void setCreditorAccount(AccountReference creditorAccount) {
        this.creditorAccount = creditorAccount;
    }

    public String getCreditorAgent() {
        return creditorAgent;
    }

    public void setCreditorAgent(String creditorAgent) {
        this.creditorAgent = creditorAgent;
    }

    public String getUltimateCreditor() {
        return ultimateCreditor;
    }

    public void setUltimateCreditor(String ultimateCreditor) {
        this.ultimateCreditor = ultimateCreditor;
    }

    public String getDebtorName() {
        return debtorName;
    }

    public void setDebtorName(String debtorName) {
        this.debtorName = debtorName;
    }

    public AccountReference getDebtorAccount() {
        return debtorAccount;
    }

    public void setDebtorAccount(AccountReference debtorAccount) {
        this.debtorAccount = debtorAccount;
    }

    public String getDebtorAgent() {
        return debtorAgent;
    }

    public void setDebtorAgent(String debtorAgent) {
        this.debtorAgent = debtorAgent;
    }

    public String getUltimateDebtor() {
        return ultimateDebtor;
    }

    public void setUltimateDebtor(String ultimateDebtor) {
        this.ultimateDebtor = ultimateDebtor;
    }

    public String getRemittanceInformationUnstructured() {
        return remittanceInformationUnstructured;
    }

    public void setRemittanceInformationUnstructured(String remittanceInformationUnstructured) {
        this.remittanceInformationUnstructured = remittanceInformationUnstructured;
    }

    public List getRemittanceInformationUnstructuredArray() {
        return remittanceInformationUnstructuredArray;
    }

    public void setRemittanceInformationUnstructuredArray(
        List remittanceInformationUnstructuredArray) {
        this.remittanceInformationUnstructuredArray = remittanceInformationUnstructuredArray;
    }

    public String getRemittanceInformationStructured() {
        return remittanceInformationStructured;
    }

    public void setRemittanceInformationStructured(
        String remittanceInformationStructured) {
        this.remittanceInformationStructured = remittanceInformationStructured;
    }

    public List getRemittanceInformationStructuredArray() {
        return remittanceInformationStructuredArray;
    }

    public void setRemittanceInformationStructuredArray(
        List remittanceInformationStructuredArray) {
        this.remittanceInformationStructuredArray = remittanceInformationStructuredArray;
    }

    public String getAdditionalInformation() {
        return additionalInformation;
    }

    public void setAdditionalInformation(String additionalInformation) {
        this.additionalInformation = additionalInformation;
    }

    public FiduciaAdditionalInformationStructured getAdditionalInformationStructured() {
        return additionalInformationStructured;
    }

    public void setAdditionalInformationStructured(
        FiduciaAdditionalInformationStructured additionalInformationStructured) {
        this.additionalInformationStructured = additionalInformationStructured;
    }

    public PurposeCode getPurposeCode() {
        return purposeCode;
    }

    public void setPurposeCode(PurposeCode purposeCode) {
        this.purposeCode = purposeCode;
    }

    public String getBankTransactionCode() {
        return bankTransactionCode;
    }

    public void setBankTransactionCode(String bankTransactionCode) {
        this.bankTransactionCode = bankTransactionCode;
    }

    public String getProprietaryBankTransactionCode() {
        return proprietaryBankTransactionCode;
    }

    public void setProprietaryBankTransactionCode(String proprietaryBankTransactionCode) {
        this.proprietaryBankTransactionCode = proprietaryBankTransactionCode;
    }

    public Balance getBalanceAfterTransaction() {
        return balanceAfterTransaction;
    }

    public void setBalanceAfterTransaction(Balance balanceAfterTransaction) {
        this.balanceAfterTransaction = balanceAfterTransaction;
    }

    public Map getLinks() {
        return links;
    }

    public void setLinks(Map links) {
        this.links = links;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FiduciaTransactionDetails that = (FiduciaTransactionDetails) o;
        return Objects.equals(transactionId, that.transactionId) &&
            Objects.equals(entryReference, that.entryReference) &&
            Objects.equals(endToEndId, that.endToEndId) &&
            Objects.equals(mandateId, that.mandateId) &&
            Objects.equals(checkId, that.checkId) &&
            Objects.equals(creditorId, that.creditorId) &&
            Objects.equals(bookingDate, that.bookingDate) &&
            Objects.equals(valueDate, that.valueDate) &&
            Objects.equals(transactionAmount, that.transactionAmount) &&
            Objects.equals(creditorName, that.creditorName) &&
            Objects.equals(creditorAccount, that.creditorAccount) &&
            Objects.equals(creditorAgent, that.creditorAgent) &&
            Objects.equals(ultimateCreditor, that.ultimateCreditor) &&
            Objects.equals(debtorName, that.debtorName) &&
            Objects.equals(debtorAccount, that.debtorAccount) &&
            Objects.equals(debtorAgent, that.debtorAgent) &&
            Objects.equals(ultimateDebtor, that.ultimateDebtor) &&
            Objects.equals(remittanceInformationUnstructured, that.remittanceInformationUnstructured) &&
            Objects.equals(remittanceInformationUnstructuredArray, that.remittanceInformationUnstructuredArray) &&
            Objects.equals(remittanceInformationStructured, that.remittanceInformationStructured) &&
            Objects.equals(remittanceInformationStructuredArray, that.remittanceInformationStructuredArray) &&
            Objects.equals(additionalInformation, that.additionalInformation) &&
            Objects.equals(additionalInformationStructured, that.additionalInformationStructured) &&
            Objects.equals(purposeCode, that.purposeCode) &&
            Objects.equals(bankTransactionCode, that.bankTransactionCode) &&
            Objects.equals(proprietaryBankTransactionCode, that.proprietaryBankTransactionCode) &&
            Objects.equals(balanceAfterTransaction, that.balanceAfterTransaction) &&
            Objects.equals(links, that.links);
    }

    @Override
    public int hashCode() {
        return Objects.hash(transactionId,
            entryReference,
            endToEndId,
            mandateId,
            checkId,
            creditorId,
            bookingDate,
            valueDate,
            transactionAmount,
            creditorName,
            creditorAccount,
            creditorAgent,
            ultimateCreditor,
            debtorName,
            debtorAccount,
            debtorAgent,
            ultimateDebtor,
            remittanceInformationUnstructured,
            remittanceInformationUnstructuredArray,
            remittanceInformationStructured,
            remittanceInformationStructuredArray,
            additionalInformation,
            additionalInformationStructured,
            purposeCode,
            bankTransactionCode,
            proprietaryBankTransactionCode,
            balanceAfterTransaction,
            links);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy