copyWith method
Implementation
ShopifySharpPaymentSchedule copyWith({
double? amount,
String? currency,
DateTime? issuedAt,
DateTime? dueAt,
DateTime? completedAt,
String? expectedPaymentMethod,
}) {
return ShopifySharpPaymentSchedule(
amount: amount ?? this.amount,
currency: currency ?? this.currency,
issuedAt: issuedAt ?? this.issuedAt,
dueAt: dueAt ?? this.dueAt,
completedAt: completedAt ?? this.completedAt,
expectedPaymentMethod:
expectedPaymentMethod ?? this.expectedPaymentMethod,
);
}