PaymentPreferences class
Payment preferences.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- PaymentPreferences({bool? autoBillOutstanding, Money? setupFee, SetupFeeFailureAction? setupFeeFailureAction, int? paymentFailureThreshold})
-
PaymentPreferences.fromJson(Map<
String, dynamic> json) -
factory
Properties
- autoBillOutstanding ↔ bool?
-
Indicates whether to automatically bill the outstanding amount in the next
billing cycle.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- paymentFailureThreshold ↔ int?
-
The maximum number of payment failures before a subscription is suspended.
For example, if payment_failure_threshold is 2, the subscription
automatically updates to the SUSPEND state if two consecutive payments
fail.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setupFee ↔ Money?
-
The initial set-up fee for the service.
getter/setter pair
- setupFeeFailureAction ↔ SetupFeeFailureAction?
-
The action to take on the subscription if the initial payment for the
setup fails.
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.
inherited