copyWith method
Credit1099
copyWith({
- String? documentId,
- CreditDocumentMetadata? documentMetadata,
- 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,
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);
}