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()
Identification of the bill (receipt) or invoice document settled by this transaction.
|
Double |
getBillAmount()
The billing amount for cross-currency payment.
|
String |
getBillCurrency()
The billing currency for cross-currency payment.
|
Date |
getCompletedAt()
The date when the transaction was completed (status COMPLETED).
|
TransactionCounterparty |
getCounterparty() |
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.
|
ExchangeRate |
getExchangeRate() |
Long |
getId()
The unique transaction identification within Product Billing service.
|
String |
getKey()
The unique payment identification related to associated bill.
|
Merchant |
getMerchant()
Get merchant
|
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 |
setCounterparty(TransactionCounterparty counterparty) |
Transaction |
setCredit(Boolean credit) |
Transaction |
setCurrency(String currency) |
Transaction |
setExchangeRate(ExchangeRate exchangeRate) |
Transaction |
setId(Long id) |
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 TransactionCounterparty getCounterparty()
public Transaction setCounterparty(TransactionCounterparty counterparty)
public Boolean getCredit()
public Transaction setCredit(Boolean credit)
public String getCurrency()
public Transaction setCurrency(String currency)
public ExchangeRate getExchangeRate()
public Transaction setExchangeRate(ExchangeRate exchangeRate)
public Long getId()
public Transaction setId(Long id)
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 © 2023. All rights reserved.