PluginProbe
WooCommerce Square / 2.2.5
WooCommerce Square v2.2.5
5.5.0 5.4.3 5.4.2 5.4.1 5.4.0 trunk 1.0.25 1.0.26 1.0.27 1.0.28 1.0.29 1.0.30 1.0.31 1.0.32 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.38 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 All 132 releases
woocommerce-square / vendor / square / connect / lib / Model / DayOfWeek.php
DayOfWeek.php
118 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * NOTE: This class is auto generated by the swagger code generator program.
4 * https://github.com/swagger-api/swagger-codegen
5 * Do not edit the class manually.
6 */
7
8 namespace SquareConnect\Model;
9
10 use \ArrayAccess;
11 /**
12 * DayOfWeek Class Doc Comment
13 *
14 * @category Class
15 * @package SquareConnect
16 * @author Square Inc.
17 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2
18 * @link https://squareup.com/developers
19 */
20 class DayOfWeek implements ArrayAccess
21 {
22 /**
23 * Array of property to type mappings. Used for (de)serialization
24 * @var string[]
25 */
26 static $swaggerTypes = array(
27
28 );
29
30 /**
31 * Array of attributes where the key is the local name, and the value is the original name
32 * @var string[]
33 */
34 static $attributeMap = array(
35
36 );
37
38 /**
39 * Array of attributes to setter functions (for deserialization of responses)
40 * @var string[]
41 */
42 static $setters = array(
43
44 );
45
46 /**
47 * Array of attributes to getter functions (for serialization of requests)
48 * @var string[]
49 */
50 static $getters = array(
51
52 );
53
54
55 /**
56 * Constructor
57 * @param mixed[] $data Associated array of property value initializing the model
58 */
59 public function __construct(array $data = null)
60 {
61 if ($data != null) {
62 }
63 }
64 /**
65 * Returns true if offset exists. False otherwise.
66 * @param integer $offset Offset
67 * @return boolean
68 */
69 public function offsetExists($offset)
70 {
71 return isset($this->$offset);
72 }
73
74 /**
75 * Gets offset.
76 * @param integer $offset Offset
77 * @return mixed
78 */
79 public function offsetGet($offset)
80 {
81 return $this->$offset;
82 }
83
84 /**
85 * Sets value based on offset.
86 * @param integer $offset Offset
87 * @param mixed $value Value to be set
88 * @return void
89 */
90 public function offsetSet($offset, $value)
91 {
92 $this->$offset = $value;
93 }
94
95 /**
96 * Unsets offset.
97 * @param integer $offset Offset
98 * @return void
99 */
100 public function offsetUnset($offset)
101 {
102 unset($this->$offset);
103 }
104
105 /**
106 * Gets the string presentation of the object
107 * @return string
108 */
109 public function __toString()
110 {
111 if (defined('JSON_PRETTY_PRINT')) {
112 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);
113 } else {
114 return json_encode(\SquareConnect\ObjectSerializer::sanitizeForSerialization($this));
115 }
116 }
117 }
118