Creating Custom Transaction Type
Creating a Custom Transaction Type for TheNewEconomy
Overview
What is a Transaction Type?
Registration
TNECore.eco().transaction().addType(new CustomTransactionType());Steps to Create a Custom Transaction Type
Step 1: Implement the TransactionType Interface
TransactionType InterfaceStep 2: Register the Custom Transaction Type
Examples of Default Transaction Types
DepositType
WithdrawType
PayType
Key Methods in TransactionType
TransactionTypeMethod
Description
Notes
Last updated
Was this helpful?