ResolveDisputeRequest constructor

ResolveDisputeRequest({
  1. String? tradeId,
  2. DisputeResult_Winner? winner,
  3. DisputeResult_Reason? reason,
  4. String? summaryNotes,
  5. Int64? customPayoutAmount,
})

Implementation

factory ResolveDisputeRequest({
  $core.String? tradeId,
  $1.DisputeResult_Winner? winner,
  $1.DisputeResult_Reason? reason,
  $core.String? summaryNotes,
  $fixnum.Int64? customPayoutAmount,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (winner != null) {
    $result.winner = winner;
  }
  if (reason != null) {
    $result.reason = reason;
  }
  if (summaryNotes != null) {
    $result.summaryNotes = summaryNotes;
  }
  if (customPayoutAmount != null) {
    $result.customPayoutAmount = customPayoutAmount;
  }
  return $result;
}