Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ProductFrontendAction.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Catalog\Model;
7 
9 
14 {
20  protected function _construct()
21  {
22  $this->_init(\Magento\Catalog\Model\ResourceModel\ProductFrontendAction::class);
23  }
24 
28  public function getActionId()
29  {
30  return $this->getData('action_id');
31  }
32 
36  public function setActionId($actionId)
37  {
38  $this->setData('action_id', $actionId);
39  }
40 
44  public function getVisitorId()
45  {
46  return $this->getData('visitor_id');
47  }
48 
52  public function setVisitorId($visitorId)
53  {
54  $this->setData('visitor_id', $visitorId);
55  }
56 
60  public function getCustomerId()
61  {
62  return $this->getData('customer_id');
63  }
64 
68  public function setCustomerId($customerId)
69  {
70  $this->setData('customer_id');
71  }
72 
76  public function getProductId()
77  {
78  return $this->getData('product_id');
79  }
80 
84  public function setProductId($productId)
85  {
86  $this->setData('product_id', $productId);
87  }
88 
92  public function getAddedAt()
93  {
94  return $this->getData('added_at');
95  }
96 
100  public function setAddedAt($addedAt)
101  {
102  $this->setData('added_at');
103  }
104 
108  public function getTypeId()
109  {
110  return $this->getData('type_id');
111  }
112 
116  public function setTypeId($typeId)
117  {
118  $this->setData('type_id', $typeId);
119  }
120 }