Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AgreementInterface.php
Go to the documentation of this file.
1 <?php
7 
14 {
18  const AGREEMENT_ID = 'agreement_id';
19  const NAME = 'name';
20  const CONTENT = 'content';
21  const CONTENT_HEIGHT = 'content_height';
22  const CHECKBOX_TEXT = 'checkbox_text';
23  const IS_ACTIVE = 'is_active';
24  const IS_HTML = 'is_html';
25  const MODE = 'mode';
33  public function getAgreementId();
34 
41  public function setAgreementId($id);
42 
48  public function getName();
49 
56  public function setName($name);
57 
63  public function getContent();
64 
71  public function setContent($content);
72 
78  public function getContentHeight();
79 
86  public function setContentHeight($height);
87 
93  public function getCheckboxText();
94 
101  public function setCheckboxText($text);
102 
109  public function getIsActive();
110 
117  public function setIsActive($status);
118 
126  public function getIsHtml();
127 
136  public function setIsHtml($isHtml);
137 
143  public function getMode();
144 
151  public function setMode($mode);
152 
158  public function getExtensionAttributes();
159 
166  public function setExtensionAttributes(
167  \Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes
168  );
169 }
$id
Definition: fieldset.phtml:14
setExtensionAttributes(\Magento\CheckoutAgreements\Api\Data\AgreementExtensionInterface $extensionAttributes)
endifif( $block->getLastPageNum()>1)( 'Page') ?></strong >< ul class $text
Definition: pager.phtml:43
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
Definition: grid.phtml:15
$status
Definition: order_status.php:8
$extensionAttributes
Definition: payment.php:22
if(!isset($_GET['name'])) $name
Definition: log.php:14