copyWithWrapped method

Credit1099 copyWithWrapped({
  1. Wrapped<String?>? documentId,
  2. Wrapped<CreditDocumentMetadata?>? documentMetadata,
  3. Wrapped<Form1099Type?>? form1099Type,
  4. Wrapped<Credit1099Recipient?>? recipient,
  5. Wrapped<Credit1099Payer?>? payer,
  6. Wrapped<Credit1099Filer?>? filer,
  7. Wrapped<String?>? taxYear,
  8. Wrapped<double?>? rents,
  9. Wrapped<double?>? royalties,
  10. Wrapped<double?>? otherIncome,
  11. Wrapped<double?>? federalIncomeTaxWithheld,
  12. Wrapped<double?>? fishingBoatProceeds,
  13. Wrapped<double?>? medicalAndHealthcarePayments,
  14. Wrapped<double?>? nonemployeeCompensation,
  15. Wrapped<double?>? substitutePaymentsInLieuOfDividendsOrInterest,
  16. Wrapped<String?>? payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer,
  17. Wrapped<double?>? cropInsuranceProceeds,
  18. Wrapped<double?>? excessGoldenParachutePayments,
  19. Wrapped<double?>? grossProceedsPaidToAnAttorney,
  20. Wrapped<double?>? section409aDeferrals,
  21. Wrapped<double?>? section409aIncome,
  22. Wrapped<double?>? stateTaxWithheld,
  23. Wrapped<double?>? stateTaxWithheldLower,
  24. Wrapped<String?>? payerStateNumber,
  25. Wrapped<String?>? payerStateNumberLower,
  26. Wrapped<double?>? stateIncome,
  27. Wrapped<double?>? stateIncomeLower,
  28. Wrapped<String?>? transactionsReported,
  29. Wrapped<String?>? pseName,
  30. Wrapped<String?>? pseTelephoneNumber,
  31. Wrapped<double?>? grossAmount,
  32. Wrapped<double?>? cardNotPresentTransaction,
  33. Wrapped<String?>? merchantCategoryCode,
  34. Wrapped<String?>? numberOfPaymentTransactions,
  35. Wrapped<double?>? januaryAmount,
  36. Wrapped<double?>? februaryAmount,
  37. Wrapped<double?>? marchAmount,
  38. Wrapped<double?>? aprilAmount,
  39. Wrapped<double?>? mayAmount,
  40. Wrapped<double?>? juneAmount,
  41. Wrapped<double?>? julyAmount,
  42. Wrapped<double?>? augustAmount,
  43. Wrapped<double?>? septemberAmount,
  44. Wrapped<double?>? octoberAmount,
  45. Wrapped<double?>? novemberAmount,
  46. Wrapped<double?>? decemberAmount,
  47. Wrapped<String?>? primaryState,
  48. Wrapped<String?>? secondaryState,
  49. Wrapped<String?>? primaryStateId,
  50. Wrapped<String?>? secondaryStateId,
  51. Wrapped<double?>? primaryStateIncomeTax,
  52. Wrapped<double?>? secondaryStateIncomeTax,
})

Implementation

Credit1099 copyWithWrapped(
    {Wrapped<String?>? documentId,
    Wrapped<CreditDocumentMetadata?>? documentMetadata,
    Wrapped<enums.Form1099Type?>? form1099Type,
    Wrapped<Credit1099Recipient?>? recipient,
    Wrapped<Credit1099Payer?>? payer,
    Wrapped<Credit1099Filer?>? filer,
    Wrapped<String?>? taxYear,
    Wrapped<double?>? rents,
    Wrapped<double?>? royalties,
    Wrapped<double?>? otherIncome,
    Wrapped<double?>? federalIncomeTaxWithheld,
    Wrapped<double?>? fishingBoatProceeds,
    Wrapped<double?>? medicalAndHealthcarePayments,
    Wrapped<double?>? nonemployeeCompensation,
    Wrapped<double?>? substitutePaymentsInLieuOfDividendsOrInterest,
    Wrapped<String?>?
        payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer,
    Wrapped<double?>? cropInsuranceProceeds,
    Wrapped<double?>? excessGoldenParachutePayments,
    Wrapped<double?>? grossProceedsPaidToAnAttorney,
    Wrapped<double?>? section409aDeferrals,
    Wrapped<double?>? section409aIncome,
    Wrapped<double?>? stateTaxWithheld,
    Wrapped<double?>? stateTaxWithheldLower,
    Wrapped<String?>? payerStateNumber,
    Wrapped<String?>? payerStateNumberLower,
    Wrapped<double?>? stateIncome,
    Wrapped<double?>? stateIncomeLower,
    Wrapped<String?>? transactionsReported,
    Wrapped<String?>? pseName,
    Wrapped<String?>? pseTelephoneNumber,
    Wrapped<double?>? grossAmount,
    Wrapped<double?>? cardNotPresentTransaction,
    Wrapped<String?>? merchantCategoryCode,
    Wrapped<String?>? numberOfPaymentTransactions,
    Wrapped<double?>? januaryAmount,
    Wrapped<double?>? februaryAmount,
    Wrapped<double?>? marchAmount,
    Wrapped<double?>? aprilAmount,
    Wrapped<double?>? mayAmount,
    Wrapped<double?>? juneAmount,
    Wrapped<double?>? julyAmount,
    Wrapped<double?>? augustAmount,
    Wrapped<double?>? septemberAmount,
    Wrapped<double?>? octoberAmount,
    Wrapped<double?>? novemberAmount,
    Wrapped<double?>? decemberAmount,
    Wrapped<String?>? primaryState,
    Wrapped<String?>? secondaryState,
    Wrapped<String?>? primaryStateId,
    Wrapped<String?>? secondaryStateId,
    Wrapped<double?>? primaryStateIncomeTax,
    Wrapped<double?>? secondaryStateIncomeTax}) {
  return Credit1099(
      documentId: (documentId != null ? documentId.value : this.documentId),
      documentMetadata: (documentMetadata != null
          ? documentMetadata.value
          : this.documentMetadata),
      form1099Type:
          (form1099Type != null ? form1099Type.value : this.form1099Type),
      recipient: (recipient != null ? recipient.value : this.recipient),
      payer: (payer != null ? payer.value : this.payer),
      filer: (filer != null ? filer.value : this.filer),
      taxYear: (taxYear != null ? taxYear.value : this.taxYear),
      rents: (rents != null ? rents.value : this.rents),
      royalties: (royalties != null ? royalties.value : this.royalties),
      otherIncome:
          (otherIncome != null ? otherIncome.value : this.otherIncome),
      federalIncomeTaxWithheld: (federalIncomeTaxWithheld != null
          ? federalIncomeTaxWithheld.value
          : this.federalIncomeTaxWithheld),
      fishingBoatProceeds: (fishingBoatProceeds != null
          ? fishingBoatProceeds.value
          : this.fishingBoatProceeds),
      medicalAndHealthcarePayments: (medicalAndHealthcarePayments != null
          ? medicalAndHealthcarePayments.value
          : this.medicalAndHealthcarePayments),
      nonemployeeCompensation: (nonemployeeCompensation != null
          ? nonemployeeCompensation.value
          : this.nonemployeeCompensation),
      substitutePaymentsInLieuOfDividendsOrInterest:
          (substitutePaymentsInLieuOfDividendsOrInterest != null
              ? substitutePaymentsInLieuOfDividendsOrInterest.value
              : this.substitutePaymentsInLieuOfDividendsOrInterest),
      payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer: (payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer != null
          ? payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer.value
          : this.payerMadeDirectSalesOf5000OrMoreOfConsumerProductsToBuyer),
      cropInsuranceProceeds: (cropInsuranceProceeds != null
          ? cropInsuranceProceeds.value
          : this.cropInsuranceProceeds),
      excessGoldenParachutePayments: (excessGoldenParachutePayments != null
          ? excessGoldenParachutePayments.value
          : this.excessGoldenParachutePayments),
      grossProceedsPaidToAnAttorney: (grossProceedsPaidToAnAttorney != null
          ? grossProceedsPaidToAnAttorney.value
          : this.grossProceedsPaidToAnAttorney),
      section409aDeferrals: (section409aDeferrals != null
          ? section409aDeferrals.value
          : this.section409aDeferrals),
      section409aIncome: (section409aIncome != null
          ? section409aIncome.value
          : this.section409aIncome),
      stateTaxWithheld: (stateTaxWithheld != null
          ? stateTaxWithheld.value
          : this.stateTaxWithheld),
      stateTaxWithheldLower: (stateTaxWithheldLower != null
          ? stateTaxWithheldLower.value
          : this.stateTaxWithheldLower),
      payerStateNumber: (payerStateNumber != null
          ? payerStateNumber.value
          : this.payerStateNumber),
      payerStateNumberLower: (payerStateNumberLower != null
          ? payerStateNumberLower.value
          : this.payerStateNumberLower),
      stateIncome:
          (stateIncome != null ? stateIncome.value : this.stateIncome),
      stateIncomeLower: (stateIncomeLower != null
          ? stateIncomeLower.value
          : this.stateIncomeLower),
      transactionsReported: (transactionsReported != null
          ? transactionsReported.value
          : this.transactionsReported),
      pseName: (pseName != null ? pseName.value : this.pseName),
      pseTelephoneNumber: (pseTelephoneNumber != null
          ? pseTelephoneNumber.value
          : this.pseTelephoneNumber),
      grossAmount:
          (grossAmount != null ? grossAmount.value : this.grossAmount),
      cardNotPresentTransaction: (cardNotPresentTransaction != null
          ? cardNotPresentTransaction.value
          : this.cardNotPresentTransaction),
      merchantCategoryCode:
          (merchantCategoryCode != null ? merchantCategoryCode.value : this.merchantCategoryCode),
      numberOfPaymentTransactions: (numberOfPaymentTransactions != null ? numberOfPaymentTransactions.value : this.numberOfPaymentTransactions),
      januaryAmount: (januaryAmount != null ? januaryAmount.value : this.januaryAmount),
      februaryAmount: (februaryAmount != null ? februaryAmount.value : this.februaryAmount),
      marchAmount: (marchAmount != null ? marchAmount.value : this.marchAmount),
      aprilAmount: (aprilAmount != null ? aprilAmount.value : this.aprilAmount),
      mayAmount: (mayAmount != null ? mayAmount.value : this.mayAmount),
      juneAmount: (juneAmount != null ? juneAmount.value : this.juneAmount),
      julyAmount: (julyAmount != null ? julyAmount.value : this.julyAmount),
      augustAmount: (augustAmount != null ? augustAmount.value : this.augustAmount),
      septemberAmount: (septemberAmount != null ? septemberAmount.value : this.septemberAmount),
      octoberAmount: (octoberAmount != null ? octoberAmount.value : this.octoberAmount),
      novemberAmount: (novemberAmount != null ? novemberAmount.value : this.novemberAmount),
      decemberAmount: (decemberAmount != null ? decemberAmount.value : this.decemberAmount),
      primaryState: (primaryState != null ? primaryState.value : this.primaryState),
      secondaryState: (secondaryState != null ? secondaryState.value : this.secondaryState),
      primaryStateId: (primaryStateId != null ? primaryStateId.value : this.primaryStateId),
      secondaryStateId: (secondaryStateId != null ? secondaryStateId.value : this.secondaryStateId),
      primaryStateIncomeTax: (primaryStateIncomeTax != null ? primaryStateIncomeTax.value : this.primaryStateIncomeTax),
      secondaryStateIncomeTax: (secondaryStateIncomeTax != null ? secondaryStateIncomeTax.value : this.secondaryStateIncomeTax));
}