copyWithWrapped method
Implementation
PaymentInitiationPaymentReverseRequest copyWithWrapped(
{Wrapped<String?>? clientId,
Wrapped<String?>? secret,
Wrapped<String>? paymentId,
Wrapped<String>? idempotencyKey,
Wrapped<String>? reference,
Wrapped<PaymentAmountToRefund?>? amount}) {
return PaymentInitiationPaymentReverseRequest(
clientId: (clientId != null ? clientId.value : this.clientId),
secret: (secret != null ? secret.value : this.secret),
paymentId: (paymentId != null ? paymentId.value : this.paymentId),
idempotencyKey: (idempotencyKey != null
? idempotencyKey.value
: this.idempotencyKey),
reference: (reference != null ? reference.value : this.reference),
amount: (amount != null ? amount.value : this.amount));
}