toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cancellationEvent != null) 'cancellationEvent': cancellationEvent!,
  if (partialRefundEvents != null)
    'partialRefundEvents': partialRefundEvents!,
  if (processedEvent != null) 'processedEvent': processedEvent!,
  if (refundEvent != null) 'refundEvent': refundEvent!,
};