PartialRefund.fromJson constructor

PartialRefund.fromJson(
  1. Map json_
)

Implementation

PartialRefund.fromJson(core.Map json_)
    : this(
        refundId: json_.containsKey('refundId')
            ? json_['refundId'] as core.String
            : null,
        refundPreTaxAmount: json_.containsKey('refundPreTaxAmount')
            ? Price.fromJson(json_['refundPreTaxAmount']
                as core.Map<core.String, core.dynamic>)
            : null,
      );