copyWith method

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

Implementation

WebApiModulesBillingReceiptReceiptCredit copyWith(
    {String? creditReceiptId,
    String? creditId,
    String? checkNumber,
    double? amount,
    String? refundCreditCardTransactionId}) {
  return WebApiModulesBillingReceiptReceiptCredit(
      creditReceiptId: creditReceiptId ?? this.creditReceiptId,
      creditId: creditId ?? this.creditId,
      checkNumber: checkNumber ?? this.checkNumber,
      amount: amount ?? this.amount,
      refundCreditCardTransactionId: refundCreditCardTransactionId ??
          this.refundCreditCardTransactionId);
}