copyWith method
Implementation
PayEntity copyWith({
String? idTransaction,
String? clientId,
String? idempotenceKey,
double? amountFull,
String? emailClient,
String? phoneClient,
String? callbackUrl,
String? descriptionPay,
List<ItemListModelSS>? items,
}) {
return PayEntity(
idTransaction: idTransaction ?? this.idTransaction,
clientId: clientId ?? this.clientId,
idempotenceKey: idempotenceKey ?? this.idempotenceKey,
amountFull: amountFull ?? this.amountFull,
emailClient: emailClient ?? this.emailClient,
phoneClient: phoneClient ?? this.phoneClient,
callbackUrl: callbackUrl ?? this.callbackUrl,
descriptionPay: descriptionPay ?? this.descriptionPay,
items: items ?? this.items,
);
}