Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.*.swp
/vendor/
/composer.lock
.idea
4 changes: 2 additions & 2 deletions lib/Model/AccountInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ public static function fromJson($obj) {
/**
* Serialize AccountInfo to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AccountParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public static function fromJson($obj) {
/**
* Serialize AccountParameter to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->key)) {
$result["key"] = strval($this->key);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddItemsResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public static function fromJson($obj) {
/**
* Serialize AddItemsResult to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ids)) {
$result["ids"] = $this->ids;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddPayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public static function fromJson($obj) {
/**
* Serialize AddPayments to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->amount)) {
$result["amount"] = floatval($this->amount);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddProducts.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ public static function fromJson($obj) {
/**
* Serialize AddProducts to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->products)) {
$result["products"] = $this->products;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddRefunds.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public static function fromJson($obj) {
/**
* Serialize AddRefunds to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->amount)) {
$result["amount"] = floatval($this->amount);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddTickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ public static function fromJson($obj) {
/**
* Serialize AddTickets to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->onlysinglerow)) {
$result["onlysinglerow"] = (bool)$this->onlysinglerow;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AddVoucherCodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public static function fromJson($obj) {
/**
* Serialize AddVoucherCodes to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->amount)) {
$result["amount"] = floatval($this->amount);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ public static function fromJson($obj) {
/**
* Serialize Address to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/Appoptin.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public static function fromJson($obj) {
/**
* Serialize Appoptin to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ip)) {
$result["ip"] = strval($this->ip);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchContactOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchContactOperation to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ids)) {
$result["ids"] = $this->ids;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchContactParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchContactParameters to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->name)) {
$result["name"] = strval($this->name);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchContactUpdateField.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchContactUpdateField to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->key)) {
$result["key"] = strval($this->key);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchEventOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchEventOperation to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ids)) {
$result["ids"] = $this->ids;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchEventParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchEventParameters to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->updatefields)) {
$result["updatefields"] = $this->updatefields;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchEventUpdateField.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchEventUpdateField to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->key)) {
$result["key"] = strval($this->key);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchOrderOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchOrderOperation to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ids)) {
$result["ids"] = $this->ids;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchOrderParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchOrderParameters to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->updatefields)) {
$result["updatefields"] = $this->updatefields;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchOrderUpdateField.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchOrderUpdateField to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->key)) {
$result["key"] = strval($this->key);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchResult to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->nbrsucceeded)) {
$result["nbrsucceeded"] = intval($this->nbrsucceeded);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/BatchResultItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public static function fromJson($obj) {
/**
* Serialize BatchResultItem to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,9 @@ public static function fromJson($obj) {
/**
* Serialize Contact to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactAddressType.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactAddressType to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactAddressTypeQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactAddressTypeQuery to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->filter)) {
$result["filter"] = strval($this->filter);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactBatchUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactBatchUpdate to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->customertitleid)) {
$result["customertitleid"] = intval($this->customertitleid);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactField.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactField to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactGetQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactGetQuery to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->email)) {
$result["email"] = strval($this->email);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactIdReservation.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactIdReservation to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactImportStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactImportStatus to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactOptIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactOptIn to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->id)) {
$result["id"] = intval($this->id);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactOptInInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactOptInInfo to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->ip)) {
$result["ip"] = strval($this->ip);
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ContactQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ public static function fromJson($obj) {
/**
* Serialize ContactQuery to JSON.
*
* @return array
* @return mixed
*/
public function jsonSerialize() {
public function jsonSerialize(): mixed {
$result = array();
if (!is_null($this->filter)) {
$result["filter"] = strval($this->filter);
Expand Down
Loading