Data/DiscountData.php

magento2 · app/code/Magento/SalesRule/Model/Data/DiscountData.php · php · OSL-3.0
pos

Module exposing: DiscountData

// 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 2019 Adobe
 * All Rights Reserved.
 */
declare(strict_types=1);

namespace Magento\SalesRule\Model\Data;

use Magento\SalesRule\Api\Data\DiscountDataInterface;
use Magento\SalesRule\Api\Data\DiscountAppliedToInterface;
use Magento\Framework\Api\ExtensionAttributesInterface;

/**
 * Discount Data Model
 */
class DiscountData extends \Magento\Framework\Api\AbstractExtensibleObject implements
    DiscountDataInterface,
    DiscountAppliedToInterface
{

    public const AMOUNT = 'amount';
    public const BASE_AMOUNT = 'base_amount';
    public

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

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

Get a free API key