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

io.inisos.bank4j.Transaction Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package io.inisos.bank4j;

import java.math.BigDecimal;
import java.util.Optional;

/**
 * Transaction
 */
public interface Transaction {

    /**
     * @return third party identification
     */
    Optional getParty();

    /**
     * @return cash account
     */
    BankAccount getAccount();

    /**
     * @return transaction amount
     */
    BigDecimal getAmount();

    /**
     * @return transaction currency
     */
    String getCurrencyCode();

    /**
     * @return end-to-end identifier
     */
    String getEndToEndId();

    /**
     * @return optional identifier
     */
    Optional getId();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy