MidtransPatchSubscriptionGopayRequest class

Constructors

MidtransPatchSubscriptionGopayRequest({required String name, required String amount, required String currency, required String token, MidtransPatchSubscriptionSchedule? schedule, MidtransSubscriptionRetrySchedule? retrySchedule, MidtransSubscriptionGopayProps? gopay})
MidtransPatchSubscriptionGopayRequest.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
Amount specified by you for recurring charge.
final
currency String
ISO-4217 representation of three-letter alphabetic currency code. Value: IDR.
final
gopay MidtransSubscriptionGopayProps?
GoPay subscription information.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Subscription name specified by you.
final
retrySchedule MidtransSubscriptionRetrySchedule?
Update an ongoing subscription's retry schedule over failed charge.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule MidtransPatchSubscriptionSchedule?
Update an ongoing subscription's schedule, or reactivate an expired subscription by updating the schedule.
final
token String
Saved payment token.
final

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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited