FunctionFeeTypeInventory
Represents a function fee type inventory. In addition to the standard fields, this type indicates whether or not the inventory is from a shared pool at the parent function level.
type FunctionFeeTypeInventory {
consumed: NonNegativeInt!
isPooledWithParentFunction: Boolean!
limit: NonNegativeInt
remaining: Int
}
Fields
FunctionFeeTypeInventory.consumed
● NonNegativeInt!
non-null scalar
The number of inventory items consumed.
FunctionFeeTypeInventory.isPooledWithParentFunction
● Boolean!
non-null scalar
True if the inventory is pooled with the parent function, and therefore (possibly) shared with other function fee types.
FunctionFeeTypeInventory.limit
● NonNegativeInt
scalar
The maximum number of items available within an inventory. If not provided, the inventory is unlimited. Optional.
FunctionFeeTypeInventory.remaining
● Int
scalar
The number of inventory items remaining. Only applicable if there is a limit in place. Optional.
Note: in some instances, the remaining inventory may be negative, indicating that the inventory has been over-allocated.
Member Of
FunctionFeeType
object