copyWith method

QuickbooksCreditCardPayment copyWith({
  1. QuickbooksCreditChargeResponse? creditChargeResponse,
  2. QuickbooksCreditChargeInfo? creditChargeInfo,
})

Implementation

QuickbooksCreditCardPayment copyWith({
  QuickbooksCreditChargeResponse? creditChargeResponse,
  QuickbooksCreditChargeInfo? creditChargeInfo,
}) {
  return QuickbooksCreditCardPayment(
    creditChargeResponse: creditChargeResponse ?? this.creditChargeResponse,
    creditChargeInfo: creditChargeInfo ?? this.creditChargeInfo,
  );
}