copyWith method
MessagePaymentSuccessfulBot
copyWith({
- String? currency,
- int? totalAmount,
- String? invoicePayload,
- String? shippingOptionId,
- OrderInfo? orderInfo,
- String? telegramPaymentChargeId,
- String? providerPaymentChargeId,
override
Implementation
@override
MessagePaymentSuccessfulBot copyWith({
String? currency,
int? totalAmount,
String? invoicePayload,
String? shippingOptionId,
OrderInfo? orderInfo,
String? telegramPaymentChargeId,
String? providerPaymentChargeId,
}) => MessagePaymentSuccessfulBot(
currency: currency ?? this.currency,
totalAmount: totalAmount ?? this.totalAmount,
invoicePayload: invoicePayload ?? this.invoicePayload,
shippingOptionId: shippingOptionId ?? this.shippingOptionId,
orderInfo: orderInfo ?? this.orderInfo,
telegramPaymentChargeId: telegramPaymentChargeId ?? this.telegramPaymentChargeId,
providerPaymentChargeId: providerPaymentChargeId ?? this.providerPaymentChargeId,
);