Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Api
Data
OptionInterface.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Customer\Api\Data
;
9
15
interface
OptionInterface
16
{
20
const
LABEL
=
'label'
;
21
const
VALUE
=
'value'
;
22
const
OPTIONS
=
'options'
;
30
public
function
getLabel
();
31
38
public
function
setLabel
(
$label
);
39
45
public
function
getValue
();
46
53
public
function
setValue
(
$value
);
54
60
public
function
getOptions
();
61
68
public
function
setOptions
(array
$options
=
null
);
69
}
Magento\Customer\Api\Data\OptionInterface\setValue
setValue($value)
Magento\Customer\Api\Data\OptionInterface\setLabel
setLabel($label)
Magento\Customer\Api\Data
Definition:
AddressInterface.php:8
$label
$label
Definition:
details.phtml:21
$value
$value
Definition:
gender.phtml:16
Magento\Customer\Api\Data\OptionInterface\OPTIONS
const OPTIONS
Definition:
OptionInterface.php:22
Magento\Customer\Api\Data\OptionInterface\getValue
getValue()
Magento\Customer\Api\Data\OptionInterface\setOptions
setOptions(array $options=null)
Magento\Customer\Api\Data\OptionInterface\LABEL
const LABEL
Definition:
OptionInterface.php:20
Magento\Customer\Api\Data\OptionInterface\getLabel
getLabel()
Magento\Customer\Api\Data\OptionInterface\VALUE
const VALUE
Definition:
OptionInterface.php:21
Magento\Customer\Api\Data\OptionInterface
Definition:
OptionInterface.php:15
$options
$options
Definition:
multiple_mixed_products.php:29
Magento\Customer\Api\Data\OptionInterface\getOptions
getOptions()