toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fullRefund != null) 'fullRefund': fullRefund!,
      if (partialRefund != null) 'partialRefund': partialRefund!,
      if (paymentType != null) 'paymentType': paymentType!,
      if (reasonText != null) 'reasonText': reasonText!,
      if (returnRefundReason != null)
        'returnRefundReason': returnRefundReason!,
    };