Condition class abstract
Condition
Properties:
- balanceType - Define the type of balance about which you want to get notified. Possible values: * available: the balance available for use. * balance: the sum of transactions that have already been settled. * pending: the sum of transactions that will be settled in the future. * reserved: the balance currently held in reserve.
- conditionType - Define when you want to get notified about a balance change. Possible values: * greaterThan: the balance in the account(s) exceeds the specified
value. * greaterThanOrEqual: the balance in the account(s) reaches or exceeds the specifiedvalue. * lessThan: the balance in the account(s) drops below the specifiedvalue. * lessThanOrEqual: the balance in the account(s) reaches to drops below the specifiedvalue. - value - The value limit in the specified balance type and currency, in minor units.
- Annotations
-
- @BuiltValue.new()
Constructors
- Condition([void updates(ConditionBuilder b)])
-
factory
Properties
- balanceType → ConditionBalanceTypeEnum
-
Define the type of balance about which you want to get notified. Possible values: * available: the balance available for use. * balance: the sum of transactions that have already been settled. * pending: the sum of transactions that will be settled in the future. * reserved: the balance currently held in reserve.
no setter
- conditionType → ConditionConditionTypeEnum
-
Define when you want to get notified about a balance change. Possible values: * greaterThan: the balance in the account(s) exceeds the specified
value. * greaterThanOrEqual: the balance in the account(s) reaches or exceeds the specifiedvalue. * lessThan: the balance in the account(s) drops below the specifiedvalue. * lessThanOrEqual: the balance in the account(s) reaches to drops below the specifiedvalue.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The value limit in the specified balance type and currency, in minor units.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ConditionBuilder)) → Condition -
Rebuilds the instance.
inherited
-
toBuilder(
) → ConditionBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Condition> -
no setter