Skip to content

Commit

Permalink
Merge pull request #10 from centrahq/update-to-get-fromorder
Browse files Browse the repository at this point in the history
regenerate using swagger-codegen
  • Loading branch information
zzzarka authored Apr 25, 2022
2 parents bbe8ebf + 7ac0ee5 commit a7b7a33
Show file tree
Hide file tree
Showing 62 changed files with 4,729 additions and 2,641 deletions.
1,053 changes: 833 additions & 220 deletions lib/Api/DefaultApi.php

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* OpenAPI spec version: 1.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
* Swagger Codegen version: 2.4.26
*/

/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
Expand Down
5 changes: 3 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* OpenAPI spec version: 1.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
* Swagger Codegen version: 2.4.26
*/

/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
Expand Down Expand Up @@ -80,7 +81,7 @@ class Configuration
*
* @var string
*/
protected $host = '/v1/siw';
protected $host = 'https://localhost/v1/siw';

/**
* User agent of the HTTP request, set to "PHP-Swagger" by default
Expand Down
4 changes: 2 additions & 2 deletions lib/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* OpenAPI spec version: 1.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
* Swagger Codegen version: 2.4.26
*/

/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
Expand Down Expand Up @@ -106,4 +107,3 @@ private function selectContentTypeHeader($contentType)
}
}
}

62 changes: 36 additions & 26 deletions lib/Model/AdditionalInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
* OpenAPI spec version: 1.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
* Swagger Codegen version: 2.4.26
*/

/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
Expand Down Expand Up @@ -58,8 +59,9 @@ class AdditionalInfo implements ModelInterface, ArrayAccess
*/
protected static $swaggerTypes = [
'courier_instructions' => 'string',
'door_code' => 'string',
'customer_number' => 'string' ];
'customer_number' => 'string',
'door_code' => 'string'
];

/**
* Array of property to format mappings. Used for (de)serialization
Expand All @@ -68,8 +70,9 @@ class AdditionalInfo implements ModelInterface, ArrayAccess
*/
protected static $swaggerFormats = [
'courier_instructions' => null,
'door_code' => null,
'customer_number' => null ];
'customer_number' => null,
'door_code' => null
];

/**
* Array of property to type mappings. Used for (de)serialization
Expand Down Expand Up @@ -99,8 +102,9 @@ public static function swaggerFormats()
*/
protected static $attributeMap = [
'courier_instructions' => 'courier_instructions',
'door_code' => 'door_code',
'customer_number' => 'customer_number' ];
'customer_number' => 'customer_number',
'door_code' => 'door_code'
];

/**
* Array of attributes to setter functions (for deserialization of responses)
Expand All @@ -109,8 +113,9 @@ public static function swaggerFormats()
*/
protected static $setters = [
'courier_instructions' => 'setCourierInstructions',
'door_code' => 'setDoorCode',
'customer_number' => 'setCustomerNumber' ];
'customer_number' => 'setCustomerNumber',
'door_code' => 'setDoorCode'
];

/**
* Array of attributes to getter functions (for serialization of requests)
Expand All @@ -119,8 +124,9 @@ public static function swaggerFormats()
*/
protected static $getters = [
'courier_instructions' => 'getCourierInstructions',
'door_code' => 'getDoorCode',
'customer_number' => 'getCustomerNumber' ];
'customer_number' => 'getCustomerNumber',
'door_code' => 'getDoorCode'
];

/**
* Array of attributes where the key is the local name,
Expand Down Expand Up @@ -165,6 +171,8 @@ public function getModelName()





/**
* Associative array for storing property values
*
Expand All @@ -181,8 +189,8 @@ public function getModelName()
public function __construct(array $data = null)
{
$this->container['courier_instructions'] = isset($data['courier_instructions']) ? $data['courier_instructions'] : null;
$this->container['door_code'] = isset($data['door_code']) ? $data['door_code'] : null;
$this->container['customer_number'] = isset($data['customer_number']) ? $data['customer_number'] : null;
$this->container['door_code'] = isset($data['door_code']) ? $data['door_code'] : null;
}

/**
Expand Down Expand Up @@ -234,49 +242,49 @@ public function setCourierInstructions($courier_instructions)
}

/**
* Gets door_code
* Gets customer_number
*
* @return string
*/
public function getDoorCode()
public function getCustomerNumber()
{
return $this->container['door_code'];
return $this->container['customer_number'];
}

/**
* Sets door_code
* Sets customer_number
*
* @param string $door_code door_code
* @param string $customer_number customer_number
*
* @return $this
*/
public function setDoorCode($door_code)
public function setCustomerNumber($customer_number)
{
$this->container['door_code'] = $door_code;
$this->container['customer_number'] = $customer_number;

return $this;
}

/**
* Gets customer_number
* Gets door_code
*
* @return string
*/
public function getCustomerNumber()
public function getDoorCode()
{
return $this->container['customer_number'];
return $this->container['door_code'];
}

/**
* Sets customer_number
* Sets door_code
*
* @param string $customer_number customer_number
* @param string $door_code door_code
*
* @return $this
*/
public function setCustomerNumber($customer_number)
public function setDoorCode($door_code)
{
$this->container['customer_number'] = $customer_number;
$this->container['door_code'] = $door_code;

return $this;
}
Expand Down Expand Up @@ -350,3 +358,5 @@ public function __toString()
return json_encode(ObjectSerializer::sanitizeForSerialization($this));
}
}


Loading

0 comments on commit a7b7a33

Please sign in to comment.