copyWithWrapped method
MortgageLiability
copyWithWrapped({
- Wrapped<
String> ? accountId, - Wrapped<
String> ? accountNumber, - Wrapped<
double?> ? currentLateFee, - Wrapped<
double?> ? escrowBalance, - Wrapped<
bool?> ? hasPmi, - Wrapped<
bool?> ? hasPrepaymentPenalty, - Wrapped<
MortgageInterestRate> ? interestRate, - Wrapped<
double?> ? lastPaymentAmount, - Wrapped<
DateTime?> ? lastPaymentDate, - Wrapped<
String?> ? loanTypeDescription, - Wrapped<
String?> ? loanTerm, - Wrapped<
DateTime?> ? maturityDate, - Wrapped<
double?> ? nextMonthlyPayment, - Wrapped<
DateTime?> ? nextPaymentDueDate, - Wrapped<
DateTime?> ? originationDate, - Wrapped<
double?> ? originationPrincipalAmount, - Wrapped<
double?> ? pastDueAmount, - Wrapped<
MortgagePropertyAddress> ? propertyAddress, - Wrapped<
double?> ? ytdInterestPaid, - Wrapped<
double?> ? ytdPrincipalPaid,
Implementation
MortgageLiability copyWithWrapped(
{Wrapped<String>? accountId,
Wrapped<String>? accountNumber,
Wrapped<double?>? currentLateFee,
Wrapped<double?>? escrowBalance,
Wrapped<bool?>? hasPmi,
Wrapped<bool?>? hasPrepaymentPenalty,
Wrapped<MortgageInterestRate>? interestRate,
Wrapped<double?>? lastPaymentAmount,
Wrapped<DateTime?>? lastPaymentDate,
Wrapped<String?>? loanTypeDescription,
Wrapped<String?>? loanTerm,
Wrapped<DateTime?>? maturityDate,
Wrapped<double?>? nextMonthlyPayment,
Wrapped<DateTime?>? nextPaymentDueDate,
Wrapped<DateTime?>? originationDate,
Wrapped<double?>? originationPrincipalAmount,
Wrapped<double?>? pastDueAmount,
Wrapped<MortgagePropertyAddress>? propertyAddress,
Wrapped<double?>? ytdInterestPaid,
Wrapped<double?>? ytdPrincipalPaid}) {
return MortgageLiability(
accountId: (accountId != null ? accountId.value : this.accountId),
accountNumber:
(accountNumber != null ? accountNumber.value : this.accountNumber),
currentLateFee: (currentLateFee != null
? currentLateFee.value
: this.currentLateFee),
escrowBalance:
(escrowBalance != null ? escrowBalance.value : this.escrowBalance),
hasPmi: (hasPmi != null ? hasPmi.value : this.hasPmi),
hasPrepaymentPenalty: (hasPrepaymentPenalty != null
? hasPrepaymentPenalty.value
: this.hasPrepaymentPenalty),
interestRate:
(interestRate != null ? interestRate.value : this.interestRate),
lastPaymentAmount: (lastPaymentAmount != null
? lastPaymentAmount.value
: this.lastPaymentAmount),
lastPaymentDate: (lastPaymentDate != null
? lastPaymentDate.value
: this.lastPaymentDate),
loanTypeDescription: (loanTypeDescription != null
? loanTypeDescription.value
: this.loanTypeDescription),
loanTerm: (loanTerm != null ? loanTerm.value : this.loanTerm),
maturityDate:
(maturityDate != null ? maturityDate.value : this.maturityDate),
nextMonthlyPayment: (nextMonthlyPayment != null
? nextMonthlyPayment.value
: this.nextMonthlyPayment),
nextPaymentDueDate: (nextPaymentDueDate != null
? nextPaymentDueDate.value
: this.nextPaymentDueDate),
originationDate: (originationDate != null
? originationDate.value
: this.originationDate),
originationPrincipalAmount: (originationPrincipalAmount != null
? originationPrincipalAmount.value
: this.originationPrincipalAmount),
pastDueAmount:
(pastDueAmount != null ? pastDueAmount.value : this.pastDueAmount),
propertyAddress: (propertyAddress != null
? propertyAddress.value
: this.propertyAddress),
ytdInterestPaid: (ytdInterestPaid != null
? ytdInterestPaid.value
: this.ytdInterestPaid),
ytdPrincipalPaid: (ytdPrincipalPaid != null
? ytdPrincipalPaid.value
: this.ytdPrincipalPaid));
}