copyWith method
Implementation
PaymentRefundResponse copyWith({
String? id,
String? type,
PaymentRefundResponseAttributes? attributes,
DateTime? availableAt,
DateTime? createdAt,
DateTime? paidAt,
DateTime? updatedAt,
}) {
return PaymentRefundResponse(
id: id ?? this.id,
type: type ?? this.type,
attributes: attributes ?? this.attributes,
availableAt: availableAt ?? this.availableAt,
createdAt: createdAt ?? this.createdAt,
paidAt: paidAt ?? this.paidAt,
updatedAt: updatedAt ?? this.updatedAt,
);
}