discontinuedPackage hipay has been discontinued.

Transaction class

Constructors

Transaction({required String id, required DateTime dateCreated, required HipayTransactionStatus status, required int amount, required HipayPaymentMethod paymentMethod, required Customer customer, required List<HipayItem> items, required List<HipaySplit> splits})
Transaction.fromJson(String source)
factory
Transaction.fromMap(Map<String, dynamic> map)
factory

Properties

amount → int
final
customer → Customer
final
dateCreated → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
items → List<HipayItem>
final
paymentMethod → HipayPaymentMethod
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
splits → List<HipaySplit>
final
status → HipayTransactionStatus
final

Methods

copyWith({String? id, DateTime? dateCreated, HipayTransactionStatus? status, int? amount, HipayPaymentMethod? paymentMethod, Customer? customer, List<HipayItem>? items, List<HipaySplit>? splits}) → Transaction
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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