SubscriptionCaptureRequest class

Capture authorized payment request

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

SubscriptionCaptureRequest({required String note, required Money amount, CaptureType captureType = CaptureType.outstandingBalance})
const
SubscriptionCaptureRequest.fromJson(Map<String, dynamic> json)
factory

Properties

amount Money
The amount of the outstanding balance. This value cannot be greater than the current outstanding balance amount.
final
captureType CaptureType
The type of capture.
final
hashCode int
The hash code for this object.
no setterinherited
note String
The reason or note for the subscription charge.
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