copyWith method

SignalDecisionReportRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? clientTransactionId,
  4. bool? initiated,
  5. int? daysFundsOnHold,
  6. SignalDecisionOutcome? decisionOutcome,
  7. SignalPaymentMethod? paymentMethod,
  8. double? amountInstantlyAvailable,
})

Implementation

SignalDecisionReportRequest copyWith(
    {String? clientId,
    String? secret,
    String? clientTransactionId,
    bool? initiated,
    int? daysFundsOnHold,
    enums.SignalDecisionOutcome? decisionOutcome,
    enums.SignalPaymentMethod? paymentMethod,
    double? amountInstantlyAvailable}) {
  return SignalDecisionReportRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      clientTransactionId: clientTransactionId ?? this.clientTransactionId,
      initiated: initiated ?? this.initiated,
      daysFundsOnHold: daysFundsOnHold ?? this.daysFundsOnHold,
      decisionOutcome: decisionOutcome ?? this.decisionOutcome,
      paymentMethod: paymentMethod ?? this.paymentMethod,
      amountInstantlyAvailable:
          amountInstantlyAvailable ?? this.amountInstantlyAvailable);
}