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