OrdersCustomBatchRequestEntryRefundItemShipping.fromJson constructor

OrdersCustomBatchRequestEntryRefundItemShipping.fromJson(
  1. Map json_
)

Implementation

OrdersCustomBatchRequestEntryRefundItemShipping.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? Price.fromJson(
                json_['amount'] as core.Map<core.String, core.dynamic>)
            : null,
        fullRefund: json_.containsKey('fullRefund')
            ? json_['fullRefund'] as core.bool
            : null,
      );