From 3d4ac04982f877b2a6f34ba25a212ed660502104 Mon Sep 17 00:00:00 2001 From: szepeviktor Date: Mon, 27 Jan 2025 04:40:58 +0000 Subject: [PATCH] Upgrade client --- .openapi-generator/VERSION | 2 +- src/Api/BankAccountApi.php | 31 +-- src/Api/CurrencyApi.php | 21 +- src/Api/DocumentApi.php | 231 +++++++++++---------- src/Api/DocumentBlockApi.php | 41 ++-- src/Api/DocumentExportApi.php | 11 +- src/Api/OrganizationApi.php | 11 +- src/Api/PartnerApi.php | 41 ++-- src/Api/ProductApi.php | 41 ++-- src/Api/SpendingApi.php | 141 ++++++------- src/Api/UtilApi.php | 11 +- src/ApiException.php | 3 +- src/Configuration.php | 5 +- src/HeaderSelector.php | 3 +- src/Model/Address.php | 7 +- src/Model/BankAccount.php | 7 +- src/Model/BankAccountList.php | 7 +- src/Model/Category.php | 3 +- src/Model/CheckTaxNumberMessage.php | 3 +- src/Model/ClientError.php | 7 +- src/Model/ClientErrorResponse.php | 7 +- src/Model/ConversationRate.php | 7 +- src/Model/CorrectionType.php | 3 +- src/Model/Country.php | 3 +- src/Model/CreateDocumentExport.php | 7 +- src/Model/Currency.php | 3 +- src/Model/DateType.php | 3 +- src/Model/Discount.php | 7 +- src/Model/DiscountType.php | 3 +- src/Model/Document.php | 7 +- src/Model/DocumentAncestor.php | 7 +- src/Model/DocumentBankAccount.php | 7 +- src/Model/DocumentBlock.php | 7 +- src/Model/DocumentBlockList.php | 7 +- src/Model/DocumentBlockType.php | 3 +- src/Model/DocumentCancellation.php | 7 +- src/Model/DocumentExportFilterExtra.php | 7 +- src/Model/DocumentExportId.php | 7 +- src/Model/DocumentExportOtherOptions.php | 3 +- src/Model/DocumentExportQueryType.php | 3 +- src/Model/DocumentExportSortBy.php | 3 +- src/Model/DocumentExportStatus.php | 7 +- src/Model/DocumentExportStatusState.php | 3 +- src/Model/DocumentExportType.php | 3 +- src/Model/DocumentForm.php | 3 +- src/Model/DocumentFormat.php | 3 +- src/Model/DocumentInsert.php | 7 +- src/Model/DocumentInsertItemsInner.php | 7 +- src/Model/DocumentInsertType.php | 3 +- src/Model/DocumentItem.php | 7 +- src/Model/DocumentItemData.php | 7 +- src/Model/DocumentLanguage.php | 3 +- src/Model/DocumentList.php | 7 +- src/Model/DocumentNotificationStatus.php | 3 +- src/Model/DocumentOrganization.php | 7 +- src/Model/DocumentPartner.php | 7 +- src/Model/DocumentProductData.php | 7 +- src/Model/DocumentPublicUrl.php | 7 +- src/Model/DocumentSettings.php | 7 +- src/Model/DocumentSummary.php | 7 +- src/Model/DocumentType.php | 3 +- src/Model/DocumentVatRateSummary.php | 7 +- src/Model/Entitlement.php | 3 +- src/Model/Feature.php | 3 +- src/Model/Id.php | 7 +- src/Model/InvoiceSettings.php | 7 +- src/Model/LedgerNumberInformation.php | 7 +- src/Model/ModelInterface.php | 3 +- src/Model/ModificationDocumentInsert.php | 7 +- src/Model/OnlinePayment.php | 3 +- src/Model/OnlineSzamlaStatus.php | 7 +- src/Model/OnlineSzamlaStatusEnum.php | 3 +- src/Model/OnlineSzamlaStatusMessage.php | 7 +- src/Model/OrganizationData.php | 7 +- src/Model/Partner.php | 7 +- src/Model/PartnerCustomBillingSettings.php | 7 +- src/Model/PartnerList.php | 7 +- src/Model/PartnerTaxType.php | 3 +- src/Model/PaymentHistory.php | 7 +- src/Model/PaymentMethod.php | 3 +- src/Model/PaymentStatus.php | 3 +- src/Model/PaymentStatusSpending.php | 3 +- src/Model/Product.php | 7 +- src/Model/ProductList.php | 7 +- src/Model/ReceiptInsert.php | 7 +- src/Model/ReceiptInsertItemsInner.php | 7 +- src/Model/ReceiptItemData.php | 7 +- src/Model/ReceiptProductData.php | 7 +- src/Model/Round.php | 3 +- src/Model/SendDocument.php | 7 +- src/Model/ServerError.php | 7 +- src/Model/ServerErrorResponse.php | 7 +- src/Model/ServerTime.php | 7 +- src/Model/Source.php | 3 +- src/Model/Spending.php | 7 +- src/Model/SpendingList.php | 7 +- src/Model/SpendingListItem.php | 7 +- src/Model/SpendingPartner.php | 7 +- src/Model/SpendingPaymentMethod.php | 3 +- src/Model/SpendingSave.php | 7 +- src/Model/Subscription.php | 7 +- src/Model/SubscriptionErrorResponse.php | 7 +- src/Model/TaxNumber.php | 7 +- src/Model/TooManyRequestsResponse.php | 7 +- src/Model/UnitPriceType.php | 3 +- src/Model/ValidationError.php | 7 +- src/Model/ValidationErrorResponse.php | 7 +- src/Model/Vat.php | 3 +- src/ObjectSerializer.php | 9 +- 109 files changed, 618 insertions(+), 510 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 4bc5d61..b23eb27 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.9.0 +7.11.0 diff --git a/src/Api/BankAccountApi.php b/src/Api/BankAccountApi.php index 29fe181..cc97159 100644 --- a/src/Api/BankAccountApi.php +++ b/src/Api/BankAccountApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -1531,8 +1532,8 @@ public function getBankAccountRequest($id, string $contentType = self::contentTy * * List all bank account * - * @param int $page page (optional) - * @param int $perPage perPage (optional, default to 25) + * @param int|null $page page (optional) + * @param int|null $perPage perPage (optional, default to 25) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBankAccount'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1550,8 +1551,8 @@ public function listBankAccount($page = null, $perPage = 25, string $contentType * * List all bank account * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBankAccount'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1886,8 +1887,8 @@ public function listBankAccountWithHttpInfo($page = null, $perPage = 25, string * * List all bank account * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBankAccount'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1908,8 +1909,8 @@ function ($response) { * * List all bank account * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBankAccount'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1959,8 +1960,8 @@ function ($exception) { /** * Create request for operation 'listBankAccount' * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBankAccount'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/CurrencyApi.php b/src/Api/CurrencyApi.php index 76ffc63..3d04fdb 100644 --- a/src/Api/CurrencyApi.php +++ b/src/Api/CurrencyApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -128,7 +129,7 @@ public function getConfig() * * @param \Cone\Billingo\Model\Currency $from from (required) * @param \Cone\Billingo\Model\Currency $to to (required) - * @param \DateTime $date date (optional) + * @param \DateTime|null $date date (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getConversionRate'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -148,7 +149,7 @@ public function getConversionRate($from, $to, $date = null, string $contentType * * @param \Cone\Billingo\Model\Currency $from (required) * @param \Cone\Billingo\Model\Currency $to (required) - * @param \DateTime $date (optional) + * @param \DateTime|null $date (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getConversionRate'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -485,7 +486,7 @@ public function getConversionRateWithHttpInfo($from, $to, $date = null, string $ * * @param \Cone\Billingo\Model\Currency $from (required) * @param \Cone\Billingo\Model\Currency $to (required) - * @param \DateTime $date (optional) + * @param \DateTime|null $date (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getConversionRate'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -508,7 +509,7 @@ function ($response) { * * @param \Cone\Billingo\Model\Currency $from (required) * @param \Cone\Billingo\Model\Currency $to (required) - * @param \DateTime $date (optional) + * @param \DateTime|null $date (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getConversionRate'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -560,7 +561,7 @@ function ($exception) { * * @param \Cone\Billingo\Model\Currency $from (required) * @param \Cone\Billingo\Model\Currency $to (required) - * @param \DateTime $date (optional) + * @param \DateTime|null $date (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getConversionRate'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/DocumentApi.php b/src/Api/DocumentApi.php index e2392d2..055263c 100644 --- a/src/Api/DocumentApi.php +++ b/src/Api/DocumentApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -473,7 +474,7 @@ public function archiveDocumentRequest($id, string $contentType = self::contentT * Cancel a document * * @param int $id id (required) - * @param \Cone\Billingo\Model\DocumentCancellation $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) + * @param \Cone\Billingo\Model\DocumentCancellation|null $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['cancelDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -492,7 +493,7 @@ public function cancelDocument($id, $documentCancellation = null, string $conten * Cancel a document * * @param int $id (required) - * @param \Cone\Billingo\Model\DocumentCancellation $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) + * @param \Cone\Billingo\Model\DocumentCancellation|null $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['cancelDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -898,7 +899,7 @@ public function cancelDocumentWithHttpInfo($id, $documentCancellation = null, st * Cancel a document * * @param int $id (required) - * @param \Cone\Billingo\Model\DocumentCancellation $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) + * @param \Cone\Billingo\Model\DocumentCancellation|null $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['cancelDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -920,7 +921,7 @@ function ($response) { * Cancel a document * * @param int $id (required) - * @param \Cone\Billingo\Model\DocumentCancellation $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) + * @param \Cone\Billingo\Model\DocumentCancellation|null $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['cancelDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -971,7 +972,7 @@ function ($exception) { * Create request for operation 'cancelDocument' * * @param int $id (required) - * @param \Cone\Billingo\Model\DocumentCancellation $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) + * @param \Cone\Billingo\Model\DocumentCancellation|null $documentCancellation Comment and notifiable email addresses - comma separated for multiple email addresses (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['cancelDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2248,7 +2249,7 @@ public function createDocumentFromDraftRequest($id, $documentInsert, string $con * Create a document from proforma. * * @param int $id id (required) - * @param \Cone\Billingo\Model\InvoiceSettings $invoiceSettings InvoiceSettings object. (optional) + * @param \Cone\Billingo\Model\InvoiceSettings|null $invoiceSettings InvoiceSettings object. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['createDocumentFromProforma'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -2267,7 +2268,7 @@ public function createDocumentFromProforma($id, $invoiceSettings = null, string * Create a document from proforma. * * @param int $id (required) - * @param \Cone\Billingo\Model\InvoiceSettings $invoiceSettings InvoiceSettings object. (optional) + * @param \Cone\Billingo\Model\InvoiceSettings|null $invoiceSettings InvoiceSettings object. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['createDocumentFromProforma'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -2673,7 +2674,7 @@ public function createDocumentFromProformaWithHttpInfo($id, $invoiceSettings = n * Create a document from proforma. * * @param int $id (required) - * @param \Cone\Billingo\Model\InvoiceSettings $invoiceSettings InvoiceSettings object. (optional) + * @param \Cone\Billingo\Model\InvoiceSettings|null $invoiceSettings InvoiceSettings object. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['createDocumentFromProforma'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2695,7 +2696,7 @@ function ($response) { * Create a document from proforma. * * @param int $id (required) - * @param \Cone\Billingo\Model\InvoiceSettings $invoiceSettings InvoiceSettings object. (optional) + * @param \Cone\Billingo\Model\InvoiceSettings|null $invoiceSettings InvoiceSettings object. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['createDocumentFromProforma'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2746,7 +2747,7 @@ function ($exception) { * Create request for operation 'createDocumentFromProforma' * * @param int $id (required) - * @param \Cone\Billingo\Model\InvoiceSettings $invoiceSettings InvoiceSettings object. (optional) + * @param \Cone\Billingo\Model\InvoiceSettings|null $invoiceSettings InvoiceSettings object. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['createDocumentFromProforma'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -9411,25 +9412,25 @@ public function getPublicUrlRequest($id, string $contentType = self::contentType * * List all documents * - * @param int $page page (optional) - * @param int $perPage perPage (optional, default to 25) - * @param int $blockId Filter documents by the identifier of your DocumentBlock. (optional) - * @param int $partnerId Filter documents by the identifier of your Partner. (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethod Filter documents by PaymentMethod value. (optional) - * @param \Cone\Billingo\Model\PaymentStatus $paymentStatus Filter documents by PaymentStatus value. (optional) - * @param \DateTime $startDate Filter documents by their invoice date. (optional) - * @param \DateTime $endDate Filter documents by their invoice date. (optional) - * @param int $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) - * @param int $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) - * @param int $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) - * @param int $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) - * @param \Cone\Billingo\Model\DocumentType $type Filter documents by type (optional) - * @param string $query Filter documents by the given text (optional) - * @param \DateTime $paidStartDate Filter documents by their payment date. (optional) - * @param \DateTime $paidEndDate Filter documents by their payment date. (optional) - * @param \DateTime $fulfillmentStartDate Filter documents by their fulfillment date. (optional) - * @param \DateTime $fulfillmentEndDate Filter documents by their fulfillment date. (optional) - * @param string $lastModifiedDate Filter documents by their last modified date. (optional) + * @param int|null $page page (optional) + * @param int|null $perPage perPage (optional, default to 25) + * @param int|null $blockId Filter documents by the identifier of your DocumentBlock. (optional) + * @param int|null $partnerId Filter documents by the identifier of your Partner. (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethod Filter documents by PaymentMethod value. (optional) + * @param \Cone\Billingo\Model\PaymentStatus|null $paymentStatus Filter documents by PaymentStatus value. (optional) + * @param \DateTime|null $startDate Filter documents by their invoice date. (optional) + * @param \DateTime|null $endDate Filter documents by their invoice date. (optional) + * @param int|null $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) + * @param int|null $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) + * @param int|null $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) + * @param int|null $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) + * @param \Cone\Billingo\Model\DocumentType|null $type Filter documents by type (optional) + * @param string|null $query Filter documents by the given text (optional) + * @param \DateTime|null $paidStartDate Filter documents by their payment date. (optional) + * @param \DateTime|null $paidEndDate Filter documents by their payment date. (optional) + * @param \DateTime|null $fulfillmentStartDate Filter documents by their fulfillment date. (optional) + * @param \DateTime|null $fulfillmentEndDate Filter documents by their fulfillment date. (optional) + * @param string|null $lastModifiedDate Filter documents by their last modified date. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -9447,25 +9448,25 @@ public function listDocument($page = null, $perPage = 25, $blockId = null, $part * * List all documents * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param int $blockId Filter documents by the identifier of your DocumentBlock. (optional) - * @param int $partnerId Filter documents by the identifier of your Partner. (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethod Filter documents by PaymentMethod value. (optional) - * @param \Cone\Billingo\Model\PaymentStatus $paymentStatus Filter documents by PaymentStatus value. (optional) - * @param \DateTime $startDate Filter documents by their invoice date. (optional) - * @param \DateTime $endDate Filter documents by their invoice date. (optional) - * @param int $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) - * @param int $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) - * @param int $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) - * @param int $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) - * @param \Cone\Billingo\Model\DocumentType $type Filter documents by type (optional) - * @param string $query Filter documents by the given text (optional) - * @param \DateTime $paidStartDate Filter documents by their payment date. (optional) - * @param \DateTime $paidEndDate Filter documents by their payment date. (optional) - * @param \DateTime $fulfillmentStartDate Filter documents by their fulfillment date. (optional) - * @param \DateTime $fulfillmentEndDate Filter documents by their fulfillment date. (optional) - * @param string $lastModifiedDate Filter documents by their last modified date. (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param int|null $blockId Filter documents by the identifier of your DocumentBlock. (optional) + * @param int|null $partnerId Filter documents by the identifier of your Partner. (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethod Filter documents by PaymentMethod value. (optional) + * @param \Cone\Billingo\Model\PaymentStatus|null $paymentStatus Filter documents by PaymentStatus value. (optional) + * @param \DateTime|null $startDate Filter documents by their invoice date. (optional) + * @param \DateTime|null $endDate Filter documents by their invoice date. (optional) + * @param int|null $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) + * @param int|null $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) + * @param int|null $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) + * @param int|null $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) + * @param \Cone\Billingo\Model\DocumentType|null $type Filter documents by type (optional) + * @param string|null $query Filter documents by the given text (optional) + * @param \DateTime|null $paidStartDate Filter documents by their payment date. (optional) + * @param \DateTime|null $paidEndDate Filter documents by their payment date. (optional) + * @param \DateTime|null $fulfillmentStartDate Filter documents by their fulfillment date. (optional) + * @param \DateTime|null $fulfillmentEndDate Filter documents by their fulfillment date. (optional) + * @param string|null $lastModifiedDate Filter documents by their last modified date. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -9800,25 +9801,25 @@ public function listDocumentWithHttpInfo($page = null, $perPage = 25, $blockId = * * List all documents * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param int $blockId Filter documents by the identifier of your DocumentBlock. (optional) - * @param int $partnerId Filter documents by the identifier of your Partner. (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethod Filter documents by PaymentMethod value. (optional) - * @param \Cone\Billingo\Model\PaymentStatus $paymentStatus Filter documents by PaymentStatus value. (optional) - * @param \DateTime $startDate Filter documents by their invoice date. (optional) - * @param \DateTime $endDate Filter documents by their invoice date. (optional) - * @param int $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) - * @param int $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) - * @param int $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) - * @param int $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) - * @param \Cone\Billingo\Model\DocumentType $type Filter documents by type (optional) - * @param string $query Filter documents by the given text (optional) - * @param \DateTime $paidStartDate Filter documents by their payment date. (optional) - * @param \DateTime $paidEndDate Filter documents by their payment date. (optional) - * @param \DateTime $fulfillmentStartDate Filter documents by their fulfillment date. (optional) - * @param \DateTime $fulfillmentEndDate Filter documents by their fulfillment date. (optional) - * @param string $lastModifiedDate Filter documents by their last modified date. (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param int|null $blockId Filter documents by the identifier of your DocumentBlock. (optional) + * @param int|null $partnerId Filter documents by the identifier of your Partner. (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethod Filter documents by PaymentMethod value. (optional) + * @param \Cone\Billingo\Model\PaymentStatus|null $paymentStatus Filter documents by PaymentStatus value. (optional) + * @param \DateTime|null $startDate Filter documents by their invoice date. (optional) + * @param \DateTime|null $endDate Filter documents by their invoice date. (optional) + * @param int|null $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) + * @param int|null $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) + * @param int|null $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) + * @param int|null $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) + * @param \Cone\Billingo\Model\DocumentType|null $type Filter documents by type (optional) + * @param string|null $query Filter documents by the given text (optional) + * @param \DateTime|null $paidStartDate Filter documents by their payment date. (optional) + * @param \DateTime|null $paidEndDate Filter documents by their payment date. (optional) + * @param \DateTime|null $fulfillmentStartDate Filter documents by their fulfillment date. (optional) + * @param \DateTime|null $fulfillmentEndDate Filter documents by their fulfillment date. (optional) + * @param string|null $lastModifiedDate Filter documents by their last modified date. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -9839,25 +9840,25 @@ function ($response) { * * List all documents * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param int $blockId Filter documents by the identifier of your DocumentBlock. (optional) - * @param int $partnerId Filter documents by the identifier of your Partner. (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethod Filter documents by PaymentMethod value. (optional) - * @param \Cone\Billingo\Model\PaymentStatus $paymentStatus Filter documents by PaymentStatus value. (optional) - * @param \DateTime $startDate Filter documents by their invoice date. (optional) - * @param \DateTime $endDate Filter documents by their invoice date. (optional) - * @param int $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) - * @param int $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) - * @param int $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) - * @param int $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) - * @param \Cone\Billingo\Model\DocumentType $type Filter documents by type (optional) - * @param string $query Filter documents by the given text (optional) - * @param \DateTime $paidStartDate Filter documents by their payment date. (optional) - * @param \DateTime $paidEndDate Filter documents by their payment date. (optional) - * @param \DateTime $fulfillmentStartDate Filter documents by their fulfillment date. (optional) - * @param \DateTime $fulfillmentEndDate Filter documents by their fulfillment date. (optional) - * @param string $lastModifiedDate Filter documents by their last modified date. (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param int|null $blockId Filter documents by the identifier of your DocumentBlock. (optional) + * @param int|null $partnerId Filter documents by the identifier of your Partner. (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethod Filter documents by PaymentMethod value. (optional) + * @param \Cone\Billingo\Model\PaymentStatus|null $paymentStatus Filter documents by PaymentStatus value. (optional) + * @param \DateTime|null $startDate Filter documents by their invoice date. (optional) + * @param \DateTime|null $endDate Filter documents by their invoice date. (optional) + * @param int|null $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) + * @param int|null $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) + * @param int|null $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) + * @param int|null $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) + * @param \Cone\Billingo\Model\DocumentType|null $type Filter documents by type (optional) + * @param string|null $query Filter documents by the given text (optional) + * @param \DateTime|null $paidStartDate Filter documents by their payment date. (optional) + * @param \DateTime|null $paidEndDate Filter documents by their payment date. (optional) + * @param \DateTime|null $fulfillmentStartDate Filter documents by their fulfillment date. (optional) + * @param \DateTime|null $fulfillmentEndDate Filter documents by their fulfillment date. (optional) + * @param string|null $lastModifiedDate Filter documents by their last modified date. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -9907,25 +9908,25 @@ function ($exception) { /** * Create request for operation 'listDocument' * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param int $blockId Filter documents by the identifier of your DocumentBlock. (optional) - * @param int $partnerId Filter documents by the identifier of your Partner. (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethod Filter documents by PaymentMethod value. (optional) - * @param \Cone\Billingo\Model\PaymentStatus $paymentStatus Filter documents by PaymentStatus value. (optional) - * @param \DateTime $startDate Filter documents by their invoice date. (optional) - * @param \DateTime $endDate Filter documents by their invoice date. (optional) - * @param int $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) - * @param int $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) - * @param int $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) - * @param int $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) - * @param \Cone\Billingo\Model\DocumentType $type Filter documents by type (optional) - * @param string $query Filter documents by the given text (optional) - * @param \DateTime $paidStartDate Filter documents by their payment date. (optional) - * @param \DateTime $paidEndDate Filter documents by their payment date. (optional) - * @param \DateTime $fulfillmentStartDate Filter documents by their fulfillment date. (optional) - * @param \DateTime $fulfillmentEndDate Filter documents by their fulfillment date. (optional) - * @param string $lastModifiedDate Filter documents by their last modified date. (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param int|null $blockId Filter documents by the identifier of your DocumentBlock. (optional) + * @param int|null $partnerId Filter documents by the identifier of your Partner. (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethod Filter documents by PaymentMethod value. (optional) + * @param \Cone\Billingo\Model\PaymentStatus|null $paymentStatus Filter documents by PaymentStatus value. (optional) + * @param \DateTime|null $startDate Filter documents by their invoice date. (optional) + * @param \DateTime|null $endDate Filter documents by their invoice date. (optional) + * @param int|null $startNumber Starting number of the document, should not contain year or any other formatting. Required if `start_year` given (optional) + * @param int|null $endNumber Ending number of the document, should not contain year or any other formatting. Required if `end_year` given (optional) + * @param int|null $startYear Year for `start_number` parameter. Required if `start_number` given. (optional) + * @param int|null $endYear Year for `end_number` parameter. Required if `end_number` given. (optional) + * @param \Cone\Billingo\Model\DocumentType|null $type Filter documents by type (optional) + * @param string|null $query Filter documents by the given text (optional) + * @param \DateTime|null $paidStartDate Filter documents by their payment date. (optional) + * @param \DateTime|null $paidEndDate Filter documents by their payment date. (optional) + * @param \DateTime|null $fulfillmentStartDate Filter documents by their fulfillment date. (optional) + * @param \DateTime|null $fulfillmentEndDate Filter documents by their fulfillment date. (optional) + * @param string|null $lastModifiedDate Filter documents by their last modified date. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -10785,7 +10786,7 @@ public function posPrintRequest($id, $size, string $contentType = self::contentT * Send invoice to given email adresses. * * @param int $id id (required) - * @param \Cone\Billingo\Model\SendDocument $sendDocument List of email-s where you want to send the invoice. (optional) + * @param \Cone\Billingo\Model\SendDocument|null $sendDocument List of email-s where you want to send the invoice. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['sendDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -10804,7 +10805,7 @@ public function sendDocument($id, $sendDocument = null, string $contentType = se * Send invoice to given email adresses. * * @param int $id (required) - * @param \Cone\Billingo\Model\SendDocument $sendDocument List of email-s where you want to send the invoice. (optional) + * @param \Cone\Billingo\Model\SendDocument|null $sendDocument List of email-s where you want to send the invoice. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['sendDocument'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -11210,7 +11211,7 @@ public function sendDocumentWithHttpInfo($id, $sendDocument = null, string $cont * Send invoice to given email adresses. * * @param int $id (required) - * @param \Cone\Billingo\Model\SendDocument $sendDocument List of email-s where you want to send the invoice. (optional) + * @param \Cone\Billingo\Model\SendDocument|null $sendDocument List of email-s where you want to send the invoice. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['sendDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -11232,7 +11233,7 @@ function ($response) { * Send invoice to given email adresses. * * @param int $id (required) - * @param \Cone\Billingo\Model\SendDocument $sendDocument List of email-s where you want to send the invoice. (optional) + * @param \Cone\Billingo\Model\SendDocument|null $sendDocument List of email-s where you want to send the invoice. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['sendDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -11283,7 +11284,7 @@ function ($exception) { * Create request for operation 'sendDocument' * * @param int $id (required) - * @param \Cone\Billingo\Model\SendDocument $sendDocument List of email-s where you want to send the invoice. (optional) + * @param \Cone\Billingo\Model\SendDocument|null $sendDocument List of email-s where you want to send the invoice. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['sendDocument'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/DocumentBlockApi.php b/src/Api/DocumentBlockApi.php index 124098a..6419d70 100644 --- a/src/Api/DocumentBlockApi.php +++ b/src/Api/DocumentBlockApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -126,9 +127,9 @@ public function getConfig() * * List all document blocks * - * @param int $page page (optional) - * @param int $perPage perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DocumentBlockType $type Filter document blocks by type (optional) + * @param int|null $page page (optional) + * @param int|null $perPage perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DocumentBlockType|null $type Filter document blocks by type (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocumentBlock'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -146,9 +147,9 @@ public function listDocumentBlock($page = null, $perPage = 25, $type = null, str * * List all document blocks * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DocumentBlockType $type Filter document blocks by type (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DocumentBlockType|null $type Filter document blocks by type (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocumentBlock'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -483,9 +484,9 @@ public function listDocumentBlockWithHttpInfo($page = null, $perPage = 25, $type * * List all document blocks * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DocumentBlockType $type Filter document blocks by type (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DocumentBlockType|null $type Filter document blocks by type (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocumentBlock'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -506,9 +507,9 @@ function ($response) { * * List all document blocks * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DocumentBlockType $type Filter document blocks by type (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DocumentBlockType|null $type Filter document blocks by type (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocumentBlock'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -558,9 +559,9 @@ function ($exception) { /** * Create request for operation 'listDocumentBlock' * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DocumentBlockType $type Filter document blocks by type (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DocumentBlockType|null $type Filter document blocks by type (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listDocumentBlock'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/DocumentExportApi.php b/src/Api/DocumentExportApi.php index 5f6850b..05e2690 100644 --- a/src/Api/DocumentExportApi.php +++ b/src/Api/DocumentExportApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); diff --git a/src/Api/OrganizationApi.php b/src/Api/OrganizationApi.php index af7ca3b..7efa50d 100644 --- a/src/Api/OrganizationApi.php +++ b/src/Api/OrganizationApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); diff --git a/src/Api/PartnerApi.php b/src/Api/PartnerApi.php index ed9fcd4..01965d3 100644 --- a/src/Api/PartnerApi.php +++ b/src/Api/PartnerApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -1531,9 +1532,9 @@ public function getPartnerRequest($id, string $contentType = self::contentTypes[ * * List all partners * - * @param int $page page (optional) - * @param int $perPage perPage (optional, default to 25) - * @param string $query query (optional) + * @param int|null $page page (optional) + * @param int|null $perPage perPage (optional, default to 25) + * @param string|null $query query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPartner'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1551,9 +1552,9 @@ public function listPartner($page = null, $perPage = 25, $query = null, string $ * * List all partners * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPartner'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1888,9 +1889,9 @@ public function listPartnerWithHttpInfo($page = null, $perPage = 25, $query = nu * * List all partners * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPartner'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1911,9 +1912,9 @@ function ($response) { * * List all partners * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPartner'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1963,9 +1964,9 @@ function ($exception) { /** * Create request for operation 'listPartner' * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPartner'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/ProductApi.php b/src/Api/ProductApi.php index dd8ca48..9eb0944 100644 --- a/src/Api/ProductApi.php +++ b/src/Api/ProductApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -1531,9 +1532,9 @@ public function getProductRequest($id, string $contentType = self::contentTypes[ * * List all product * - * @param int $page page (optional) - * @param int $perPage perPage (optional, default to 25) - * @param string $query query (optional) + * @param int|null $page page (optional) + * @param int|null $perPage perPage (optional, default to 25) + * @param string|null $query query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listProduct'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1551,9 +1552,9 @@ public function listProduct($page = null, $perPage = 25, $query = null, string $ * * List all product * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listProduct'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1888,9 +1889,9 @@ public function listProductWithHttpInfo($page = null, $perPage = 25, $query = nu * * List all product * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listProduct'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1911,9 +1912,9 @@ function ($response) { * * List all product * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listProduct'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1963,9 +1964,9 @@ function ($exception) { /** * Create request for operation 'listProduct' * - * @param int $page (optional) - * @param int $perPage (optional, default to 25) - * @param string $query (optional) + * @param int|null $page (optional) + * @param int|null $perPage (optional, default to 25) + * @param string|null $query (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listProduct'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/SpendingApi.php b/src/Api/SpendingApi.php index da24764..abcc88b 100644 --- a/src/Api/SpendingApi.php +++ b/src/Api/SpendingApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); @@ -416,17 +417,17 @@ public function spendingDeleteRequest($id, string $contentType = self::contentTy * * Lists all spending * - * @param string $q q (optional, default to '') - * @param int $page page (optional, default to 1) - * @param int $perPage perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DateType $spendingDate spendingDate (optional) - * @param string $startDate startDate (optional) - * @param string $endDate endDate (optional) - * @param \Cone\Billingo\Model\PaymentStatusSpending $paymentStatus paymentStatus (optional) - * @param \Cone\Billingo\Model\Source $spendingType spendingType (optional) - * @param \Cone\Billingo\Model\Category $categories categories (optional) - * @param \Cone\Billingo\Model\Currency $currencies currencies (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethods paymentMethods (optional) + * @param string|null $q q (optional, default to '') + * @param int|null $page page (optional, default to 1) + * @param int|null $perPage perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DateType|null $spendingDate spendingDate (optional) + * @param string|null $startDate startDate (optional) + * @param string|null $endDate endDate (optional) + * @param \Cone\Billingo\Model\PaymentStatusSpending|null $paymentStatus paymentStatus (optional) + * @param \Cone\Billingo\Model\Source|null $spendingType spendingType (optional) + * @param \Cone\Billingo\Model\Category|null $categories categories (optional) + * @param \Cone\Billingo\Model\Currency|null $currencies currencies (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethods paymentMethods (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingList'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -444,17 +445,17 @@ public function spendingList($q = '', $page = 1, $perPage = 25, $spendingDate = * * Lists all spending * - * @param string $q (optional, default to '') - * @param int $page (optional, default to 1) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DateType $spendingDate (optional) - * @param string $startDate (optional) - * @param string $endDate (optional) - * @param \Cone\Billingo\Model\PaymentStatusSpending $paymentStatus (optional) - * @param \Cone\Billingo\Model\Source $spendingType (optional) - * @param \Cone\Billingo\Model\Category $categories (optional) - * @param \Cone\Billingo\Model\Currency $currencies (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethods (optional) + * @param string|null $q (optional, default to '') + * @param int|null $page (optional, default to 1) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DateType|null $spendingDate (optional) + * @param string|null $startDate (optional) + * @param string|null $endDate (optional) + * @param \Cone\Billingo\Model\PaymentStatusSpending|null $paymentStatus (optional) + * @param \Cone\Billingo\Model\Source|null $spendingType (optional) + * @param \Cone\Billingo\Model\Category|null $categories (optional) + * @param \Cone\Billingo\Model\Currency|null $currencies (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethods (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingList'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -789,17 +790,17 @@ public function spendingListWithHttpInfo($q = '', $page = 1, $perPage = 25, $spe * * Lists all spending * - * @param string $q (optional, default to '') - * @param int $page (optional, default to 1) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DateType $spendingDate (optional) - * @param string $startDate (optional) - * @param string $endDate (optional) - * @param \Cone\Billingo\Model\PaymentStatusSpending $paymentStatus (optional) - * @param \Cone\Billingo\Model\Source $spendingType (optional) - * @param \Cone\Billingo\Model\Category $categories (optional) - * @param \Cone\Billingo\Model\Currency $currencies (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethods (optional) + * @param string|null $q (optional, default to '') + * @param int|null $page (optional, default to 1) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DateType|null $spendingDate (optional) + * @param string|null $startDate (optional) + * @param string|null $endDate (optional) + * @param \Cone\Billingo\Model\PaymentStatusSpending|null $paymentStatus (optional) + * @param \Cone\Billingo\Model\Source|null $spendingType (optional) + * @param \Cone\Billingo\Model\Category|null $categories (optional) + * @param \Cone\Billingo\Model\Currency|null $currencies (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethods (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -820,17 +821,17 @@ function ($response) { * * Lists all spending * - * @param string $q (optional, default to '') - * @param int $page (optional, default to 1) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DateType $spendingDate (optional) - * @param string $startDate (optional) - * @param string $endDate (optional) - * @param \Cone\Billingo\Model\PaymentStatusSpending $paymentStatus (optional) - * @param \Cone\Billingo\Model\Source $spendingType (optional) - * @param \Cone\Billingo\Model\Category $categories (optional) - * @param \Cone\Billingo\Model\Currency $currencies (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethods (optional) + * @param string|null $q (optional, default to '') + * @param int|null $page (optional, default to 1) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DateType|null $spendingDate (optional) + * @param string|null $startDate (optional) + * @param string|null $endDate (optional) + * @param \Cone\Billingo\Model\PaymentStatusSpending|null $paymentStatus (optional) + * @param \Cone\Billingo\Model\Source|null $spendingType (optional) + * @param \Cone\Billingo\Model\Category|null $categories (optional) + * @param \Cone\Billingo\Model\Currency|null $currencies (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethods (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -880,17 +881,17 @@ function ($exception) { /** * Create request for operation 'spendingList' * - * @param string $q (optional, default to '') - * @param int $page (optional, default to 1) - * @param int $perPage (optional, default to 25) - * @param \Cone\Billingo\Model\DateType $spendingDate (optional) - * @param string $startDate (optional) - * @param string $endDate (optional) - * @param \Cone\Billingo\Model\PaymentStatusSpending $paymentStatus (optional) - * @param \Cone\Billingo\Model\Source $spendingType (optional) - * @param \Cone\Billingo\Model\Category $categories (optional) - * @param \Cone\Billingo\Model\Currency $currencies (optional) - * @param \Cone\Billingo\Model\PaymentMethod $paymentMethods (optional) + * @param string|null $q (optional, default to '') + * @param int|null $page (optional, default to 1) + * @param int|null $perPage (optional, default to 25) + * @param \Cone\Billingo\Model\DateType|null $spendingDate (optional) + * @param string|null $startDate (optional) + * @param string|null $endDate (optional) + * @param \Cone\Billingo\Model\PaymentStatusSpending|null $paymentStatus (optional) + * @param \Cone\Billingo\Model\Source|null $spendingType (optional) + * @param \Cone\Billingo\Model\Category|null $categories (optional) + * @param \Cone\Billingo\Model\Currency|null $currencies (optional) + * @param \Cone\Billingo\Model\PaymentMethod|null $paymentMethods (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingList'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1090,7 +1091,7 @@ public function spendingListRequest($q = '', $page = 1, $perPage = 25, $spending * * Creates a new spending. * - * @param \Cone\Billingo\Model\SpendingSave $spendingSave spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingSave'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1108,7 +1109,7 @@ public function spendingSave($spendingSave = null, string $contentType = self::c * * Creates a new spending. * - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingSave'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -1478,7 +1479,7 @@ public function spendingSaveWithHttpInfo($spendingSave = null, string $contentTy * * Creates a new spending. * - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingSave'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1499,7 +1500,7 @@ function ($response) { * * Creates a new spending. * - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingSave'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -1549,7 +1550,7 @@ function ($exception) { /** * Create request for operation 'spendingSave' * - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingSave'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2200,7 +2201,7 @@ public function spendingShowRequest($id, string $contentType = self::contentType * Updates a spending item. * * @param int $id id (required) - * @param \Cone\Billingo\Model\SpendingSave $spendingSave spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingUpdate'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -2219,7 +2220,7 @@ public function spendingUpdate($id, $spendingSave = null, string $contentType = * Updates a spending item. * * @param int $id (required) - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingUpdate'] to see the possible values for this operation * * @throws \Cone\Billingo\ApiException on non-2xx response or if the response body is not in the expected format @@ -2625,7 +2626,7 @@ public function spendingUpdateWithHttpInfo($id, $spendingSave = null, string $co * Updates a spending item. * * @param int $id (required) - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingUpdate'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2647,7 +2648,7 @@ function ($response) { * Updates a spending item. * * @param int $id (required) - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingUpdate'] to see the possible values for this operation * * @throws \InvalidArgumentException @@ -2698,7 +2699,7 @@ function ($exception) { * Create request for operation 'spendingUpdate' * * @param int $id (required) - * @param \Cone\Billingo\Model\SpendingSave $spendingSave (optional) + * @param \Cone\Billingo\Model\SpendingSave|null $spendingSave (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['spendingUpdate'] to see the possible values for this operation * * @throws \InvalidArgumentException diff --git a/src/Api/UtilApi.php b/src/Api/UtilApi.php index ce5aadf..cabb019 100644 --- a/src/Api/UtilApi.php +++ b/src/Api/UtilApi.php @@ -1,4 +1,5 @@ client = $client ?: new Client(); $this->config = $config ?: Configuration::getDefaultConfiguration(); diff --git a/src/ApiException.php b/src/ApiException.php index 4909365..257c140 100644 --- a/src/ApiException.php +++ b/src/ApiException.php @@ -1,4 +1,5 @@ setIfExists('countryCode', $data ?? [], null); $this->setIfExists('postCode', $data ?? [], null); diff --git a/src/Model/BankAccount.php b/src/Model/BankAccount.php index 552fec4..6402458 100644 --- a/src/Model/BankAccount.php +++ b/src/Model/BankAccount.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/BankAccountList.php b/src/Model/BankAccountList.php index 9912507..682b6fc 100644 --- a/src/Model/BankAccountList.php +++ b/src/Model/BankAccountList.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/Category.php b/src/Model/Category.php index 7e052ae..31b60c1 100644 --- a/src/Model/Category.php +++ b/src/Model/Category.php @@ -1,4 +1,5 @@ setIfExists('message', $data ?? [], null); } diff --git a/src/Model/ClientErrorResponse.php b/src/Model/ClientErrorResponse.php index 8157455..0ae3c35 100644 --- a/src/Model/ClientErrorResponse.php +++ b/src/Model/ClientErrorResponse.php @@ -1,4 +1,5 @@ setIfExists('error', $data ?? [], null); } diff --git a/src/Model/ConversationRate.php b/src/Model/ConversationRate.php index 0de8d13..12c4259 100644 --- a/src/Model/ConversationRate.php +++ b/src/Model/ConversationRate.php @@ -1,4 +1,5 @@ setIfExists('fromCurrency', $data ?? [], null); $this->setIfExists('toCurrency', $data ?? [], null); diff --git a/src/Model/CorrectionType.php b/src/Model/CorrectionType.php index 54f38d5..57193e7 100644 --- a/src/Model/CorrectionType.php +++ b/src/Model/CorrectionType.php @@ -1,4 +1,5 @@ setIfExists('queryType', $data ?? [], null); $this->setIfExists('startDate', $data ?? [], null); diff --git a/src/Model/Currency.php b/src/Model/Currency.php index 2b76f08..5922799 100644 --- a/src/Model/Currency.php +++ b/src/Model/Currency.php @@ -1,4 +1,5 @@ setIfExists('type', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Model/DiscountType.php b/src/Model/DiscountType.php index c83961d..c992b34 100644 --- a/src/Model/DiscountType.php +++ b/src/Model/DiscountType.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('invoiceNumber', $data ?? [], null); diff --git a/src/Model/DocumentAncestor.php b/src/Model/DocumentAncestor.php index da19089..02be3ec 100644 --- a/src/Model/DocumentAncestor.php +++ b/src/Model/DocumentAncestor.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('invoiceNumber', $data ?? [], null); diff --git a/src/Model/DocumentBankAccount.php b/src/Model/DocumentBankAccount.php index 6026f24..ebed2ed 100644 --- a/src/Model/DocumentBankAccount.php +++ b/src/Model/DocumentBankAccount.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/DocumentBlock.php b/src/Model/DocumentBlock.php index 48e86ae..7c799b0 100644 --- a/src/Model/DocumentBlock.php +++ b/src/Model/DocumentBlock.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/DocumentBlockList.php b/src/Model/DocumentBlockList.php index 4579fdf..aa792c6 100644 --- a/src/Model/DocumentBlockList.php +++ b/src/Model/DocumentBlockList.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/DocumentBlockType.php b/src/Model/DocumentBlockType.php index 9a686de..6f82eb0 100644 --- a/src/Model/DocumentBlockType.php +++ b/src/Model/DocumentBlockType.php @@ -1,4 +1,5 @@ setIfExists('cancellationReason', $data ?? [], null); $this->setIfExists('cancellationRecipients', $data ?? [], null); diff --git a/src/Model/DocumentExportFilterExtra.php b/src/Model/DocumentExportFilterExtra.php index 2790c9e..f6d27d0 100644 --- a/src/Model/DocumentExportFilterExtra.php +++ b/src/Model/DocumentExportFilterExtra.php @@ -1,4 +1,5 @@ setIfExists('tensoftVkod', $data ?? [], null); $this->setIfExists('ledgerNumber', $data ?? [], null); diff --git a/src/Model/DocumentExportId.php b/src/Model/DocumentExportId.php index e419aea..dc7bb32 100644 --- a/src/Model/DocumentExportId.php +++ b/src/Model/DocumentExportId.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); } diff --git a/src/Model/DocumentExportOtherOptions.php b/src/Model/DocumentExportOtherOptions.php index 7c1e582..ff5050b 100644 --- a/src/Model/DocumentExportOtherOptions.php +++ b/src/Model/DocumentExportOtherOptions.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('state', $data ?? [], null); diff --git a/src/Model/DocumentExportStatusState.php b/src/Model/DocumentExportStatusState.php index c3f0302..01d4b49 100644 --- a/src/Model/DocumentExportStatusState.php +++ b/src/Model/DocumentExportStatusState.php @@ -1,4 +1,5 @@ setIfExists('vendorId', $data ?? [], null); $this->setIfExists('partnerId', $data ?? [], null); diff --git a/src/Model/DocumentInsertItemsInner.php b/src/Model/DocumentInsertItemsInner.php index 8610b1f..51c8016 100644 --- a/src/Model/DocumentInsertItemsInner.php +++ b/src/Model/DocumentInsertItemsInner.php @@ -1,4 +1,5 @@ setIfExists('productId', $data ?? [], null); $this->setIfExists('quantity', $data ?? [], null); diff --git a/src/Model/DocumentInsertType.php b/src/Model/DocumentInsertType.php index 5954438..9a21d88 100644 --- a/src/Model/DocumentInsertType.php +++ b/src/Model/DocumentInsertType.php @@ -1,4 +1,5 @@ setIfExists('productId', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/DocumentItemData.php b/src/Model/DocumentItemData.php index 30af3b0..4461785 100644 --- a/src/Model/DocumentItemData.php +++ b/src/Model/DocumentItemData.php @@ -1,4 +1,5 @@ setIfExists('productId', $data ?? [], null); $this->setIfExists('quantity', $data ?? [], null); diff --git a/src/Model/DocumentLanguage.php b/src/Model/DocumentLanguage.php index 5a69418..ddf3d5c 100644 --- a/src/Model/DocumentLanguage.php +++ b/src/Model/DocumentLanguage.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/DocumentNotificationStatus.php b/src/Model/DocumentNotificationStatus.php index 709f2dc..00d8168 100644 --- a/src/Model/DocumentNotificationStatus.php +++ b/src/Model/DocumentNotificationStatus.php @@ -1,4 +1,5 @@ setIfExists('name', $data ?? [], null); $this->setIfExists('taxNumber', $data ?? [], null); diff --git a/src/Model/DocumentPartner.php b/src/Model/DocumentPartner.php index f976bf9..28d136a 100644 --- a/src/Model/DocumentPartner.php +++ b/src/Model/DocumentPartner.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/DocumentProductData.php b/src/Model/DocumentProductData.php index c74e053..fb69425 100644 --- a/src/Model/DocumentProductData.php +++ b/src/Model/DocumentProductData.php @@ -1,4 +1,5 @@ setIfExists('name', $data ?? [], null); $this->setIfExists('unitPrice', $data ?? [], null); diff --git a/src/Model/DocumentPublicUrl.php b/src/Model/DocumentPublicUrl.php index 8d810e0..0988551 100644 --- a/src/Model/DocumentPublicUrl.php +++ b/src/Model/DocumentPublicUrl.php @@ -1,4 +1,5 @@ setIfExists('publicUrl', $data ?? [], null); } diff --git a/src/Model/DocumentSettings.php b/src/Model/DocumentSettings.php index 91cf78e..ff2a0b2 100644 --- a/src/Model/DocumentSettings.php +++ b/src/Model/DocumentSettings.php @@ -1,4 +1,5 @@ setIfExists('mediatedService', $data ?? [], false); $this->setIfExists('withoutFinancialFulfillment', $data ?? [], false); diff --git a/src/Model/DocumentSummary.php b/src/Model/DocumentSummary.php index 3bfa984..712c580 100644 --- a/src/Model/DocumentSummary.php +++ b/src/Model/DocumentSummary.php @@ -1,4 +1,5 @@ setIfExists('netAmount', $data ?? [], null); $this->setIfExists('netAmountLocal', $data ?? [], null); diff --git a/src/Model/DocumentType.php b/src/Model/DocumentType.php index cef6401..d6f61b2 100644 --- a/src/Model/DocumentType.php +++ b/src/Model/DocumentType.php @@ -1,4 +1,5 @@ setIfExists('vatName', $data ?? [], null); $this->setIfExists('vatPercentage', $data ?? [], null); diff --git a/src/Model/Entitlement.php b/src/Model/Entitlement.php index aec35f3..31b2160 100644 --- a/src/Model/Entitlement.php +++ b/src/Model/Entitlement.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('legacyId', $data ?? [], null); diff --git a/src/Model/InvoiceSettings.php b/src/Model/InvoiceSettings.php index 229fec4..5e853d1 100644 --- a/src/Model/InvoiceSettings.php +++ b/src/Model/InvoiceSettings.php @@ -1,4 +1,5 @@ setIfExists('documentType', $data ?? [], null); $this->setIfExists('fulfillmentDate', $data ?? [], null); diff --git a/src/Model/LedgerNumberInformation.php b/src/Model/LedgerNumberInformation.php index fd2c03d..a82f8b4 100644 --- a/src/Model/LedgerNumberInformation.php +++ b/src/Model/LedgerNumberInformation.php @@ -1,4 +1,5 @@ setIfExists('bevetel', $data ?? [], null); $this->setIfExists('vevo', $data ?? [], null); diff --git a/src/Model/ModelInterface.php b/src/Model/ModelInterface.php index 0b6e8eb..8ad96a6 100644 --- a/src/Model/ModelInterface.php +++ b/src/Model/ModelInterface.php @@ -1,4 +1,5 @@ setIfExists('dueDate', $data ?? [], null); $this->setIfExists('comment', $data ?? [], null); diff --git a/src/Model/OnlinePayment.php b/src/Model/OnlinePayment.php index 3ca11c1..c0a12e3 100644 --- a/src/Model/OnlinePayment.php +++ b/src/Model/OnlinePayment.php @@ -1,4 +1,5 @@ setIfExists('transactionId', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Model/OnlineSzamlaStatusEnum.php b/src/Model/OnlineSzamlaStatusEnum.php index a568d61..63b42b9 100644 --- a/src/Model/OnlineSzamlaStatusEnum.php +++ b/src/Model/OnlineSzamlaStatusEnum.php @@ -1,4 +1,5 @@ setIfExists('validationResultCode', $data ?? [], null); $this->setIfExists('validationErrorCode', $data ?? [], null); diff --git a/src/Model/OrganizationData.php b/src/Model/OrganizationData.php index 0d6122d..e1b7668 100644 --- a/src/Model/OrganizationData.php +++ b/src/Model/OrganizationData.php @@ -1,4 +1,5 @@ setIfExists('taxCode', $data ?? [], null); $this->setIfExists('subscription', $data ?? [], null); diff --git a/src/Model/Partner.php b/src/Model/Partner.php index 0165964..ae052a3 100644 --- a/src/Model/Partner.php +++ b/src/Model/Partner.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/PartnerCustomBillingSettings.php b/src/Model/PartnerCustomBillingSettings.php index 8a66138..97ac83b 100644 --- a/src/Model/PartnerCustomBillingSettings.php +++ b/src/Model/PartnerCustomBillingSettings.php @@ -1,4 +1,5 @@ setIfExists('paymentMethod', $data ?? [], null); $this->setIfExists('documentForm', $data ?? [], null); diff --git a/src/Model/PartnerList.php b/src/Model/PartnerList.php index 0e685c3..daec469 100644 --- a/src/Model/PartnerList.php +++ b/src/Model/PartnerList.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/PartnerTaxType.php b/src/Model/PartnerTaxType.php index 8d99048..3436900 100644 --- a/src/Model/PartnerTaxType.php +++ b/src/Model/PartnerTaxType.php @@ -1,4 +1,5 @@ setIfExists('date', $data ?? [], null); $this->setIfExists('price', $data ?? [], null); diff --git a/src/Model/PaymentMethod.php b/src/Model/PaymentMethod.php index afdb157..6f572be 100644 --- a/src/Model/PaymentMethod.php +++ b/src/Model/PaymentMethod.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/ProductList.php b/src/Model/ProductList.php index 86483f8..40d1f58 100644 --- a/src/Model/ProductList.php +++ b/src/Model/ProductList.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/ReceiptInsert.php b/src/Model/ReceiptInsert.php index 5cc5649..975cd6a 100644 --- a/src/Model/ReceiptInsert.php +++ b/src/Model/ReceiptInsert.php @@ -1,4 +1,5 @@ setIfExists('vendorId', $data ?? [], null); $this->setIfExists('partnerId', $data ?? [], null); diff --git a/src/Model/ReceiptInsertItemsInner.php b/src/Model/ReceiptInsertItemsInner.php index 2a9f179..2a2f1b4 100644 --- a/src/Model/ReceiptInsertItemsInner.php +++ b/src/Model/ReceiptInsertItemsInner.php @@ -1,4 +1,5 @@ setIfExists('productId', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/ReceiptItemData.php b/src/Model/ReceiptItemData.php index ef1de8f..732c9df 100644 --- a/src/Model/ReceiptItemData.php +++ b/src/Model/ReceiptItemData.php @@ -1,4 +1,5 @@ setIfExists('productId', $data ?? [], null); } diff --git a/src/Model/ReceiptProductData.php b/src/Model/ReceiptProductData.php index ec6bb49..d605ff9 100644 --- a/src/Model/ReceiptProductData.php +++ b/src/Model/ReceiptProductData.php @@ -1,4 +1,5 @@ setIfExists('name', $data ?? [], null); $this->setIfExists('unitPrice', $data ?? [], null); diff --git a/src/Model/Round.php b/src/Model/Round.php index eb845fc..28c5b37 100644 --- a/src/Model/Round.php +++ b/src/Model/Round.php @@ -1,4 +1,5 @@ setIfExists('emails', $data ?? [], null); } diff --git a/src/Model/ServerError.php b/src/Model/ServerError.php index d7ccc10..f12ea8e 100644 --- a/src/Model/ServerError.php +++ b/src/Model/ServerError.php @@ -1,4 +1,5 @@ setIfExists('message', $data ?? [], null); $this->setIfExists('traceId', $data ?? [], null); diff --git a/src/Model/ServerErrorResponse.php b/src/Model/ServerErrorResponse.php index 198c2d8..e3965c9 100644 --- a/src/Model/ServerErrorResponse.php +++ b/src/Model/ServerErrorResponse.php @@ -1,4 +1,5 @@ setIfExists('error', $data ?? [], null); } diff --git a/src/Model/ServerTime.php b/src/Model/ServerTime.php index a638fc2..81ab0e5 100644 --- a/src/Model/ServerTime.php +++ b/src/Model/ServerTime.php @@ -1,4 +1,5 @@ setIfExists('epoch', $data ?? [], null); $this->setIfExists('formatted', $data ?? [], null); diff --git a/src/Model/Source.php b/src/Model/Source.php index a40903d..91526cf 100644 --- a/src/Model/Source.php +++ b/src/Model/Source.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('organizationId', $data ?? [], null); diff --git a/src/Model/SpendingList.php b/src/Model/SpendingList.php index f48105b..0bbc8a2 100644 --- a/src/Model/SpendingList.php +++ b/src/Model/SpendingList.php @@ -1,4 +1,5 @@ setIfExists('data', $data ?? [], null); $this->setIfExists('total', $data ?? [], null); diff --git a/src/Model/SpendingListItem.php b/src/Model/SpendingListItem.php index 536ab30..fdc2751 100644 --- a/src/Model/SpendingListItem.php +++ b/src/Model/SpendingListItem.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('organizationId', $data ?? [], null); diff --git a/src/Model/SpendingPartner.php b/src/Model/SpendingPartner.php index 1420d17..a3ee0b0 100644 --- a/src/Model/SpendingPartner.php +++ b/src/Model/SpendingPartner.php @@ -1,4 +1,5 @@ setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Model/SpendingPaymentMethod.php b/src/Model/SpendingPaymentMethod.php index c6af236..e91e94b 100644 --- a/src/Model/SpendingPaymentMethod.php +++ b/src/Model/SpendingPaymentMethod.php @@ -1,4 +1,5 @@ setIfExists('currency', $data ?? [], null); $this->setIfExists('conversionRate', $data ?? [], null); diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 210202e..3f05bd1 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -1,4 +1,5 @@ setIfExists('expirationDate', $data ?? [], null); $this->setIfExists('features', $data ?? [], null); diff --git a/src/Model/SubscriptionErrorResponse.php b/src/Model/SubscriptionErrorResponse.php index f4891c9..6652700 100644 --- a/src/Model/SubscriptionErrorResponse.php +++ b/src/Model/SubscriptionErrorResponse.php @@ -1,4 +1,5 @@ setIfExists('error', $data ?? [], null); } diff --git a/src/Model/TaxNumber.php b/src/Model/TaxNumber.php index 0407f53..fd6d2d0 100644 --- a/src/Model/TaxNumber.php +++ b/src/Model/TaxNumber.php @@ -1,4 +1,5 @@ setIfExists('taxNumber', $data ?? [], null); $this->setIfExists('result', $data ?? [], null); diff --git a/src/Model/TooManyRequestsResponse.php b/src/Model/TooManyRequestsResponse.php index e393154..4042713 100644 --- a/src/Model/TooManyRequestsResponse.php +++ b/src/Model/TooManyRequestsResponse.php @@ -1,4 +1,5 @@ setIfExists('error', $data ?? [], null); } diff --git a/src/Model/UnitPriceType.php b/src/Model/UnitPriceType.php index 04c81ba..a85327c 100644 --- a/src/Model/UnitPriceType.php +++ b/src/Model/UnitPriceType.php @@ -1,4 +1,5 @@ setIfExists('field', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Model/ValidationErrorResponse.php b/src/Model/ValidationErrorResponse.php index f703f32..095c6e0 100644 --- a/src/Model/ValidationErrorResponse.php +++ b/src/Model/ValidationErrorResponse.php @@ -1,4 +1,5 @@ setIfExists('message', $data ?? [], null); $this->setIfExists('errors', $data ?? [], null); diff --git a/src/Model/Vat.php b/src/Model/Vat.php index 22a6a27..e341940 100644 --- a/src/Model/Vat.php +++ b/src/Model/Vat.php @@ -1,4 +1,5 @@