PaymentRequest class

Constructors

PaymentRequest({required PaymentSourceType type, bool isPayout = false, String? token = "", String? cardId, required int amount, required String reference, required String description, required Customer customer, required String currency, bool is3dsEnabled = false})

Properties

amount int
final
cardId String?
final
currency String
final
customer Customer
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
is3dsEnabled bool
final
isPayout bool
final
reference String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
final
type PaymentSourceType
final

Methods

copyWith({required String token}) PaymentRequest
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