SudoSOS Back-end API / balance / BalanceResponse
Interface: BalanceResponse ​
Extends ​
Properties ​
amount ​
amount: DineroObjectResponse;createdAt? ​
optional createdAt: string;Inherited from ​
date ​
date: string;fine? ​
optional fine: DineroObjectResponse;The amount of fines this user has at the current point in time, aka "now" (if any). Should be ignored if date is not now.
fineSince? ​
optional fineSince: string;Timestamp of the first fine
fineWaived? ​
optional fineWaived: DineroObjectRequest;The amount of fines that have been waived. Should be subtracted from the "fine" property to calculate the actual amount of fines the user has. Only represents the current point in time, aka "now" (if any). Should be ignored if date is not now.
firstName ​
firstName: string;Inherited from ​
id ​
id: number;Inherited from ​
lastName ​
lastName: string;Inherited from ​
lastTransactionDate? ​
optional lastTransactionDate: string;The timestamp of this user's last transaction. NULL if this user has not made any transactions
lastTransactionId ​
lastTransactionId: number;The ID of the last transaction that was present when the balance was cached. -1 if the user has not made any transactions
lastTransferId ​
lastTransferId: number;The ID of the last transfer that was present when the balance was cached. -1 if the user has not made any transfers
memberId? ​
optional memberId: number;The external member ID of the user (e.g., GEWIS member ID), if any
nickname? ​
optional nickname: string;The nickname of the user
Inherited from ​
nrFines ​
nrFines: number;type ​
type: UserType;updatedAt? ​
optional updatedAt: string;Inherited from ​
version? ​
optional version: number;