copyWith method
Implementation
PaymentMeta copyWith(
{String? referenceNumber,
String? ppdId,
String? payee,
String? byOrderOf,
String? payer,
String? paymentMethod,
String? paymentProcessor,
String? reason}) {
return PaymentMeta(
referenceNumber: referenceNumber ?? this.referenceNumber,
ppdId: ppdId ?? this.ppdId,
payee: payee ?? this.payee,
byOrderOf: byOrderOf ?? this.byOrderOf,
payer: payer ?? this.payer,
paymentMethod: paymentMethod ?? this.paymentMethod,
paymentProcessor: paymentProcessor ?? this.paymentProcessor,
reason: reason ?? this.reason);
}