Class TransactionCredentials
java.lang.Object
no.idata1002.group19.domain.entity.TransactionCredentials
Represents the credentials required to create a transaction.
- Since:
- 16.04.2023
- Version:
- 23.04.2023
- Author:
- Group19
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetBid()Gets the budget ID of the transaction.getDate()Gets the date of the transaction.Gets the description of the transaction.getName()Gets the name of the transaction.intgetValue()Gets the value of the transaction.voidsetBid(long bid) Sets the budget ID of the transaction.voidSets the date of the transaction.voidsetDescription(String description) Sets the description of the transaction.voidSets the name of the transaction.voidsetValue(int value) Sets the value of the transaction.
-
Constructor Details
-
TransactionCredentials
public TransactionCredentials()
-
-
Method Details
-
getName
Gets the name of the transaction.- Returns:
- the name of the transaction
-
setName
Sets the name of the transaction.- Parameters:
name- the name of the transaction
-
getValue
public int getValue()Gets the value of the transaction.- Returns:
- the value of the transaction
-
setValue
public void setValue(int value) Sets the value of the transaction.- Parameters:
value- the value of the transaction
-
getDescription
Gets the description of the transaction.- Returns:
- the description of the transaction
-
setDescription
Sets the description of the transaction.- Parameters:
description- the description of the transaction
-
getDate
Gets the date of the transaction.- Returns:
- the date of the transaction
-
setDate
Sets the date of the transaction.- Parameters:
date- the date of the transaction
-
getBid
public long getBid()Gets the budget ID of the transaction.- Returns:
- the budget ID of the transaction
-
setBid
public void setBid(long bid) Sets the budget ID of the transaction.- Parameters:
bid- the budget ID of the transaction
-