Class OutstandingTransaction

java.lang.Object
net.libyaguide.gpay.sdk.model.OutstandingTransaction

public class OutstandingTransaction extends Object
Represents a single outstanding transaction in the GPay system.
  • Constructor Details

    • OutstandingTransaction

      public OutstandingTransaction()
  • Method Details

    • getTransactionId

      public String getTransactionId()
      Gets the transaction ID.
      Returns:
      the transaction ID.
    • setTransactionId

      public void setTransactionId(String transactionId)
      Sets the transaction ID.
      Parameters:
      transactionId - the transaction ID to set.
    • getDatetime

      public String getDatetime()
      Gets the datetime string.
      Returns:
      the datetime string in ISO 8601 format.
    • setDatetime

      public void setDatetime(String datetime)
      Sets the datetime string.
      Parameters:
      datetime - the datetime string in ISO 8601 format.
    • getTimestamp

      public Date getTimestamp()
      Gets the timestamp.
      Returns:
      the timestamp as a Date object.
    • setTimestamp

      public void setTimestamp(Date timestamp)
      Sets the timestamp.
      Parameters:
      timestamp - the timestamp to set.
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description of the transaction.
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the description of the transaction.
    • getAmount

      public BigDecimal getAmount()
      Gets the amount.
      Returns:
      the transaction amount as a BigDecimal.
    • setAmount

      public void setAmount(BigDecimal amount)
      Sets the amount.
      Parameters:
      amount - the transaction amount to set.
    • getBalance

      public BigDecimal getBalance()
      Gets the balance.
      Returns:
      the balance after the transaction as a BigDecimal.
    • setBalance

      public void setBalance(BigDecimal balance)
      Sets the balance.
      Parameters:
      balance - the balance to set.
    • getReferenceNo

      public String getReferenceNo()
      Gets the reference number.
      Returns:
      the reference number associated with the transaction.
    • setReferenceNo

      public void setReferenceNo(String referenceNo)
      Sets the reference number.
      Parameters:
      referenceNo - the reference number to set.
    • getOpTypeId

      public OperationType getOpTypeId()
      Gets the operation type.
      Returns:
      the operation type as an OperationType enum.
    • setOpTypeId

      public void setOpTypeId(OperationType opTypeId)
      Sets the operation type.
      Parameters:
      opTypeId - the operation type to set as an OperationType enum.
    • getStatus

      public TransactionStatus getStatus()
      Gets the transaction status.
      Returns:
      the transaction status as a TransactionStatus enum.
    • setStatus

      public void setStatus(TransactionStatus status)
      Sets the transaction status.
      Parameters:
      status - the transaction status to set as a TransactionStatus enum.
    • getCreatedAt

      public Date getCreatedAt()
      Gets the creation date.
      Returns:
      the creation date as a Date object.
    • setCreatedAt

      public void setCreatedAt(Date createdAt)
      Sets the creation date.
      Parameters:
      createdAt - the creation date to set as a Date object.