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