Transaction class

Constructors

Transaction({int? id, int? merchantId, int? userId, int? applicationId, String? currencyCode, int? amount, int? type, int? paymentMethodId, bool? isWaiting, bool? isCanceled, bool? isApprouved, String? canceledAt, String? approuvedAt, String? status, String? deletedAt, String? createdAt, String? updatedAt, String? reference, String? designation, String? clientReference, String? reason, String? notifUrl, String? errorMetaTransaction, String? buyerReference, String? orangePaymentUrl, String? orangePayToken, String? buyerName, String? paymentMethodCode, String? phoneNumber, bool? isInitiated, bool? isCompleted})
Transaction.fromJson(Map<String, dynamic> json)

Properties

amount int?
getter/setter pair
applicationId int?
getter/setter pair
approuvedAt String?
getter/setter pair
buyerName String?
getter/setter pair
buyerReference String?
getter/setter pair
canceledAt String?
getter/setter pair
clientReference String?
getter/setter pair
createdAt String?
getter/setter pair
currencyCode String?
getter/setter pair
deletedAt String?
getter/setter pair
designation String?
getter/setter pair
errorMetaTransaction String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
isApprouved bool?
getter/setter pair
isCanceled bool?
getter/setter pair
isCompleted bool?
getter/setter pair
isInitiated bool?
getter/setter pair
isWaiting bool?
getter/setter pair
merchantId int?
getter/setter pair
notifUrl String?
getter/setter pair
orangePaymentUrl String?
getter/setter pair
orangePayToken String?
getter/setter pair
paymentMethodCode String?
getter/setter pair
paymentMethodId int?
getter/setter pair
phoneNumber String?
getter/setter pair
reason String?
getter/setter pair
reference String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
getter/setter pair
type int?
getter/setter pair
updatedAt String?
getter/setter pair
userId int?
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.
inherited

Operators

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

Static Properties

CANCELLED String
final
EXPIRED String
final
FAILED String
final
INITIATED String
final
PENDING String
final
SUCCESSFUL String
final