copyWith method
WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice
copyWith({
- String? invoiceReceiptId,
- String? invoiceId,
- String? invoiceNumber,
- String? invoiceDate,
- String? description,
- String? status,
- String? orderId,
- String? orderNumber,
- String? dealId,
- String? deal,
- double? total,
- bool? receiptId,
- String? invoiceType,
- double? applied,
- double? amount,
- double? due,
- String? customerId,
- String? customer,
- String? officeLocationId,
- String? departmentId,
- String? currencyId,
- String? currencyCode,
- String? currencySymbol,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith(
{String? invoiceReceiptId,
String? invoiceId,
String? invoiceNumber,
String? invoiceDate,
String? description,
String? status,
String? orderId,
String? orderNumber,
String? dealId,
String? deal,
double? total,
bool? receiptId,
String? invoiceType,
double? applied,
double? amount,
double? due,
String? customerId,
String? customer,
String? officeLocationId,
String? departmentId,
String? currencyId,
String? currencyCode,
String? currencySymbol,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice(
invoiceReceiptId: invoiceReceiptId ?? this.invoiceReceiptId,
invoiceId: invoiceId ?? this.invoiceId,
invoiceNumber: invoiceNumber ?? this.invoiceNumber,
invoiceDate: invoiceDate ?? this.invoiceDate,
description: description ?? this.description,
status: status ?? this.status,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
total: total ?? this.total,
receiptId: receiptId ?? this.receiptId,
invoiceType: invoiceType ?? this.invoiceType,
applied: applied ?? this.applied,
amount: amount ?? this.amount,
due: due ?? this.due,
customerId: customerId ?? this.customerId,
customer: customer ?? this.customer,
officeLocationId: officeLocationId ?? this.officeLocationId,
departmentId: departmentId ?? this.departmentId,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currencySymbol: currencySymbol ?? this.currencySymbol,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}