copyWith method
WebApiModulesBillingBillingWorksheetBillingWorksheet
copyWith({
- String? billingWorksheetId,
- String? worksheetNumber,
- String? worksheetDate,
- String? billingStartDate,
- String? billingEndDate,
- String? orderInvoiceId,
- String? orderId,
- String? orderNumber,
- String? orderDescription,
- String? orderDate,
- String? worksheetDescription,
- String? customerId,
- String? dealId,
- String? deal,
- String? dealNumber,
- String? departmentId,
- String? department,
- String? taxId,
- String? taxOptionId,
- String? taxOption,
- String? tax1Name,
- String? tax2Name,
- double? rentalTaxRate1,
- double? salesTaxRate1,
- double? laborTaxRate1,
- double? rentalTaxRate2,
- double? salesTaxRate2,
- double? laborTaxRate2,
- String? purchaseOrderNumber,
- String? status,
- String? statusDate,
- bool? isNoCharge,
- bool? isAdjusted,
- bool? isBilledHiatus,
- bool? hasLockedTotal,
- bool? isAlteredDates,
- String? officeLocationId,
- String? officeLocation,
- String? inputByUserId,
- String? flatPoId,
- String? orderType,
- String? rateType,
- String? rateTypeDisplay,
- double? resultingInvoiceTotal,
- String? referenceNumber,
- String? agentId,
- String? agent,
- String? currencyId,
- String? currencyCode,
- String? officeLocationDefaultCurrencyId,
- String? outsideSalesRepresentativeId,
- String? usageStartDate,
- String? usageEndDate,
- String? resultingInvoiceNumber,
- String? resultingInvoiceId,
- double? rentalTotal,
- double? salesTotal,
- double? facilitiesTotal,
- double? worksheetGrossTotal,
- double? worksheetDiscountTotal,
- double? worksheetSubTotal,
- double? worksheetTax1,
- double? worksheetTax2,
- double? worksheetTax,
- double? worksheetTotal,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesBillingBillingWorksheetBillingWorksheet copyWith(
{String? billingWorksheetId,
String? worksheetNumber,
String? worksheetDate,
String? billingStartDate,
String? billingEndDate,
String? orderInvoiceId,
String? orderId,
String? orderNumber,
String? orderDescription,
String? orderDate,
String? worksheetDescription,
String? customerId,
String? dealId,
String? deal,
String? dealNumber,
String? departmentId,
String? department,
String? taxId,
String? taxOptionId,
String? taxOption,
String? tax1Name,
String? tax2Name,
double? rentalTaxRate1,
double? salesTaxRate1,
double? laborTaxRate1,
double? rentalTaxRate2,
double? salesTaxRate2,
double? laborTaxRate2,
String? purchaseOrderNumber,
String? status,
String? statusDate,
bool? isNoCharge,
bool? isAdjusted,
bool? isBilledHiatus,
bool? hasLockedTotal,
bool? isAlteredDates,
String? officeLocationId,
String? officeLocation,
String? inputByUserId,
String? flatPoId,
String? orderType,
String? rateType,
String? rateTypeDisplay,
double? resultingInvoiceTotal,
String? referenceNumber,
String? agentId,
String? agent,
String? currencyId,
String? currencyCode,
String? officeLocationDefaultCurrencyId,
String? outsideSalesRepresentativeId,
String? usageStartDate,
String? usageEndDate,
String? resultingInvoiceNumber,
String? resultingInvoiceId,
double? rentalTotal,
double? salesTotal,
double? facilitiesTotal,
double? worksheetGrossTotal,
double? worksheetDiscountTotal,
double? worksheetSubTotal,
double? worksheetTax1,
double? worksheetTax2,
double? worksheetTax,
double? worksheetTotal,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesBillingBillingWorksheetBillingWorksheet(
billingWorksheetId: billingWorksheetId ?? this.billingWorksheetId,
worksheetNumber: worksheetNumber ?? this.worksheetNumber,
worksheetDate: worksheetDate ?? this.worksheetDate,
billingStartDate: billingStartDate ?? this.billingStartDate,
billingEndDate: billingEndDate ?? this.billingEndDate,
orderInvoiceId: orderInvoiceId ?? this.orderInvoiceId,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
orderDescription: orderDescription ?? this.orderDescription,
orderDate: orderDate ?? this.orderDate,
worksheetDescription: worksheetDescription ?? this.worksheetDescription,
customerId: customerId ?? this.customerId,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
dealNumber: dealNumber ?? this.dealNumber,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
taxId: taxId ?? this.taxId,
taxOptionId: taxOptionId ?? this.taxOptionId,
taxOption: taxOption ?? this.taxOption,
tax1Name: tax1Name ?? this.tax1Name,
tax2Name: tax2Name ?? this.tax2Name,
rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
rentalTaxRate2: rentalTaxRate2 ?? this.rentalTaxRate2,
salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
status: status ?? this.status,
statusDate: statusDate ?? this.statusDate,
isNoCharge: isNoCharge ?? this.isNoCharge,
isAdjusted: isAdjusted ?? this.isAdjusted,
isBilledHiatus: isBilledHiatus ?? this.isBilledHiatus,
hasLockedTotal: hasLockedTotal ?? this.hasLockedTotal,
isAlteredDates: isAlteredDates ?? this.isAlteredDates,
officeLocationId: officeLocationId ?? this.officeLocationId,
officeLocation: officeLocation ?? this.officeLocation,
inputByUserId: inputByUserId ?? this.inputByUserId,
flatPoId: flatPoId ?? this.flatPoId,
orderType: orderType ?? this.orderType,
rateType: rateType ?? this.rateType,
rateTypeDisplay: rateTypeDisplay ?? this.rateTypeDisplay,
resultingInvoiceTotal:
resultingInvoiceTotal ?? this.resultingInvoiceTotal,
referenceNumber: referenceNumber ?? this.referenceNumber,
agentId: agentId ?? this.agentId,
agent: agent ?? this.agent,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
this.officeLocationDefaultCurrencyId,
outsideSalesRepresentativeId:
outsideSalesRepresentativeId ?? this.outsideSalesRepresentativeId,
usageStartDate: usageStartDate ?? this.usageStartDate,
usageEndDate: usageEndDate ?? this.usageEndDate,
resultingInvoiceNumber:
resultingInvoiceNumber ?? this.resultingInvoiceNumber,
resultingInvoiceId: resultingInvoiceId ?? this.resultingInvoiceId,
rentalTotal: rentalTotal ?? this.rentalTotal,
salesTotal: salesTotal ?? this.salesTotal,
facilitiesTotal: facilitiesTotal ?? this.facilitiesTotal,
worksheetGrossTotal: worksheetGrossTotal ?? this.worksheetGrossTotal,
worksheetDiscountTotal:
worksheetDiscountTotal ?? this.worksheetDiscountTotal,
worksheetSubTotal: worksheetSubTotal ?? this.worksheetSubTotal,
worksheetTax1: worksheetTax1 ?? this.worksheetTax1,
worksheetTax2: worksheetTax2 ?? this.worksheetTax2,
worksheetTax: worksheetTax ?? this.worksheetTax,
worksheetTotal: worksheetTotal ?? this.worksheetTotal,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}