| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- namespace Cpcommerce\ShippingNotifications\Model;
- use \Magento\Framework\Model\AbstractModel;
- use \Magento\Framework\DataObject\IdentityInterface;
- use \Cpcommerce\ShippingNotifications\Api\Data\ShippingCategoryInterface;
- class ShippingCategory extends AbstractModel implements ShippingCategoryInterface, IdentityInterface
- {
- protected function _construct()
- {
- $this->_init('Cpcommerce\ShippingNotifications\Model\ResourceModel\ShippingCategory');
- }
- /**
- * Get Ship Categ Id
- *
- * @return int|null
- */
- public function getShipCategId()
- {
- return $this->getData(self::SHIP_CATEG_ID);
- }
- /**
- * Set Ship Categ Id
- *
- * @param int $shipCategId
- * @return $this
- */
- public function setShipCategId($shipCategId)
- {
- return $this->setData(self::SHIP_CATEG_ID, $shipCategId);
- }
- /**
- * Get Option Id
- *
- * @return int|null
- */
- public function getOptionId()
- {
- return $this->getData(self::OPTION_ID);
- }
- /**
- * Set Option Id
- *
- * @param int $optionId
- * @return $this
- */
- public function setOptionId($optionId)
- {
- return $this->setData(self::OPTION_ID, $optionId);
- }
- /**
- * Get Is Delayed
- *
- * @return int|null
- */
- public function getIsDelayed()
- {
- return $this->getData(self::IS_DELAYED);
- }
- /**
- * Set Option Id
- *
- * @param int $isDelayed
- * @return $this
- */
- public function setIsDelayed($isDelayed)
- {
- return $this->setIsDelayed(self::IS_DELAYED, $isDelayed);
- }
- }
|