RegionalinventoryCustomBatchRequestEntry.fromJson constructor

RegionalinventoryCustomBatchRequestEntry.fromJson(
  1. Map json_
)

Implementation

RegionalinventoryCustomBatchRequestEntry.fromJson(core.Map json_)
  : this(
      batchId: json_['batchId'] as core.int?,
      merchantId: json_['merchantId'] as core.String?,
      method: json_['method'] as core.String?,
      productId: json_['productId'] as core.String?,
      regionalInventory:
          json_.containsKey('regionalInventory')
              ? RegionalInventory.fromJson(
                json_['regionalInventory']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );