copyWith method
WebApiModulesSettingsPaymentSettingsPaymentTermsPaymentTerms
copyWith({
- String? paymentTermsId,
- String? paymentTerms,
- String? invoiceMessage,
- int? dueInDays,
- bool? cod,
- String? paymentTermsCode,
- bool? inactive,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsPaymentSettingsPaymentTermsPaymentTerms copyWith(
{String? paymentTermsId,
String? paymentTerms,
String? invoiceMessage,
int? dueInDays,
bool? cod,
String? paymentTermsCode,
bool? inactive,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsPaymentSettingsPaymentTermsPaymentTerms(
paymentTermsId: paymentTermsId ?? this.paymentTermsId,
paymentTerms: paymentTerms ?? this.paymentTerms,
invoiceMessage: invoiceMessage ?? this.invoiceMessage,
dueInDays: dueInDays ?? this.dueInDays,
cod: cod ?? this.cod,
paymentTermsCode: paymentTermsCode ?? this.paymentTermsCode,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}