SubscriptionBillingInfo class
The subscriber billing information.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
SubscriptionBillingInfo({required Money outstandingBalance, List<
CycleExecution> ? cycleExecutions, LastPaymentDetails? lastPayment, String? nextBillingTime, String? finalPaymentTime, required int failedPaymentsCount, FailedPaymentDetails? lastFailedPayment}) -
SubscriptionBillingInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
cycleExecutions
→ List<
CycleExecution> ? -
The trial and regular billing executions.
final
- failedPaymentsCount → int
-
The number of consecutive payment failures. Resets to 0 after a successful
payment. If this reaches the payment_failure_threshold value, the subscription
updates to the SUSPENDED state.
final
- finalPaymentTime → String?
-
The date and time when the final billing cycle occurs, in
Internet date and time format
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastFailedPayment → FailedPaymentDetails?
-
The details for the last failed payment of the subscription.
final
- lastPayment → LastPaymentDetails?
-
The details for the last payment of the subscription.
final
- nextBillingTime → String?
-
The next date and time for billing this subscription, in
Internet date and time format
final
- outstandingBalance → Money
-
The total pending bill amount, to be paid by the subscriber.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited