Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TestDataObject.php
Go to the documentation of this file.
1 <?php
7 
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 }