copyWithWrapped method

WebApiModulesBillingReceiptReceiptCredit copyWithWrapped({
  1. Wrapped<String?>? creditReceiptId,
  2. Wrapped<String?>? creditId,
  3. Wrapped<String?>? checkNumber,
  4. Wrapped<double?>? amount,
  5. Wrapped<String?>? refundCreditCardTransactionId,
})

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));
}