OrderreturnsReturnItem.fromJson constructor

OrderreturnsReturnItem.fromJson(
  1. Map json_
)

Implementation

OrderreturnsReturnItem.fromJson(core.Map json_)
    : this(
        refund: json_.containsKey('refund')
            ? OrderreturnsRefundOperation.fromJson(
                json_['refund'] as core.Map<core.String, core.dynamic>)
            : null,
        reject: json_.containsKey('reject')
            ? OrderreturnsRejectOperation.fromJson(
                json_['reject'] as core.Map<core.String, core.dynamic>)
            : null,
        returnItemId: json_.containsKey('returnItemId')
            ? json_['returnItemId'] as core.String
            : null,
      );