Payment class

Constructors

Payment({required String? id, required double? amount, required int? originalAmount, required bool? isPartial, required String? currencyCode, required String? countryCode, required dynamic status, required String? description, required String? merchantReferenceId, required dynamic customerToken, required dynamic paymentMethod, required int? expiration, required bool? captured, required bool? refunded, required int? refundedAmount, required dynamic receiptEmail, required dynamic redirectUrl, required String? completePaymentUrl, required String? errorPaymentUrl, required dynamic receiptNumber, required dynamic flowType, required dynamic address, required dynamic statementDescriptor, required dynamic transactionId, required int? createdAt, required int? updatedAt, required CheckoutMetadata? metadata, required dynamic failureCode, required dynamic failureMessage, required bool? paid, required int? paidAt})
Payment.fromJson(Map<String, dynamic> json)
factory
Payment.fromRawJson(String str)
factory

Properties

address → dynamic
final
amount double?
final
captured bool?
final
completePaymentUrl String?
final
countryCode String?
final
createdAt int?
final
currencyCode String?
final
customerToken → dynamic
final
description String?
final
errorPaymentUrl String?
final
expiration int?
final
failureCode → dynamic
final
failureMessage → dynamic
final
flowType → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
isPartial bool?
final
merchantReferenceId String?
final
metadata CheckoutMetadata?
final
originalAmount int?
final
final
paidAt int?
final
paymentMethod → dynamic
final
receiptEmail → dynamic
final
receiptNumber → dynamic
final
redirectUrl → dynamic
final
refunded bool?
final
refundedAmount int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statementDescriptor → dynamic
final
status → dynamic
final
transactionId → dynamic
final
updatedAt int?
final

Methods

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

Operators

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