copyWithWrapped method

WebApiLogicAppFuncDefaultSettingsResponse copyWithWrapped({
  1. Wrapped<String?>? defaultUnitId,
  2. Wrapped<String?>? defaultUnit,
  3. Wrapped<String?>? defaultDealStatusId,
  4. Wrapped<String?>? defaultDealStatus,
  5. Wrapped<bool?>? defaultDealPoRequired,
  6. Wrapped<String?>? defaultDealPoType,
  7. Wrapped<bool?>? defaultDealStagingExcludeOrderAfterWrap,
  8. Wrapped<String?>? defaultCustomerStatusId,
  9. Wrapped<String?>? defaultCustomerStatus,
  10. Wrapped<String?>? defaultCustomerPaymentTypeId,
  11. Wrapped<String?>? defaultCustomerPaymentType,
  12. Wrapped<String?>? defaultDealBillingCycleId,
  13. Wrapped<String?>? defaultDealBillingCycle,
  14. Wrapped<String?>? defaultVendorPaymentTermsId,
  15. Wrapped<String?>? defaultVendorPaymentTerms,
  16. Wrapped<String?>? defaultVendorOutgoingDeliveryType,
  17. Wrapped<String?>? defaultVendorIncomingDeliveryType,
  18. Wrapped<bool?>? defaultVendorRentalInventory,
  19. Wrapped<bool?>? defaultVendorSalesPartsInventory,
  20. Wrapped<bool?>? defaultVendorRepair,
  21. Wrapped<bool?>? defaultVendorManufacturer,
  22. Wrapped<bool?>? defaultVendorFreight,
  23. Wrapped<bool?>? defaultVendorInsurance,
  24. Wrapped<bool?>? defaultVendorSubRent,
  25. Wrapped<bool?>? defaultVendorSubSales,
  26. Wrapped<bool?>? defaultVendorSubMisc,
  27. Wrapped<bool?>? defaultVendorSubLabor,
  28. Wrapped<bool?>? defaultVendorSubVehicle,
  29. Wrapped<bool?>? defaultVendorConsignment,
  30. Wrapped<String?>? defaultNonRecurringBillingCycleId,
  31. Wrapped<String?>? defaultNonRecurringBillingCycle,
  32. Wrapped<String?>? defaultVendorBillingCycleId,
  33. Wrapped<String?>? defaultVendorBillingCycle,
  34. Wrapped<String?>? defaultVendorPaymentTypeId,
  35. Wrapped<String?>? defaultVendorPaymentType,
  36. Wrapped<String?>? defaultCustomerPaymentTermsId,
  37. Wrapped<String?>? defaultCustomerPaymentTerms,
  38. Wrapped<String?>? defaultRank,
  39. Wrapped<String?>? defaultCreditStatusId,
  40. Wrapped<String?>? defaultCreditStatus,
  41. Wrapped<bool?>? contactShowAllDeals,
  42. Wrapped<bool?>? defaultFulfillStrictPricingMatch,
  43. Wrapped<bool?>? defaultFulfillStrictNestingLvlMatch,
})

Implementation

WebApiLogicAppFuncDefaultSettingsResponse copyWithWrapped({
  Wrapped<String?>? defaultUnitId,
  Wrapped<String?>? defaultUnit,
  Wrapped<String?>? defaultDealStatusId,
  Wrapped<String?>? defaultDealStatus,
  Wrapped<bool?>? defaultDealPoRequired,
  Wrapped<String?>? defaultDealPoType,
  Wrapped<bool?>? defaultDealStagingExcludeOrderAfterWrap,
  Wrapped<String?>? defaultCustomerStatusId,
  Wrapped<String?>? defaultCustomerStatus,
  Wrapped<String?>? defaultCustomerPaymentTypeId,
  Wrapped<String?>? defaultCustomerPaymentType,
  Wrapped<String?>? defaultDealBillingCycleId,
  Wrapped<String?>? defaultDealBillingCycle,
  Wrapped<String?>? defaultVendorPaymentTermsId,
  Wrapped<String?>? defaultVendorPaymentTerms,
  Wrapped<String?>? defaultVendorOutgoingDeliveryType,
  Wrapped<String?>? defaultVendorIncomingDeliveryType,
  Wrapped<bool?>? defaultVendorRentalInventory,
  Wrapped<bool?>? defaultVendorSalesPartsInventory,
  Wrapped<bool?>? defaultVendorRepair,
  Wrapped<bool?>? defaultVendorManufacturer,
  Wrapped<bool?>? defaultVendorFreight,
  Wrapped<bool?>? defaultVendorInsurance,
  Wrapped<bool?>? defaultVendorSubRent,
  Wrapped<bool?>? defaultVendorSubSales,
  Wrapped<bool?>? defaultVendorSubMisc,
  Wrapped<bool?>? defaultVendorSubLabor,
  Wrapped<bool?>? defaultVendorSubVehicle,
  Wrapped<bool?>? defaultVendorConsignment,
  Wrapped<String?>? defaultNonRecurringBillingCycleId,
  Wrapped<String?>? defaultNonRecurringBillingCycle,
  Wrapped<String?>? defaultVendorBillingCycleId,
  Wrapped<String?>? defaultVendorBillingCycle,
  Wrapped<String?>? defaultVendorPaymentTypeId,
  Wrapped<String?>? defaultVendorPaymentType,
  Wrapped<String?>? defaultCustomerPaymentTermsId,
  Wrapped<String?>? defaultCustomerPaymentTerms,
  Wrapped<String?>? defaultRank,
  Wrapped<String?>? defaultCreditStatusId,
  Wrapped<String?>? defaultCreditStatus,
  Wrapped<bool?>? contactShowAllDeals,
  Wrapped<bool?>? defaultFulfillStrictPricingMatch,
  Wrapped<bool?>? defaultFulfillStrictNestingLvlMatch,
}) {
  return WebApiLogicAppFuncDefaultSettingsResponse(
    defaultUnitId: (defaultUnitId != null
        ? defaultUnitId.value
        : this.defaultUnitId),
    defaultUnit: (defaultUnit != null ? defaultUnit.value : this.defaultUnit),
    defaultDealStatusId: (defaultDealStatusId != null
        ? defaultDealStatusId.value
        : this.defaultDealStatusId),
    defaultDealStatus: (defaultDealStatus != null
        ? defaultDealStatus.value
        : this.defaultDealStatus),
    defaultDealPoRequired: (defaultDealPoRequired != null
        ? defaultDealPoRequired.value
        : this.defaultDealPoRequired),
    defaultDealPoType: (defaultDealPoType != null
        ? defaultDealPoType.value
        : this.defaultDealPoType),
    defaultDealStagingExcludeOrderAfterWrap:
        (defaultDealStagingExcludeOrderAfterWrap != null
        ? defaultDealStagingExcludeOrderAfterWrap.value
        : this.defaultDealStagingExcludeOrderAfterWrap),
    defaultCustomerStatusId: (defaultCustomerStatusId != null
        ? defaultCustomerStatusId.value
        : this.defaultCustomerStatusId),
    defaultCustomerStatus: (defaultCustomerStatus != null
        ? defaultCustomerStatus.value
        : this.defaultCustomerStatus),
    defaultCustomerPaymentTypeId: (defaultCustomerPaymentTypeId != null
        ? defaultCustomerPaymentTypeId.value
        : this.defaultCustomerPaymentTypeId),
    defaultCustomerPaymentType: (defaultCustomerPaymentType != null
        ? defaultCustomerPaymentType.value
        : this.defaultCustomerPaymentType),
    defaultDealBillingCycleId: (defaultDealBillingCycleId != null
        ? defaultDealBillingCycleId.value
        : this.defaultDealBillingCycleId),
    defaultDealBillingCycle: (defaultDealBillingCycle != null
        ? defaultDealBillingCycle.value
        : this.defaultDealBillingCycle),
    defaultVendorPaymentTermsId: (defaultVendorPaymentTermsId != null
        ? defaultVendorPaymentTermsId.value
        : this.defaultVendorPaymentTermsId),
    defaultVendorPaymentTerms: (defaultVendorPaymentTerms != null
        ? defaultVendorPaymentTerms.value
        : this.defaultVendorPaymentTerms),
    defaultVendorOutgoingDeliveryType:
        (defaultVendorOutgoingDeliveryType != null
        ? defaultVendorOutgoingDeliveryType.value
        : this.defaultVendorOutgoingDeliveryType),
    defaultVendorIncomingDeliveryType:
        (defaultVendorIncomingDeliveryType != null
        ? defaultVendorIncomingDeliveryType.value
        : this.defaultVendorIncomingDeliveryType),
    defaultVendorRentalInventory: (defaultVendorRentalInventory != null
        ? defaultVendorRentalInventory.value
        : this.defaultVendorRentalInventory),
    defaultVendorSalesPartsInventory:
        (defaultVendorSalesPartsInventory != null
        ? defaultVendorSalesPartsInventory.value
        : this.defaultVendorSalesPartsInventory),
    defaultVendorRepair: (defaultVendorRepair != null
        ? defaultVendorRepair.value
        : this.defaultVendorRepair),
    defaultVendorManufacturer: (defaultVendorManufacturer != null
        ? defaultVendorManufacturer.value
        : this.defaultVendorManufacturer),
    defaultVendorFreight: (defaultVendorFreight != null
        ? defaultVendorFreight.value
        : this.defaultVendorFreight),
    defaultVendorInsurance: (defaultVendorInsurance != null
        ? defaultVendorInsurance.value
        : this.defaultVendorInsurance),
    defaultVendorSubRent: (defaultVendorSubRent != null
        ? defaultVendorSubRent.value
        : this.defaultVendorSubRent),
    defaultVendorSubSales: (defaultVendorSubSales != null
        ? defaultVendorSubSales.value
        : this.defaultVendorSubSales),
    defaultVendorSubMisc: (defaultVendorSubMisc != null
        ? defaultVendorSubMisc.value
        : this.defaultVendorSubMisc),
    defaultVendorSubLabor: (defaultVendorSubLabor != null
        ? defaultVendorSubLabor.value
        : this.defaultVendorSubLabor),
    defaultVendorSubVehicle: (defaultVendorSubVehicle != null
        ? defaultVendorSubVehicle.value
        : this.defaultVendorSubVehicle),
    defaultVendorConsignment: (defaultVendorConsignment != null
        ? defaultVendorConsignment.value
        : this.defaultVendorConsignment),
    defaultNonRecurringBillingCycleId:
        (defaultNonRecurringBillingCycleId != null
        ? defaultNonRecurringBillingCycleId.value
        : this.defaultNonRecurringBillingCycleId),
    defaultNonRecurringBillingCycle: (defaultNonRecurringBillingCycle != null
        ? defaultNonRecurringBillingCycle.value
        : this.defaultNonRecurringBillingCycle),
    defaultVendorBillingCycleId: (defaultVendorBillingCycleId != null
        ? defaultVendorBillingCycleId.value
        : this.defaultVendorBillingCycleId),
    defaultVendorBillingCycle: (defaultVendorBillingCycle != null
        ? defaultVendorBillingCycle.value
        : this.defaultVendorBillingCycle),
    defaultVendorPaymentTypeId: (defaultVendorPaymentTypeId != null
        ? defaultVendorPaymentTypeId.value
        : this.defaultVendorPaymentTypeId),
    defaultVendorPaymentType: (defaultVendorPaymentType != null
        ? defaultVendorPaymentType.value
        : this.defaultVendorPaymentType),
    defaultCustomerPaymentTermsId: (defaultCustomerPaymentTermsId != null
        ? defaultCustomerPaymentTermsId.value
        : this.defaultCustomerPaymentTermsId),
    defaultCustomerPaymentTerms: (defaultCustomerPaymentTerms != null
        ? defaultCustomerPaymentTerms.value
        : this.defaultCustomerPaymentTerms),
    defaultRank: (defaultRank != null ? defaultRank.value : this.defaultRank),
    defaultCreditStatusId: (defaultCreditStatusId != null
        ? defaultCreditStatusId.value
        : this.defaultCreditStatusId),
    defaultCreditStatus: (defaultCreditStatus != null
        ? defaultCreditStatus.value
        : this.defaultCreditStatus),
    contactShowAllDeals: (contactShowAllDeals != null
        ? contactShowAllDeals.value
        : this.contactShowAllDeals),
    defaultFulfillStrictPricingMatch:
        (defaultFulfillStrictPricingMatch != null
        ? defaultFulfillStrictPricingMatch.value
        : this.defaultFulfillStrictPricingMatch),
    defaultFulfillStrictNestingLvlMatch:
        (defaultFulfillStrictNestingLvlMatch != null
        ? defaultFulfillStrictNestingLvlMatch.value
        : this.defaultFulfillStrictNestingLvlMatch),
  );
}