You are here

commerce_discount_offer.class.inc in Commerce Discount 7

Commerce Discount Offer Entity.

File

includes/commerce_discount_offer.class.inc
View source
<?php

/**
 * @file
 * Commerce Discount Offer Entity.
 */

/**
 * Entity class representing the commerce_discount_offer entity type.
 */
class CommerceDiscountOffer extends Entity {

  /**
   * The discount offer type (bundle).
   *
   * @var string
   */
  public $type;

  /**
   * {@inheritdoc}
   */
  public function __construct($values = array()) {
    parent::__construct($values, 'commerce_discount_offer');
  }

}

Classes

Namesort descending Description
CommerceDiscountOffer Entity class representing the commerce_discount_offer entity type.