OrdersRejectReturnLineItemRequest.fromJson constructor

OrdersRejectReturnLineItemRequest.fromJson(
  1. Map json_
)

Implementation

OrdersRejectReturnLineItemRequest.fromJson(core.Map json_)
    : this(
        lineItemId: json_.containsKey('lineItemId')
            ? json_['lineItemId'] as core.String
            : null,
        operationId: json_.containsKey('operationId')
            ? json_['operationId'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
        quantity: json_.containsKey('quantity')
            ? json_['quantity'] as core.int
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        reasonText: json_.containsKey('reasonText')
            ? json_['reasonText'] as core.String
            : null,
      );