copyWith method
WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice
copyWith({
- int? invoiceReceiptId,
- String? invoiceId,
- String? invoiceNumber,
- String? invoiceDate,
- String? description,
- String? status,
- String? orderId,
- String? orderNumber,
- String? dealId,
- String? deal,
- double? total,
- double? fee,
- double? totalWithFee,
- 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,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesHomeControlsReceiptInvoiceReceiptInvoice copyWith({
int? invoiceReceiptId,
String? invoiceId,
String? invoiceNumber,
String? invoiceDate,
String? description,
String? status,
String? orderId,
String? orderNumber,
String? dealId,
String? deal,
double? total,
double? fee,
double? totalWithFee,
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,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
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,
fee: fee ?? this.fee,
totalWithFee: totalWithFee ?? this.totalWithFee,
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,
urlIdentifier: urlIdentifier ?? this.urlIdentifier,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
original: original ?? this.original,
translation: translation ?? this.translation,
hasImport: hasImport ?? this.hasImport,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}