copyWith method
Implementation
PaymentInitiationPaymentReverseRequest copyWith(
{String? clientId,
String? secret,
String? paymentId,
String? idempotencyKey,
String? reference,
PaymentAmountToRefund? amount}) {
return PaymentInitiationPaymentReverseRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
paymentId: paymentId ?? this.paymentId,
idempotencyKey: idempotencyKey ?? this.idempotencyKey,
reference: reference ?? this.reference,
amount: amount ?? this.amount);
}