ValidateDirectChargeRequest class

A class representing a request to validate a direct charge.

This class encapsulates the required fields for validating a direct charge request, including the reference, mobile number, and payment method.

  • reference: The unique reference identifier for the payment.
  • mobile: The mobile number associated with the payment.
  • paymentMethod: The method used for the payment.

Constructors

ValidateDirectChargeRequest({required String reference, required String mobile, required String paymentMethod})
Constructor for the ValidateDirectChargeRequest class.

Properties

hashCode int
The hash code for this object.
no setterinherited
mobile String
The mobile number associated with the payment.
final
paymentMethod String
The method used for the payment.
final
reference String
The unique reference identifier for the payment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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