MidtransPayload class

Represents the payload for Midtrans integration.

Constructors

MidtransPayload({required TransactionDetails transactionDetails, required List<ItemDetail> itemDetails, CustomerDetails? customerDetails, Expiry? expiry})
Creates a new instance of MidtransPayload.

Properties

customerDetails CustomerDetails?
The customer details.
final
expiry Expiry?
The expiry configuration.
final
hashCode int
The hash code for this object.
no setterinherited
itemDetails List<ItemDetail>
The item details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionDetails TransactionDetails
The transaction details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the payload to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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