Struct representing a user fund transaction in the operating system.
More...
#include "OperatingSystemBankTypes.h"
|
FORCEINLINE bool | IsValid () const |
|
| FOperatingSystemUserFundTransaction () |
|
| FOperatingSystemUserFundTransaction (const FText &Description, const FText &Title, const float &Amount, const float &ClosingBalance) |
| Constructs a user fund transaction. It contains various properties related to the transaction, such as description, remarks, amount, transaction ID, transaction type, date, and closing balance.
|
|
Struct representing a user fund transaction in the operating system.
◆ FOperatingSystemUserFundTransaction() [1/2]
FOperatingSystemUserFundTransaction::FOperatingSystemUserFundTransaction |
( |
| ) |
|
|
inline |
◆ FOperatingSystemUserFundTransaction() [2/2]
FOperatingSystemUserFundTransaction::FOperatingSystemUserFundTransaction |
( |
const FText & | Description, |
|
|
const FText & | Title, |
|
|
const float & | Amount, |
|
|
const float & | ClosingBalance ) |
|
inlineexplicit |
Constructs a user fund transaction. It contains various properties related to the transaction, such as description, remarks, amount, transaction ID, transaction type, date, and closing balance.
◆ IsValid()
FORCEINLINE bool FOperatingSystemUserFundTransaction::IsValid |
( |
| ) |
const |
|
inline |
Check if the transaction is valid.
A transaction is considered valid if:
- The amount is greater than zero.
- The transaction ID is not empty.
- The transaction type is not set to Unknown.
- The date is a valid date and time.
- The closing balance is greater than or equal to zero.
- Returns
- True if the transaction is valid, false otherwise.
◆ Amount
float FOperatingSystemUserFundTransaction::Amount |
|
protected |
◆ ClosingBalance
float FOperatingSystemUserFundTransaction::ClosingBalance |
|
protected |
Balance after transaction.
◆ Date
FDateTime FOperatingSystemUserFundTransaction::Date |
|
protected |
UTC date at which the transaction was made.
◆ Description
FText FOperatingSystemUserFundTransaction::Description |
Auto generated description.
◆ Remarks
FText FOperatingSystemUserFundTransaction::Remarks |
|
protected |
Can be sent to name or received from name.
◆ TransactionID
FString FOperatingSystemUserFundTransaction::TransactionID |
|
protected |
Unique ID of the transaction.
◆ TransactionType
The documentation for this struct was generated from the following file: