io.inisos.bank4j.Transaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bank4j Show documentation
Show all versions of bank4j Show documentation
Generates ISO 20022 XML Transfers and provides IBAN and BIC validation
package io.inisos.bank4j;
import java.math.BigDecimal;
/**
* Transaction
*/
public interface Transaction {
/**
* @return third party bank account
*/
BankAccount getThirdParty();
/**
* @return transaction amount
*/
BigDecimal getAmount();
/**
* @return transaction currency
*/
String getCurrencyCode();
/**
* @return end-to-end identifier
*/
String getEndToEndId();
/**
* @return optional identifier (can be null)
*/
String getId();
}