BillingStatement class
Constructors
-
BillingStatement({required BillingStatementObjectEnum object, required String id, required String instanceId, required int timestamp, required CommercePayerResponse payer, required BillingStatementStatusEnum status, required BillingStatementTotals totals, List<
BillingStatementGroupsInner> groups = const []}) - Returns a new BillingStatement instance.
Properties
-
groups
↔ List<
BillingStatementGroupsInner> -
Array of statement groups.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String
-
Unique identifier for the billing statement.
getter/setter pair
- instanceId ↔ String
-
The ID of the instance this statement belongs to.
getter/setter pair
- object ↔ BillingStatementObjectEnum
-
String representing the object's type. Objects of the same type share the same value.
getter/setter pair
- payer ↔ CommercePayerResponse
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ BillingStatementStatusEnum
-
The current status of the statement.
getter/setter pair
- timestamp ↔ int
-
Unix timestamp (in milliseconds) when the statement was created.
getter/setter pair
- totals ↔ BillingStatementTotals
-
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) → BillingStatement? -
Returns a new BillingStatement instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< BillingStatement> -
mapFromJson(
dynamic json) → Map< String, BillingStatement> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< BillingStatement> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.