copyWith method
WebApiModulesBillingInvoiceInvoice
copyWith({
- String? invoiceId,
- String? invoiceNumber,
- String? invoiceDate,
- String? invoiceDueDate,
- String? invoiceType,
- String? billingStartDate,
- String? billingEndDate,
- String? usageStartDate,
- String? usageEndDate,
- String? orderId,
- String? orderNumber,
- String? orderDescription,
- String? orderDate,
- String? orderLocation,
- String? invoiceDescription,
- String? creditingInvoiceId,
- String? creditingInvoiceNumber,
- String? customerId,
- String? customer,
- String? customerTypeId,
- String? customerType,
- String? dealId,
- String? deal,
- String? dealNumber,
- String? dealTypeId,
- String? departmentId,
- String? department,
- String? purchaseOrderNumber,
- String? workAuthorizationNumber,
- String? status,
- String? statusDate,
- bool? isNoCharge,
- bool? isAdjusted,
- bool? isBilledHiatus,
- int? episodeNumber,
- bool? hasLockedTotal,
- bool? isAlteredDates,
- String? officeLocationId,
- String? officeLocation,
- String? invoiceCreationBatchId,
- int? invoiceCreationBatchNumber,
- String? invoiceGroupNumber,
- bool? rentalSale,
- bool? lossAndDamage,
- bool? repair,
- String? inputByUserId,
- String? flatPoId,
- String? orderType,
- String? rebateCustomerId,
- String? orbitsapchgmajor,
- String? orbitsapchgsub,
- String? orbitsapchgdetail,
- String? orbitsapchgdeal,
- String? orbitsapchgset,
- bool? excludeFromFlatPo,
- bool? isSplitRental,
- bool? isRebateRental,
- double? invoiceListTotal,
- double? invoiceGrossTotal,
- double? invoiceDiscountTotal,
- double? invoiceDaysPerWeekDiscountTotal,
- String? referenceNumber,
- String? agentId,
- String? agent,
- String? projectManagerId,
- String? projectManager,
- String? billToAddressId,
- String? billToName,
- String? billToAttention1,
- String? billToAttention2,
- String? billToAddress1,
- String? billToAddress2,
- String? billToCity,
- String? billToState,
- String? billToZipCode,
- String? billToCountryId,
- String? billToCountry,
- String? billToCountryCodeIsoAlpha2,
- int? billToCountryCodePhone,
- String? invoiceClass,
- String? printNotes,
- String? paymentTermsId,
- String? paymentTerms,
- String? paymentTypeId,
- String? paymentType,
- String? taxId,
- String? taxOptionId,
- String? taxOption,
- String? tax1Name,
- String? tax2Name,
- double? rentalTaxRate1,
- double? salesTaxRate1,
- double? laborTaxRate1,
- double? rentalTaxRate2,
- double? salesTaxRate2,
- double? laborTaxRate2,
- String? taxItemCode,
- String? taxVendor,
- String? taxCountry,
- String? chargeBatchId,
- String? chargeBatchNumber,
- bool? quikPayDiscount,
- double? quikPayRentalTotal,
- double? quikPayTotal,
- double? receivedTotal,
- String? rateType,
- double? consignmentRevenue,
- bool? isNonBillable,
- String? currencyId,
- String? currencyCode,
- String? currencySymbol,
- String? officeLocationDefaultCurrencyId,
- String? divisionId,
- String? outsideSalesRepresentativeId,
- String? outsideSalesRepresentative,
- bool? exportTaxAsLineItem,
- String? invoiceNumberColor,
- String? statusColor,
- String? orderNumberColor,
- String? purchaseOrderNumberColor,
- String? dealColor,
- String? billingStartDateColor,
- String? invoiceTotalColor,
- String? descriptionColor,
- bool? hasRentalItem,
- bool? hasMeterItem,
- bool? hasSalesItem,
- bool? hasLaborItem,
- bool? hasMiscellaneousItem,
- bool? hasFacilityItem,
- bool? hasTransportationItem,
- bool? hasRentalSaleItem,
- bool? hasRepairItem,
- bool? hasConsignment,
- bool? hasLossAndDamageItem,
- bool? hasInternalInvoice,
- bool? isInternal,
- double? rentalTotal,
- double? salesTotal,
- double? facilitiesTotal,
- double? miscellaneousTotal,
- double? laborTotal,
- double? partsTotal,
- double? assetSaleTotal,
- double? invoiceSubTotal,
- double? invoiceTax1,
- double? invoiceTax2,
- double? invoiceTax,
- double? invoiceTotal,
- double? remainingTotal,
- bool? isStandAloneInvoice,
- String? warehouseId,
- String? termsConditionsId,
- String? termsConditions,
- String? sourceId,
- String? sourceDate,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesBillingInvoiceInvoice copyWith(
{String? invoiceId,
String? invoiceNumber,
String? invoiceDate,
String? invoiceDueDate,
String? invoiceType,
String? billingStartDate,
String? billingEndDate,
String? usageStartDate,
String? usageEndDate,
String? orderId,
String? orderNumber,
String? orderDescription,
String? orderDate,
String? orderLocation,
String? invoiceDescription,
String? creditingInvoiceId,
String? creditingInvoiceNumber,
String? customerId,
String? customer,
String? customerTypeId,
String? customerType,
String? dealId,
String? deal,
String? dealNumber,
String? dealTypeId,
String? departmentId,
String? department,
String? purchaseOrderNumber,
String? workAuthorizationNumber,
String? status,
String? statusDate,
bool? isNoCharge,
bool? isAdjusted,
bool? isBilledHiatus,
int? episodeNumber,
bool? hasLockedTotal,
bool? isAlteredDates,
String? officeLocationId,
String? officeLocation,
String? invoiceCreationBatchId,
int? invoiceCreationBatchNumber,
String? invoiceGroupNumber,
bool? rentalSale,
bool? lossAndDamage,
bool? repair,
String? inputByUserId,
String? flatPoId,
String? orderType,
String? rebateCustomerId,
String? orbitsapchgmajor,
String? orbitsapchgsub,
String? orbitsapchgdetail,
String? orbitsapchgdeal,
String? orbitsapchgset,
bool? excludeFromFlatPo,
bool? isSplitRental,
bool? isRebateRental,
double? invoiceListTotal,
double? invoiceGrossTotal,
double? invoiceDiscountTotal,
double? invoiceDaysPerWeekDiscountTotal,
String? referenceNumber,
String? agentId,
String? agent,
String? projectManagerId,
String? projectManager,
String? billToAddressId,
String? billToName,
String? billToAttention1,
String? billToAttention2,
String? billToAddress1,
String? billToAddress2,
String? billToCity,
String? billToState,
String? billToZipCode,
String? billToCountryId,
String? billToCountry,
String? billToCountryCodeIsoAlpha2,
int? billToCountryCodePhone,
String? invoiceClass,
String? printNotes,
String? paymentTermsId,
String? paymentTerms,
String? paymentTypeId,
String? paymentType,
String? taxId,
String? taxOptionId,
String? taxOption,
String? tax1Name,
String? tax2Name,
double? rentalTaxRate1,
double? salesTaxRate1,
double? laborTaxRate1,
double? rentalTaxRate2,
double? salesTaxRate2,
double? laborTaxRate2,
String? taxItemCode,
String? taxVendor,
String? taxCountry,
String? chargeBatchId,
String? chargeBatchNumber,
bool? quikPayDiscount,
double? quikPayRentalTotal,
double? quikPayTotal,
double? receivedTotal,
String? rateType,
double? consignmentRevenue,
bool? isNonBillable,
String? currencyId,
String? currencyCode,
String? currencySymbol,
String? officeLocationDefaultCurrencyId,
String? divisionId,
String? outsideSalesRepresentativeId,
String? outsideSalesRepresentative,
bool? exportTaxAsLineItem,
String? invoiceNumberColor,
String? statusColor,
String? orderNumberColor,
String? purchaseOrderNumberColor,
String? dealColor,
String? billingStartDateColor,
String? invoiceTotalColor,
String? descriptionColor,
bool? hasRentalItem,
bool? hasMeterItem,
bool? hasSalesItem,
bool? hasLaborItem,
bool? hasMiscellaneousItem,
bool? hasFacilityItem,
bool? hasTransportationItem,
bool? hasRentalSaleItem,
bool? hasRepairItem,
bool? hasConsignment,
bool? hasLossAndDamageItem,
bool? hasInternalInvoice,
bool? isInternal,
double? rentalTotal,
double? salesTotal,
double? facilitiesTotal,
double? miscellaneousTotal,
double? laborTotal,
double? partsTotal,
double? assetSaleTotal,
double? invoiceSubTotal,
double? invoiceTax1,
double? invoiceTax2,
double? invoiceTax,
double? invoiceTotal,
double? remainingTotal,
bool? isStandAloneInvoice,
String? warehouseId,
String? termsConditionsId,
String? termsConditions,
String? sourceId,
String? sourceDate,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesBillingInvoiceInvoice(
invoiceId: invoiceId ?? this.invoiceId,
invoiceNumber: invoiceNumber ?? this.invoiceNumber,
invoiceDate: invoiceDate ?? this.invoiceDate,
invoiceDueDate: invoiceDueDate ?? this.invoiceDueDate,
invoiceType: invoiceType ?? this.invoiceType,
billingStartDate: billingStartDate ?? this.billingStartDate,
billingEndDate: billingEndDate ?? this.billingEndDate,
usageStartDate: usageStartDate ?? this.usageStartDate,
usageEndDate: usageEndDate ?? this.usageEndDate,
orderId: orderId ?? this.orderId,
orderNumber: orderNumber ?? this.orderNumber,
orderDescription: orderDescription ?? this.orderDescription,
orderDate: orderDate ?? this.orderDate,
orderLocation: orderLocation ?? this.orderLocation,
invoiceDescription: invoiceDescription ?? this.invoiceDescription,
creditingInvoiceId: creditingInvoiceId ?? this.creditingInvoiceId,
creditingInvoiceNumber:
creditingInvoiceNumber ?? this.creditingInvoiceNumber,
customerId: customerId ?? this.customerId,
customer: customer ?? this.customer,
customerTypeId: customerTypeId ?? this.customerTypeId,
customerType: customerType ?? this.customerType,
dealId: dealId ?? this.dealId,
deal: deal ?? this.deal,
dealNumber: dealNumber ?? this.dealNumber,
dealTypeId: dealTypeId ?? this.dealTypeId,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
workAuthorizationNumber:
workAuthorizationNumber ?? this.workAuthorizationNumber,
status: status ?? this.status,
statusDate: statusDate ?? this.statusDate,
isNoCharge: isNoCharge ?? this.isNoCharge,
isAdjusted: isAdjusted ?? this.isAdjusted,
isBilledHiatus: isBilledHiatus ?? this.isBilledHiatus,
episodeNumber: episodeNumber ?? this.episodeNumber,
hasLockedTotal: hasLockedTotal ?? this.hasLockedTotal,
isAlteredDates: isAlteredDates ?? this.isAlteredDates,
officeLocationId: officeLocationId ?? this.officeLocationId,
officeLocation: officeLocation ?? this.officeLocation,
invoiceCreationBatchId:
invoiceCreationBatchId ?? this.invoiceCreationBatchId,
invoiceCreationBatchNumber:
invoiceCreationBatchNumber ?? this.invoiceCreationBatchNumber,
invoiceGroupNumber: invoiceGroupNumber ?? this.invoiceGroupNumber,
rentalSale: rentalSale ?? this.rentalSale,
lossAndDamage: lossAndDamage ?? this.lossAndDamage,
repair: repair ?? this.repair,
inputByUserId: inputByUserId ?? this.inputByUserId,
flatPoId: flatPoId ?? this.flatPoId,
orderType: orderType ?? this.orderType,
rebateCustomerId: rebateCustomerId ?? this.rebateCustomerId,
orbitsapchgmajor: orbitsapchgmajor ?? this.orbitsapchgmajor,
orbitsapchgsub: orbitsapchgsub ?? this.orbitsapchgsub,
orbitsapchgdetail: orbitsapchgdetail ?? this.orbitsapchgdetail,
orbitsapchgdeal: orbitsapchgdeal ?? this.orbitsapchgdeal,
orbitsapchgset: orbitsapchgset ?? this.orbitsapchgset,
excludeFromFlatPo: excludeFromFlatPo ?? this.excludeFromFlatPo,
isSplitRental: isSplitRental ?? this.isSplitRental,
isRebateRental: isRebateRental ?? this.isRebateRental,
invoiceListTotal: invoiceListTotal ?? this.invoiceListTotal,
invoiceGrossTotal: invoiceGrossTotal ?? this.invoiceGrossTotal,
invoiceDiscountTotal: invoiceDiscountTotal ?? this.invoiceDiscountTotal,
invoiceDaysPerWeekDiscountTotal: invoiceDaysPerWeekDiscountTotal ??
this.invoiceDaysPerWeekDiscountTotal,
referenceNumber: referenceNumber ?? this.referenceNumber,
agentId: agentId ?? this.agentId,
agent: agent ?? this.agent,
projectManagerId: projectManagerId ?? this.projectManagerId,
projectManager: projectManager ?? this.projectManager,
billToAddressId: billToAddressId ?? this.billToAddressId,
billToName: billToName ?? this.billToName,
billToAttention1: billToAttention1 ?? this.billToAttention1,
billToAttention2: billToAttention2 ?? this.billToAttention2,
billToAddress1: billToAddress1 ?? this.billToAddress1,
billToAddress2: billToAddress2 ?? this.billToAddress2,
billToCity: billToCity ?? this.billToCity,
billToState: billToState ?? this.billToState,
billToZipCode: billToZipCode ?? this.billToZipCode,
billToCountryId: billToCountryId ?? this.billToCountryId,
billToCountry: billToCountry ?? this.billToCountry,
billToCountryCodeIsoAlpha2:
billToCountryCodeIsoAlpha2 ?? this.billToCountryCodeIsoAlpha2,
billToCountryCodePhone:
billToCountryCodePhone ?? this.billToCountryCodePhone,
invoiceClass: invoiceClass ?? this.invoiceClass,
printNotes: printNotes ?? this.printNotes,
paymentTermsId: paymentTermsId ?? this.paymentTermsId,
paymentTerms: paymentTerms ?? this.paymentTerms,
paymentTypeId: paymentTypeId ?? this.paymentTypeId,
paymentType: paymentType ?? this.paymentType,
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,
taxItemCode: taxItemCode ?? this.taxItemCode,
taxVendor: taxVendor ?? this.taxVendor,
taxCountry: taxCountry ?? this.taxCountry,
chargeBatchId: chargeBatchId ?? this.chargeBatchId,
chargeBatchNumber: chargeBatchNumber ?? this.chargeBatchNumber,
quikPayDiscount: quikPayDiscount ?? this.quikPayDiscount,
quikPayRentalTotal: quikPayRentalTotal ?? this.quikPayRentalTotal,
quikPayTotal: quikPayTotal ?? this.quikPayTotal,
receivedTotal: receivedTotal ?? this.receivedTotal,
rateType: rateType ?? this.rateType,
consignmentRevenue: consignmentRevenue ?? this.consignmentRevenue,
isNonBillable: isNonBillable ?? this.isNonBillable,
currencyId: currencyId ?? this.currencyId,
currencyCode: currencyCode ?? this.currencyCode,
currencySymbol: currencySymbol ?? this.currencySymbol,
officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
this.officeLocationDefaultCurrencyId,
divisionId: divisionId ?? this.divisionId,
outsideSalesRepresentativeId:
outsideSalesRepresentativeId ?? this.outsideSalesRepresentativeId,
outsideSalesRepresentative:
outsideSalesRepresentative ?? this.outsideSalesRepresentative,
exportTaxAsLineItem: exportTaxAsLineItem ?? this.exportTaxAsLineItem,
invoiceNumberColor: invoiceNumberColor ?? this.invoiceNumberColor,
statusColor: statusColor ?? this.statusColor,
orderNumberColor: orderNumberColor ?? this.orderNumberColor,
purchaseOrderNumberColor:
purchaseOrderNumberColor ?? this.purchaseOrderNumberColor,
dealColor: dealColor ?? this.dealColor,
billingStartDateColor:
billingStartDateColor ?? this.billingStartDateColor,
invoiceTotalColor: invoiceTotalColor ?? this.invoiceTotalColor,
descriptionColor: descriptionColor ?? this.descriptionColor,
hasRentalItem: hasRentalItem ?? this.hasRentalItem,
hasMeterItem: hasMeterItem ?? this.hasMeterItem,
hasSalesItem: hasSalesItem ?? this.hasSalesItem,
hasLaborItem: hasLaborItem ?? this.hasLaborItem,
hasMiscellaneousItem: hasMiscellaneousItem ?? this.hasMiscellaneousItem,
hasFacilityItem: hasFacilityItem ?? this.hasFacilityItem,
hasTransportationItem:
hasTransportationItem ?? this.hasTransportationItem,
hasRentalSaleItem: hasRentalSaleItem ?? this.hasRentalSaleItem,
hasRepairItem: hasRepairItem ?? this.hasRepairItem,
hasConsignment: hasConsignment ?? this.hasConsignment,
hasLossAndDamageItem: hasLossAndDamageItem ?? this.hasLossAndDamageItem,
hasInternalInvoice: hasInternalInvoice ?? this.hasInternalInvoice,
isInternal: isInternal ?? this.isInternal,
rentalTotal: rentalTotal ?? this.rentalTotal,
salesTotal: salesTotal ?? this.salesTotal,
facilitiesTotal: facilitiesTotal ?? this.facilitiesTotal,
miscellaneousTotal: miscellaneousTotal ?? this.miscellaneousTotal,
laborTotal: laborTotal ?? this.laborTotal,
partsTotal: partsTotal ?? this.partsTotal,
assetSaleTotal: assetSaleTotal ?? this.assetSaleTotal,
invoiceSubTotal: invoiceSubTotal ?? this.invoiceSubTotal,
invoiceTax1: invoiceTax1 ?? this.invoiceTax1,
invoiceTax2: invoiceTax2 ?? this.invoiceTax2,
invoiceTax: invoiceTax ?? this.invoiceTax,
invoiceTotal: invoiceTotal ?? this.invoiceTotal,
remainingTotal: remainingTotal ?? this.remainingTotal,
isStandAloneInvoice: isStandAloneInvoice ?? this.isStandAloneInvoice,
warehouseId: warehouseId ?? this.warehouseId,
termsConditionsId: termsConditionsId ?? this.termsConditionsId,
termsConditions: termsConditions ?? this.termsConditions,
sourceId: sourceId ?? this.sourceId,
sourceDate: sourceDate ?? this.sourceDate,
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);
}