RefundExternalTransactionRequest.fromJson constructor

RefundExternalTransactionRequest.fromJson(
  1. Map json_
)

Implementation

RefundExternalTransactionRequest.fromJson(core.Map json_)
  : this(
      fullRefund:
          json_.containsKey('fullRefund')
              ? FullRefund.fromJson(
                json_['fullRefund'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      partialRefund:
          json_.containsKey('partialRefund')
              ? PartialRefund.fromJson(
                json_['partialRefund'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      refundTime: json_['refundTime'] as core.String?,
    );