copyWith method
Implementation
ShopifySharpPaymentTerms copyWith({
double? amount,
String? currency,
int? dueInDays,
String? paymentTermsName,
String? paymentTermsType,
List<ShopifySharpPaymentSchedule>? paymentSchedules,
}) {
return ShopifySharpPaymentTerms(
amount: amount ?? this.amount,
currency: currency ?? this.currency,
dueInDays: dueInDays ?? this.dueInDays,
paymentTermsName: paymentTermsName ?? this.paymentTermsName,
paymentTermsType: paymentTermsType ?? this.paymentTermsType,
paymentSchedules: paymentSchedules ?? this.paymentSchedules,
);
}