copyWith method
WebApiModulesSettingsTaxSettingsTaxOptionTaxOption
copyWith({
- String? taxOptionId,
- String? taxOption,
- bool? availableForSales,
- bool? availableForPurchases,
- String? taxCountryId,
- String? taxCountry,
- String? taxRule,
- double? rentalTaxRate1,
- double? rentalTaxRate2,
- bool? rentalExempt,
- String? rentalTaxDisplay,
- String? rentalTaxAlias,
- double? salesTaxRate1,
- double? salesTaxRate2,
- bool? salesExempt,
- String? salesTaxDisplay,
- String? salesTaxAlias,
- double? laborTaxRate1,
- double? laborTaxRate2,
- bool? laborExempt,
- String? laborTaxDisplay,
- String? laborTaxAlias,
- bool? taxOnTax,
- String? taxOnTaxAccountId,
- String? taxOnTaxAccountNo,
- String? taxOnTaxAccountDescription,
- String? taxAccountId1,
- String? taxAccountNo1,
- String? taxAccountDescription1,
- String? taxAccountId2,
- String? taxAccountNo2,
- String? taxAccountDescription2,
- String? quickBooksTaxItemCode,
- String? quickBooksTaxItemDescription,
- String? quickBooksTaxVendor,
- bool? quickBooksTaxGroup,
- String? gstExportCode,
- String? pstExportCode,
- String? tax1Name,
- String? tax1Description,
- String? tax2Name,
- String? tax2Description,
- bool? inactive,
- String? dateStamp,
- String? taxOptionCity,
- String? taxOptionCounty,
- String? taxOptionStateId,
- String? taxOptionState,
- String? taxOptionRateCode,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesSettingsTaxSettingsTaxOptionTaxOption copyWith({
String? taxOptionId,
String? taxOption,
bool? availableForSales,
bool? availableForPurchases,
String? taxCountryId,
String? taxCountry,
String? taxRule,
double? rentalTaxRate1,
double? rentalTaxRate2,
bool? rentalExempt,
String? rentalTaxDisplay,
String? rentalTaxAlias,
double? salesTaxRate1,
double? salesTaxRate2,
bool? salesExempt,
String? salesTaxDisplay,
String? salesTaxAlias,
double? laborTaxRate1,
double? laborTaxRate2,
bool? laborExempt,
String? laborTaxDisplay,
String? laborTaxAlias,
bool? taxOnTax,
String? taxOnTaxAccountId,
String? taxOnTaxAccountNo,
String? taxOnTaxAccountDescription,
String? taxAccountId1,
String? taxAccountNo1,
String? taxAccountDescription1,
String? taxAccountId2,
String? taxAccountNo2,
String? taxAccountDescription2,
String? quickBooksTaxItemCode,
String? quickBooksTaxItemDescription,
String? quickBooksTaxVendor,
bool? quickBooksTaxGroup,
String? gstExportCode,
String? pstExportCode,
String? tax1Name,
String? tax1Description,
String? tax2Name,
String? tax2Description,
bool? inactive,
String? dateStamp,
String? taxOptionCity,
String? taxOptionCounty,
String? taxOptionStateId,
String? taxOptionState,
String? taxOptionRateCode,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
bool? hasDocuments,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
return WebApiModulesSettingsTaxSettingsTaxOptionTaxOption(
taxOptionId: taxOptionId ?? this.taxOptionId,
taxOption: taxOption ?? this.taxOption,
availableForSales: availableForSales ?? this.availableForSales,
availableForPurchases:
availableForPurchases ?? this.availableForPurchases,
taxCountryId: taxCountryId ?? this.taxCountryId,
taxCountry: taxCountry ?? this.taxCountry,
taxRule: taxRule ?? this.taxRule,
rentalTaxRate1: rentalTaxRate1 ?? this.rentalTaxRate1,
rentalTaxRate2: rentalTaxRate2 ?? this.rentalTaxRate2,
rentalExempt: rentalExempt ?? this.rentalExempt,
rentalTaxDisplay: rentalTaxDisplay ?? this.rentalTaxDisplay,
rentalTaxAlias: rentalTaxAlias ?? this.rentalTaxAlias,
salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
salesExempt: salesExempt ?? this.salesExempt,
salesTaxDisplay: salesTaxDisplay ?? this.salesTaxDisplay,
salesTaxAlias: salesTaxAlias ?? this.salesTaxAlias,
laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
laborExempt: laborExempt ?? this.laborExempt,
laborTaxDisplay: laborTaxDisplay ?? this.laborTaxDisplay,
laborTaxAlias: laborTaxAlias ?? this.laborTaxAlias,
taxOnTax: taxOnTax ?? this.taxOnTax,
taxOnTaxAccountId: taxOnTaxAccountId ?? this.taxOnTaxAccountId,
taxOnTaxAccountNo: taxOnTaxAccountNo ?? this.taxOnTaxAccountNo,
taxOnTaxAccountDescription:
taxOnTaxAccountDescription ?? this.taxOnTaxAccountDescription,
taxAccountId1: taxAccountId1 ?? this.taxAccountId1,
taxAccountNo1: taxAccountNo1 ?? this.taxAccountNo1,
taxAccountDescription1:
taxAccountDescription1 ?? this.taxAccountDescription1,
taxAccountId2: taxAccountId2 ?? this.taxAccountId2,
taxAccountNo2: taxAccountNo2 ?? this.taxAccountNo2,
taxAccountDescription2:
taxAccountDescription2 ?? this.taxAccountDescription2,
quickBooksTaxItemCode:
quickBooksTaxItemCode ?? this.quickBooksTaxItemCode,
quickBooksTaxItemDescription:
quickBooksTaxItemDescription ?? this.quickBooksTaxItemDescription,
quickBooksTaxVendor: quickBooksTaxVendor ?? this.quickBooksTaxVendor,
quickBooksTaxGroup: quickBooksTaxGroup ?? this.quickBooksTaxGroup,
gstExportCode: gstExportCode ?? this.gstExportCode,
pstExportCode: pstExportCode ?? this.pstExportCode,
tax1Name: tax1Name ?? this.tax1Name,
tax1Description: tax1Description ?? this.tax1Description,
tax2Name: tax2Name ?? this.tax2Name,
tax2Description: tax2Description ?? this.tax2Description,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
taxOptionCity: taxOptionCity ?? this.taxOptionCity,
taxOptionCounty: taxOptionCounty ?? this.taxOptionCounty,
taxOptionStateId: taxOptionStateId ?? this.taxOptionStateId,
taxOptionState: taxOptionState ?? this.taxOptionState,
taxOptionRateCode: taxOptionRateCode ?? this.taxOptionRateCode,
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,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}