WalletAllocation
¶
An allocation grants access to resources
data class WalletAllocation(
val id: String,
val allocationPath: List<String>,
val balance: Long,
val initialBalance: Long,
val localBalance: Long,
val startDate: Long,
val endDate: Long?,
val grantedIn: Long?,
val canAllocate: Boolean?,
val allowSubAllocationsToAllocate: Boolean?,
)
You can find more information about WalletAllocations here.
Properties
id
: String
A unique ID of this allocation
String
allocationPath
: List<String>
A path, starting from the top, through the allocations that will be charged, when a charge is made
List<String>
Note that this allocation path will always include, as its last element, this allocation.
balance
: Long
The current balance of this wallet allocation's subtree
Long
initialBalance
: Long
The initial balance which was granted to this allocation
Long
localBalance
: Long
The current balance of this wallet allocation
Long
startDate
: Long
Timestamp for when this allocation becomes valid
Long
endDate
: Long?
Timestamp for when this allocation becomes invalid, null indicates that this allocation does not expire automatically
Long?
grantedIn
: Long?
ID reference to which grant application this allocation was granted in
Long?
canAllocate
: Boolean?
A property which indicates if this allocation can be used to create sub-allocations
Boolean?
allowSubAllocationsToAllocate
: Boolean?
A property which indicates that new sub-allocations of this allocation by default should have canAllocate = true
Boolean?