copyWithWrapped method
Implementation
PaymentMeta copyWithWrapped(
{Wrapped<String?>? referenceNumber,
Wrapped<String?>? ppdId,
Wrapped<String?>? payee,
Wrapped<String?>? byOrderOf,
Wrapped<String?>? payer,
Wrapped<String?>? paymentMethod,
Wrapped<String?>? paymentProcessor,
Wrapped<String?>? reason}) {
return PaymentMeta(
referenceNumber: (referenceNumber != null
? referenceNumber.value
: this.referenceNumber),
ppdId: (ppdId != null ? ppdId.value : this.ppdId),
payee: (payee != null ? payee.value : this.payee),
byOrderOf: (byOrderOf != null ? byOrderOf.value : this.byOrderOf),
payer: (payer != null ? payer.value : this.payer),
paymentMethod:
(paymentMethod != null ? paymentMethod.value : this.paymentMethod),
paymentProcessor: (paymentProcessor != null
? paymentProcessor.value
: this.paymentProcessor),
reason: (reason != null ? reason.value : this.reason));
}