copyWith method
PaymentRefundResponseAttributes
copyWith(
{ - double? amount,
- String? balanceTransactionId,
- String? currency,
- bool? livemode,
- Map<String, dynamic>? metadata,
- String? notes,
- String? paymentId,
- String? payoutId,
- String? reason,
- String? status,
- DateTime? availableAt,
- DateTime? createdAt,
- DateTime? updatedAt,
})
Implementation
PaymentRefundResponseAttributes copyWith({
double? amount,
String? balanceTransactionId,
String? currency,
bool? livemode,
Map<String, dynamic>? metadata,
String? notes,
String? paymentId,
String? payoutId,
String? reason,
String? status,
DateTime? availableAt,
DateTime? createdAt,
DateTime? updatedAt,
}) {
return PaymentRefundResponseAttributes(
amount: amount ?? this.amount,
balanceTransactionId: balanceTransactionId ?? this.balanceTransactionId,
currency: currency ?? this.currency,
livemode: livemode ?? this.livemode,
metadata: metadata ?? this.metadata,
notes: notes ?? this.notes,
paymentId: paymentId ?? this.paymentId,
payoutId: payoutId ?? this.payoutId,
reason: reason ?? this.reason,
status: status ?? this.status,
availableAt: availableAt ?? this.availableAt,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}