UtilityInputs class
Constructors
- UtilityInputs({String? accountNumber, String? mobileNumber, String? beneficiaryMobileNumber, String? invoiceId, MoneyInput? value, MoneyInput? maxPrice})
- Returns a new UtilityInputs instance.
Properties
- accountNumber ↔ String?
-
The customer's account or meter number with the biller.
getter/setter pair
- beneficiaryMobileNumber ↔ String?
-
The beneficiary's mobile number, in international format starting with + or 00.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- invoiceId ↔ String?
-
The ID of the bill to pay, at most 64 characters, for an offer that lists it.
getter/setter pair
- maxPrice ↔ MoneyInput?
-
Optional highest accepted unit price, in the order or cart currency; a higher current unit price gives 409 / 11002.
getter/setter pair
- mobileNumber ↔ String?
-
The customer's mobile number with the biller, in international format starting with + or 00.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ MoneyInput?
-
Required for a range offer, within its min and max and on its step; optional for a fixed offer, where it must equal the offer's amount; in the offer's value currency.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → UtilityInputs? -
Returns a new UtilityInputs instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< UtilityInputs> -
mapFromJson(
dynamic json) → Map< String, UtilityInputs> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< UtilityInputs> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.