AddBalanceRequest class

Represents a request to add balance for a customer.

Constructors

AddBalanceRequest({required String customerId, required String paymentMethodId, required int amount})
Creates an instance of AddBalanceRequest.
AddBalanceRequest.fromMap(Map<String, dynamic> map)
Creates an instance of AddBalanceRequest from a map.
factory

Properties

amount int
The amount to add to the balance
final
customerId String
The customer ID to add balance for
final
hashCode int
The hash code for this object.
no setterinherited
paymentMethodId String
The payment method ID to charge
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
toMap() Map<String, dynamic>
Converts the instance to a map
toString() String
A string representation of this object.
inherited

Operators

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