public final class Transaction extends Object
| Constructor and Description |
|---|
Transaction() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getAmount()
The transaction amount absolute value.
|
Double |
getBalance()
The balance after the transaction.
|
TransactionBank |
getBankAccount()
The bank account associated with this transaction.
|
Bill |
getBill()
The bill or invoice document settled by this transaction.
|
Double |
getBillAmount() |
String |
getBillCurrency() |
Date |
getCompletedAt()
The date when the transaction was completed (status COMPLETED).
|
Boolean |
getCredit()
The boolean indicating whether the payment has positive or negative amount; true - credit, false - debit.
|
String |
getCurrency()
The payment currency alphabetic code based on the ISO 4217.
|
String |
getKey()
The unique payment identification related to the associated bill.
|
Merchant |
getMerchant() |
String |
getReference()
A user provided payment reference.
|
String |
getStatus()
The transaction status.
|
Long |
getTransactionId()
The identification of the transaction within payment processor service unique for single Ecosystem account.
|
String |
getType()
The payment type that has been used to make this payment.
|
Transaction |
setAmount(Double amount) |
Transaction |
setBalance(Double balance) |
Transaction |
setBankAccount(TransactionBank bankAccount) |
Transaction |
setBill(Bill bill) |
Transaction |
setBillAmount(Double billAmount) |
Transaction |
setBillCurrency(String billCurrency) |
Transaction |
setCompletedAt(Date completedAt) |
Transaction |
setCredit(Boolean credit) |
Transaction |
setCurrency(String currency) |
Transaction |
setKey(String key) |
Transaction |
setMerchant(Merchant merchant) |
Transaction |
setReference(String reference) |
Transaction |
setStatus(String status) |
Transaction |
setTransactionId(Long transactionId) |
Transaction |
setType(String type) |
public Double getAmount()
public Transaction setAmount(Double amount)
public Double getBalance()
public Transaction setBalance(Double balance)
public TransactionBank getBankAccount()
public Transaction setBankAccount(TransactionBank bankAccount)
public Bill getBill()
public Transaction setBill(Bill bill)
public Double getBillAmount()
public Transaction setBillAmount(Double billAmount)
public String getBillCurrency()
public Transaction setBillCurrency(String billCurrency)
public Date getCompletedAt()
public Transaction setCompletedAt(Date completedAt)
public Boolean getCredit()
public Transaction setCredit(Boolean credit)
public String getCurrency()
public Transaction setCurrency(String currency)
public String getKey()
public Transaction setKey(String key)
public Merchant getMerchant()
public Transaction setMerchant(Merchant merchant)
public String getReference()
public Transaction setReference(String reference)
public String getStatus()
public Transaction setStatus(String status)
public Long getTransactionId()
public Transaction setTransactionId(Long transactionId)
public String getType()
public Transaction setType(String type)
Copyright © 2020. All rights reserved.