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
framework
Reflection
Test
Unit
TestDataObject.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Reflection\Test\Unit
;
7
8
class
TestDataObject
implements
TestDataInterface
9
{
10
private
$extensionAttributes;
11
16
public
function
__construct
($extensionAttributes =
null
)
17
{
18
$this->extensionAttributes = $extensionAttributes;
19
}
20
24
public
function
getId
()
25
{
26
return
'1'
;
27
}
28
32
public
function
getAddress
()
33
{
34
return
'someAddress'
;
35
}
36
40
public
function
isDefaultShipping
()
41
{
42
return
'true'
;
43
}
44
48
public
function
isRequiredBilling
()
49
{
50
return
'false'
;
51
}
52
56
public
function
getExtensionAttributes
()
57
{
58
return
$this->extensionAttributes;
59
}
60
}
Magento\Framework\Reflection\Test\Unit\TestDataObject
Definition:
TestDataObject.php:8
Magento\Framework\Reflection\Test\Unit\TestDataObject\getAddress
getAddress()
Definition:
TestDataObject.php:32
Magento\Framework\Reflection\Test\Unit\TestDataObject\getId
getId()
Definition:
TestDataObject.php:24
Magento\Framework\Reflection\Test\Unit\TestDataObject\getExtensionAttributes
getExtensionAttributes()
Definition:
TestDataObject.php:56
Magento\Framework\Reflection\Test\Unit\TestDataObject\isDefaultShipping
isDefaultShipping()
Definition:
TestDataObject.php:40
Magento\Framework\Reflection\Test\Unit\TestDataObject\isRequiredBilling
isRequiredBilling()
Definition:
TestDataObject.php:48
Magento\Framework\Reflection\Test\Unit\TestDataInterface
Definition:
TestDataInterface.php:8
Magento\Framework\Reflection\Test\Unit\TestDataObject\__construct
__construct($extensionAttributes=null)
Definition:
TestDataObject.php:16
Magento\Framework\Reflection\Test\Unit
Definition:
AttributeTypeResolverTest.php:7