copyWith method
Implementation
MessagePaymentRefunded copyWith({
MessageSender? ownerId,
String? currency,
int? totalAmount,
String? invoicePayload,
String? telegramPaymentChargeId,
String? providerPaymentChargeId,
}) => MessagePaymentRefunded(
ownerId: ownerId ?? this.ownerId,
currency: currency ?? this.currency,
totalAmount: totalAmount ?? this.totalAmount,
invoicePayload: invoicePayload ?? this.invoicePayload,
telegramPaymentChargeId:
telegramPaymentChargeId ?? this.telegramPaymentChargeId,
providerPaymentChargeId:
providerPaymentChargeId ?? this.providerPaymentChargeId,
);