copyWithWrapped method
Implementation
WebApiModulesBillingReceiptReceiptCredit copyWithWrapped(
{Wrapped<String?>? creditReceiptId,
Wrapped<String?>? creditId,
Wrapped<String?>? checkNumber,
Wrapped<double?>? amount,
Wrapped<String?>? refundCreditCardTransactionId}) {
return WebApiModulesBillingReceiptReceiptCredit(
creditReceiptId: (creditReceiptId != null
? creditReceiptId.value
: this.creditReceiptId),
creditId: (creditId != null ? creditId.value : this.creditId),
checkNumber:
(checkNumber != null ? checkNumber.value : this.checkNumber),
amount: (amount != null ? amount.value : this.amount),
refundCreditCardTransactionId: (refundCreditCardTransactionId != null
? refundCreditCardTransactionId.value
: this.refundCreditCardTransactionId));
}