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
-
Method Summary
Modifier and TypeMethodDescriptionlong
getBid()
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.int
getValue()
Gets the value of the transaction.void
setBid
(long bid) Sets the budget ID of the transaction.void
Sets the date of the transaction.void
setDescription
(String description) Sets the description of the transaction.void
Sets the name of the transaction.void
setValue
(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
-