copyWith method

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

Implementation

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