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,
- double? salesTaxRate1,
- double? salesTaxRate2,
- bool? salesExempt,
- String? salesTaxDisplay,
- double? laborTaxRate1,
- double? laborTaxRate2,
- bool? laborExempt,
- String? laborTaxDisplay,
- 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? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes,
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,
double? salesTaxRate1,
double? salesTaxRate2,
bool? salesExempt,
String? salesTaxDisplay,
double? laborTaxRate1,
double? laborTaxRate2,
bool? laborExempt,
String? laborTaxDisplay,
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? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
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,
salesTaxRate1: salesTaxRate1 ?? this.salesTaxRate1,
salesTaxRate2: salesTaxRate2 ?? this.salesTaxRate2,
salesExempt: salesExempt ?? this.salesExempt,
salesTaxDisplay: salesTaxDisplay ?? this.salesTaxDisplay,
laborTaxRate1: laborTaxRate1 ?? this.laborTaxRate1,
laborTaxRate2: laborTaxRate2 ?? this.laborTaxRate2,
laborExempt: laborExempt ?? this.laborExempt,
laborTaxDisplay: laborTaxDisplay ?? this.laborTaxDisplay,
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,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes);
}