Order/Item.php

magento2 · app/code/Magento/Sales/Model/Order/Item.php · php · OSL-3.0
pos

Represents an order item model with status constants and related logic in Magento.

// Source: https://github.com/magento/magento2 | License: OSL-3.0 | Modified files must remain under OSL-3.0
// Modifications to this file must remain under OSL-3.0.
// Provided via justclaw.it.com; keep this notice with the code.
<?php
/**
 * Copyright 2013 Adobe
 * All Rights Reserved.
 */
namespace Magento\Sales\Model\Order;

use Magento\Framework\Api\AttributeValueFactory;
use Magento\Sales\Api\Data\OrderItemInterface;
use Magento\Sales\Model\AbstractModel;

/**
 * Order Item Model
 *
 * @api
 * @method int getGiftMessageId()
 * @method \Magento\Sales\Model\Order\Item setGiftMessageId(int $value)
 * @method int getGiftMessageAvailable()
 * @method \Magento\Sales\Model\Order\Item setGiftMessageAvailable(int $value)
 * @SuppressWarnings(PHPMD.ExcessivePublicCount)
 * @SuppressWarnings(PH

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key