diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c037b5d4..8d7fc69c 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -39,6 +39,7 @@ docs/Model/CompanyInfoPlanInfoFunctions.md docs/Model/CompanyInfoPlanInfoFunctionsStatus.md docs/Model/CompanyInfoPlanInfoLimits.md docs/Model/CompanyType.md +docs/Model/ControlledCompany.md docs/Model/CreateArchiveDocumentRequest.md docs/Model/CreateArchiveDocumentResponse.md docs/Model/CreateCashbookEntryRequest.md @@ -267,6 +268,7 @@ lib/Model/CompanyInfoPlanInfoFunctions.php lib/Model/CompanyInfoPlanInfoFunctionsStatus.php lib/Model/CompanyInfoPlanInfoLimits.php lib/Model/CompanyType.php +lib/Model/ControlledCompany.php lib/Model/CreateArchiveDocumentRequest.php lib/Model/CreateArchiveDocumentResponse.php lib/Model/CreateCashbookEntryRequest.php @@ -458,10 +460,4 @@ lib/Model/VerifyEInvoiceXmlResponse.php lib/Model/VerifyEInvoiceXmlResponseData.php lib/ObjectSerializer.php phpunit.xml.dist -test/Model/AttachmentDataTest.php -test/Model/CreateVatTypeRequestTest.php -test/Model/CreateVatTypeResponseTest.php -test/Model/GetVatTypeResponseTest.php -test/Model/ModifyVatTypeRequestTest.php -test/Model/ModifyVatTypeResponseTest.php -test/Model/VerifyEInvoiceXmlResponseDataTest.php +test/Model/ControlledCompanyTest.php diff --git a/README.md b/README.md index d0e56a19..e57e210a 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ Class | Method | HTTP request | Description *IssuedDocumentsApi* | [**modifyIssuedDocument**](docs/Api/IssuedDocumentsApi.md#modifyissueddocument) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document *IssuedDocumentsApi* | [**scheduleEmail**](docs/Api/IssuedDocumentsApi.md#scheduleemail) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email *IssuedDocumentsApi* | [**uploadIssuedDocumentAttachment**](docs/Api/IssuedDocumentsApi.md#uploadissueddocumentattachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment +*IssuedEInvoicesApi* | [**getEInvoiceXml**](docs/Api/IssuedEInvoicesApi.md#geteinvoicexml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | Get e-invoice XML *IssuedEInvoicesApi* | [**sendEInvoice**](docs/Api/IssuedEInvoicesApi.md#sendeinvoice) | **POST** /c/{company_id}/issued_documents/{document_id}/e_invoice/send | Send the e-invoice *IssuedEInvoicesApi* | [**verifyEInvoiceXml**](docs/Api/IssuedEInvoicesApi.md#verifyeinvoicexml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice xml *ProductsApi* | [**createProduct**](docs/Api/ProductsApi.md#createproduct) | **POST** /c/{company_id}/products | Create Product @@ -188,6 +189,7 @@ Class | Method | HTTP request | Description - [CompanyInfoPlanInfoFunctionsStatus](docs/Model/CompanyInfoPlanInfoFunctionsStatus.md) - [CompanyInfoPlanInfoLimits](docs/Model/CompanyInfoPlanInfoLimits.md) - [CompanyType](docs/Model/CompanyType.md) +- [ControlledCompany](docs/Model/ControlledCompany.md) - [CreateArchiveDocumentRequest](docs/Model/CreateArchiveDocumentRequest.md) - [CreateArchiveDocumentResponse](docs/Model/CreateArchiveDocumentResponse.md) - [CreateCashbookEntryRequest](docs/Model/CreateCashbookEntryRequest.md) @@ -438,5 +440,5 @@ info@fattureincloud.it This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `2.0.8` +- API version: `2.0.9` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/docs/Api/IssuedEInvoicesApi.md b/docs/Api/IssuedEInvoicesApi.md index 37f439b9..a676d7f5 100644 --- a/docs/Api/IssuedEInvoicesApi.md +++ b/docs/Api/IssuedEInvoicesApi.md @@ -4,10 +4,75 @@ All URIs are relative to https://api-v2.fattureincloud.it. Method | HTTP request | Description ------------- | ------------- | ------------- +[**getEInvoiceXml()**](IssuedEInvoicesApi.md#getEInvoiceXml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | Get e-invoice XML [**sendEInvoice()**](IssuedEInvoicesApi.md#sendEInvoice) | **POST** /c/{company_id}/issued_documents/{document_id}/e_invoice/send | Send the e-invoice [**verifyEInvoiceXml()**](IssuedEInvoicesApi.md#verifyEInvoiceXml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice xml +## `getEInvoiceXml()` + +```php +getEInvoiceXml($company_id, $document_id, $include_attachment): string +``` + +Get e-invoice XML + +Downloads the e-invoice in XML format. + +### Example + +```php +setAccessToken('YOUR_ACCESS_TOKEN'); + + +$apiInstance = new FattureInCloud\Api\IssuedEInvoicesApi( + // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. + // This is optional, `GuzzleHttp\Client` will be used as default. + new GuzzleHttp\Client(), + $config +); +$company_id = 12345; // int | The ID of the company. +$document_id = 56; // int | The ID of the document. +$include_attachment = True; // bool | Include the attachment to the XML e-invoice. + +try { + $result = $apiInstance->getEInvoiceXml($company_id, $document_id, $include_attachment); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling IssuedEInvoicesApi->getEInvoiceXml: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **company_id** | **int**| The ID of the company. | + **document_id** | **int**| The ID of the document. | + **include_attachment** | **bool**| Include the attachment to the XML e-invoice. | [optional] + +### Return type + +**string** + +### Authorization + +[OAuth2AuthenticationCodeFlow](../../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: `text/xml` + +[[Back to top]](#) [[Back to API list]](../../README.md#endpoints) +[[Back to Model list]](../../README.md#models) +[[Back to README]](../../README.md) + ## `sendEInvoice()` ```php diff --git a/docs/Model/Company.md b/docs/Model/Company.md index b5d23911..3a70968f 100644 --- a/docs/Model/Company.md +++ b/docs/Model/Company.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **name** | **string** | Company name. | [optional] **type** | [**\FattureInCloud\Model\CompanyType**](CompanyType.md) | | [optional] **access_token** | **string** | CompanyAuthentication token for this company. [Only if type=company] | [optional] -**controlled_companies** | [**\FattureInCloud\Model\Company[]**](Company.md) | List of controlled companies. [Only if type=accountant] | [optional] -**connection_id** | **float** | Company connection id. | [optional] +**controlled_companies** | [**\FattureInCloud\Model\ControlledCompany[]**](ControlledCompany.md) | List of controlled companies. [Only if type=accountant] | [optional] +**connection_id** | **int** | Company connection id. | [optional] **tax_code** | **string** | Tax code. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ControlledCompany.md b/docs/Model/ControlledCompany.md new file mode 100644 index 00000000..6c9fffac --- /dev/null +++ b/docs/Model/ControlledCompany.md @@ -0,0 +1,14 @@ +# # ControlledCompany + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | Company unique identifier. | [optional] +**name** | **string** | Company name. | [optional] +**type** | [**\FattureInCloud\Model\CompanyType**](CompanyType.md) | | [optional] +**access_token** | **string** | CompanyAuthentication token for this company. [Only if type=company] | [optional] +**connection_id** | **float** | Company connection id. | [optional] +**tax_code** | **string** | Tax code. | [optional] + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/EmailSchedule.md b/docs/Model/EmailSchedule.md index b629c98a..5c4c998f 100644 --- a/docs/Model/EmailSchedule.md +++ b/docs/Model/EmailSchedule.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sender_id** | **float** | Sender id. Required if `sender_email` is not specified | [optional] +**sender_id** | **int** | Sender id. Required if `sender_email` is not specified | [optional] **sender_email** | **string** | Sender email. Required if `sender_id` is not specified | [optional] **recipient_email** | **string** | One or more comma separated recipient emails | **subject** | **string** | Email subject | diff --git a/docs/Model/IssuedDocument.md b/docs/Model/IssuedDocument.md index 72c22540..e0b71583 100644 --- a/docs/Model/IssuedDocument.md +++ b/docs/Model/IssuedDocument.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **number** | **int** | Number of the document [If not specified, next number is used] | [optional] **numeration** | **string** | Numeration of the document [Not available if type=delivery_note] | [optional] **date** | **\DateTime** | Date of the document [If not specified, today date is used] | [optional] +**year** | **int** | Invoice year. | [optional] **currency** | [**\FattureInCloud\Model\Currency**](Currency.md) | | [optional] **language** | [**\FattureInCloud\Model\Language**](Language.md) | | [optional] **subject** | **string** | Issued document subject. | [optional] @@ -18,27 +19,42 @@ Name | Type | Description | Notes **notes** | **string** | Issued document extra notes. | [optional] **rivalsa** | **float** | \"Rivalsa INPS\" percentual value | [optional] **cassa** | **float** | \"Cassa previdenziale\" percentual value | [optional] +**amount_cassa** | **float** | [Read Only] Cassa amount. | [optional] [readonly] +**cassa_taxable** | **float** | Cassa taxable percentage | [optional] +**amount_cassa_taxable** | **float** | [Can be set only if cassa_taxable is NULL] Cassa2 taxable amount | [optional] +**cassa2** | **float** | \"Cassa previdenziale 2\" percentual value | [optional] +**amount_cassa2** | **float** | [Read Only] Cassa amount. | [optional] [readonly] +**cassa2_taxable** | **float** | Cassa2 taxable percentage | [optional] +**amount_cassa2_taxable** | **float** | [Can be set only if cassa2_taxable is NULL] Cassa2 taxable amount | [optional] +**global_cassa_taxable** | **float** | Global cassa taxable percentage | [optional] +**amount_global_cassa_taxable** | **float** | [Can be set only if global_cassa_taxable is NULL] Global cassa taxable amount | [optional] **withholding_tax** | **float** | Withholding tax (ritenuta d'acconto) percentual value | [optional] **withholding_tax_taxable** | **float** | Withholding tax taxable (imponibile) percentual value | [optional] **other_withholding_tax** | **float** | Other withholding tax (altra ritenuta) percentual value | [optional] **stamp_duty** | **float** | Stamp duty value [0 if not present] | [optional] **payment_method** | [**\FattureInCloud\Model\PaymentMethod**](PaymentMethod.md) | | [optional] -**use_split_payment** | **bool** | | [optional] [default to false] -**use_gross_prices** | **bool** | | [optional] [default to false] +**use_split_payment** | **bool** | Use split payment | [optional] [default to false] +**use_gross_prices** | **bool** | Use gross prices | [optional] [default to false] **e_invoice** | **bool** | Indicates if this is an e-invoice. | [optional] [default to false] **ei_data** | [**\FattureInCloud\Model\IssuedDocumentEiData**](IssuedDocumentEiData.md) | | [optional] +**ei_cassa_type** | **string** | Einvoice cassa type | [optional] +**ei_cassa2_type** | **string** | Einvoice cassa2 type | [optional] +**ei_withholding_tax_causal** | **string** | Einvoice withholding tax causal | [optional] +**ei_other_withholding_tax_type** | **string** | Einvoice other withholding tax type | [optional] +**ei_other_withholding_tax_causal** | **string** | Einvoice other withholding tax causal | [optional] **items_list** | [**\FattureInCloud\Model\IssuedDocumentItemsList[]**](IssuedDocumentItemsList.md) | | [optional] **payments_list** | [**\FattureInCloud\Model\IssuedDocumentPaymentsList[]**](IssuedDocumentPaymentsList.md) | | [optional] **template** | [**\FattureInCloud\Model\DocumentTemplate**](DocumentTemplate.md) | | [optional] **delivery_note_template** | [**\FattureInCloud\Model\DocumentTemplate**](DocumentTemplate.md) | | [optional] **acc_inv_template** | [**\FattureInCloud\Model\DocumentTemplate**](DocumentTemplate.md) | | [optional] **h_margins** | **int** | Horizontal margins. | [optional] +**v_margins** | **int** | Vertical margins. | [optional] **show_payments** | **bool** | Shows the expiration dates of the payments on the document. | [optional] **show_payment_method** | **bool** | Show the payment method details on the document. | [optional] **show_totals** | [**\FattureInCloud\Model\ShowTotalsMode**](ShowTotalsMode.md) | | [optional] -**v_margins** | **int** | Vertical margins. | [optional] -**show_paypal_button** | **bool** | | [optional] [default to false] -**show_notification_button** | **bool** | | [optional] [default to false] +**show_paypal_button** | **bool** | Show paypal button | [optional] [default to false] +**show_notification_button** | **bool** | Show notification button | [optional] [default to false] +**show_tspay_button** | **bool** | Show ts pay button. | [optional] **delivery_note** | **bool** | | [optional] **accompanying_invoice** | **bool** | Attach an accompanying invoice. | [optional] [default to false] **dn_number** | **int** | Number (for the attached delivery note). | [optional] @@ -54,10 +70,14 @@ Name | Type | Description | Notes **amount_net** | **float** | [Read Only] Total net amount (competenze). | [optional] [readonly] **amount_vat** | **float** | [Read Only] Total vat amount (IVA). | [optional] [readonly] **amount_gross** | **float** | [Read Only] Total gross amount (totale documento). | [optional] [readonly] +**amount_due_discount** | **float** | Amount due discount | [optional] **amount_rivalsa** | **float** | [Read Only] Rivalsa amount. | [optional] [readonly] -**amount_cassa** | **float** | [Read Only] Cassa amount. | [optional] [readonly] +**amount_rivalsa_taxable** | **float** | Taxable rivalsa amount | [optional] **amount_withholding_tax** | **float** | [Read Only] Withholding tax amount (ritenuta d'acconto). | [optional] [readonly] +**amount_withholding_tax_taxable** | **float** | Taxable withholding tax amount | [optional] **amount_other_withholding_tax** | **float** | [Read Only] Other withholding tax amount (altra ritenuta). | [optional] [readonly] +**amount_other_withholding_tax_taxable** | **float** | Taxable other withholding tax amount | [optional] +**amount_enasarco_taxable** | **float** | Taxable enasarco amount | [optional] **extra_data** | [**\FattureInCloud\Model\IssuedDocumentExtraData**](IssuedDocumentExtraData.md) | | [optional] **seen_date** | **\DateTime** | Date when the client/supplier has seen the document. | [optional] **next_due_date** | **\DateTime** | Date of the next not paid payment. | [optional] @@ -65,21 +85,5 @@ Name | Type | Description | Notes **attachment_url** | **string** | [Read Only] Public url of the attached file. Authomatically set if a valid attachment token is passed via POST /issued_documents or PUT /issued_documents/{documentId}. | [optional] [readonly] **attachment_token** | **string** | [Write Only] Attachment token returned by POST /issued_documents/attachment. Used to attach the file already uploaded. | [optional] **ei_raw** | **object** | Advanced raw attributes for e-invoices. | [optional] -**show_tspay_button** | **bool** | Show ts pay button. | [optional] -**year** | **int** | Invoice year. | [optional] -**amount_rivalsa_taxable** | **float** | | [optional] -**amount_global_cassa_taxable** | **float** | | [optional] -**amount_cassa_taxable** | **float** | | [optional] -**amount_cassa2** | **float** | | [optional] -**amount_cassa2_taxable** | **float** | | [optional] -**amount_withholding_tax_taxable** | **float** | | [optional] -**amount_enasarco_taxable** | **float** | | [optional] -**amount_other_withholding_tax_taxable** | **float** | | [optional] -**ei_cassa_type** | **string** | | [optional] -**ei_cassa2_type** | **string** | | [optional] -**ei_withholding_tax_causal** | **string** | | [optional] -**ei_other_withholding_tax_type** | **string** | | [optional] -**ei_other_withholding_tax_causal** | **string** | | [optional] -**amount_due_discount** | **float** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/IssuedDocumentItemsList.md b/docs/Model/IssuedDocumentItemsList.md index 4f42fb57..da6aea14 100644 --- a/docs/Model/IssuedDocumentItemsList.md +++ b/docs/Model/IssuedDocumentItemsList.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **product_id** | **int** | Unique identifier of the product. | [optional] **code** | **string** | Product code. | [optional] **name** | **string** | Product name. | [optional] +**category** | **string** | Product category | [optional] **description** | **string** | Product description. | [optional] **qty** | **float** | Items quantity, | [optional] **measure** | **string** | Item measure. | [optional] diff --git a/docs/Model/ReceiptItemsListItem.md b/docs/Model/ReceiptItemsListItem.md index 463d2e26..19d88116 100644 --- a/docs/Model/ReceiptItemsListItem.md +++ b/docs/Model/ReceiptItemsListItem.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **float** | Item unique identifier. | [optional] +**id** | **int** | Item unique identifier. | [optional] **amount_net** | **float** | Item total net amount. | [optional] **amount_gross** | **float** | Item total gross amount. | [optional] **category** | **string** | Item category. | [optional] diff --git a/docs/Model/ReceivedDocumentInfoItemsDefaultValues.md b/docs/Model/ReceivedDocumentInfoItemsDefaultValues.md index 1128c94d..a9d85233 100644 --- a/docs/Model/ReceivedDocumentInfoItemsDefaultValues.md +++ b/docs/Model/ReceivedDocumentInfoItemsDefaultValues.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**vat** | **int** | Default vat value. | [optional] +**vat** | **float** | Default vat value. | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/ReceivedDocumentPaymentTerms.md b/docs/Model/ReceivedDocumentPaymentTerms.md index cb1a6794..451bb2eb 100644 --- a/docs/Model/ReceivedDocumentPaymentTerms.md +++ b/docs/Model/ReceivedDocumentPaymentTerms.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **float** | Number of days. | [optional] +**days** | **int** | Number of days. | [optional] **type** | **string** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Api/ArchiveApi.php b/lib/Api/ArchiveApi.php index 2bce7d58..4de88c30 100644 --- a/lib/Api/ArchiveApi.php +++ b/lib/Api/ArchiveApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/CashbookApi.php b/lib/Api/CashbookApi.php index d392c6b7..3fcc4957 100644 --- a/lib/Api/CashbookApi.php +++ b/lib/Api/CashbookApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/ClientsApi.php b/lib/Api/ClientsApi.php index acab5573..4ad2fcf2 100644 --- a/lib/Api/ClientsApi.php +++ b/lib/Api/ClientsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/CompaniesApi.php b/lib/Api/CompaniesApi.php index 78de4b33..55f3bb8e 100644 --- a/lib/Api/CompaniesApi.php +++ b/lib/Api/CompaniesApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/InfoApi.php b/lib/Api/InfoApi.php index 8a7d9fc8..5abe4f69 100644 --- a/lib/Api/InfoApi.php +++ b/lib/Api/InfoApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/IssuedDocumentsApi.php b/lib/Api/IssuedDocumentsApi.php index b1baf9d3..7a70400c 100644 --- a/lib/Api/IssuedDocumentsApi.php +++ b/lib/Api/IssuedDocumentsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/IssuedEInvoicesApi.php b/lib/Api/IssuedEInvoicesApi.php index e5138406..ce695f08 100644 --- a/lib/Api/IssuedEInvoicesApi.php +++ b/lib/Api/IssuedEInvoicesApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -116,6 +116,316 @@ public function getConfig() return $this->config; } + /** + * Operation getEInvoiceXml + * + * Get e-invoice XML + * + * @param int $company_id The ID of the company. (required) + * @param int $document_id The ID of the document. (required) + * @param bool $include_attachment Include the attachment to the XML e-invoice. (optional) + * + * @throws \FattureInCloud\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return string + */ + public function getEInvoiceXml($company_id, $document_id, $include_attachment = null) + { + list($response) = $this->getEInvoiceXmlWithHttpInfo($company_id, $document_id, $include_attachment); + return $response; + } + + /** + * Operation getEInvoiceXmlWithHttpInfo + * + * Get e-invoice XML + * + * @param int $company_id The ID of the company. (required) + * @param int $document_id The ID of the document. (required) + * @param bool $include_attachment Include the attachment to the XML e-invoice. (optional) + * + * @throws \FattureInCloud\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of string, HTTP status code, HTTP response headers (array of strings) + */ + public function getEInvoiceXmlWithHttpInfo($company_id, $document_id, $include_attachment = null) + { + $request = $this->getEInvoiceXmlRequest($company_id, $document_id, $include_attachment); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 200: + if ('string' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, 'string', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = 'string'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'string', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation getEInvoiceXmlAsync + * + * Get e-invoice XML + * + * @param int $company_id The ID of the company. (required) + * @param int $document_id The ID of the document. (required) + * @param bool $include_attachment Include the attachment to the XML e-invoice. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getEInvoiceXmlAsync($company_id, $document_id, $include_attachment = null) + { + return $this->getEInvoiceXmlAsyncWithHttpInfo($company_id, $document_id, $include_attachment) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getEInvoiceXmlAsyncWithHttpInfo + * + * Get e-invoice XML + * + * @param int $company_id The ID of the company. (required) + * @param int $document_id The ID of the document. (required) + * @param bool $include_attachment Include the attachment to the XML e-invoice. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getEInvoiceXmlAsyncWithHttpInfo($company_id, $document_id, $include_attachment = null) + { + $returnType = 'string'; + $request = $this->getEInvoiceXmlRequest($company_id, $document_id, $include_attachment); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getEInvoiceXml' + * + * @param int $company_id The ID of the company. (required) + * @param int $document_id The ID of the document. (required) + * @param bool $include_attachment Include the attachment to the XML e-invoice. (optional) + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getEInvoiceXmlRequest($company_id, $document_id, $include_attachment = null) + { + // verify the required parameter 'company_id' is set + if ($company_id === null || (is_array($company_id) && count($company_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $company_id when calling getEInvoiceXml' + ); + } + // verify the required parameter 'document_id' is set + if ($document_id === null || (is_array($document_id) && count($document_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $document_id when calling getEInvoiceXml' + ); + } + + $resourcePath = '/c/{company_id}/issued_documents/{document_id}/e_invoice/xml'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + if ($include_attachment !== null) { + if('form' === 'form' && is_array($include_attachment)) { + foreach($include_attachment as $key => $value) { + $queryParams[$key] = $value; + } + } + else { + $queryParams['include_attachment'] = $include_attachment; + } + } + + + // path params + if ($company_id !== null) { + $resourcePath = str_replace( + '{' . 'company_id' . '}', + ObjectSerializer::toPathValue($company_id), + $resourcePath + ); + } + // path params + if ($document_id !== null) { + $resourcePath = str_replace( + '{' . 'document_id' . '}', + ObjectSerializer::toPathValue($document_id), + $resourcePath + ); + } + + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['text/xml'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['text/xml'], + [] + ); + } + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif ($headers['Content-Type'] === 'application/json') { + $httpBody = \GuzzleHttp\json_encode($formParams); + + } else { + // for HTTP post (form) + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); + } + } + + // this endpoint requires OAuth (access token) + if ($this->config->getAccessToken() !== null) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $query = \GuzzleHttp\Psr7\Query::build($queryParams); + return new Request( + 'GET', + $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation sendEInvoice * diff --git a/lib/Api/ProductsApi.php b/lib/Api/ProductsApi.php index f114449d..9cc4f424 100644 --- a/lib/Api/ProductsApi.php +++ b/lib/Api/ProductsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/ReceiptsApi.php b/lib/Api/ReceiptsApi.php index f0c860ca..4cf90b6d 100644 --- a/lib/Api/ReceiptsApi.php +++ b/lib/Api/ReceiptsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/ReceivedDocumentsApi.php b/lib/Api/ReceivedDocumentsApi.php index f349bba3..40bd7588 100644 --- a/lib/Api/ReceivedDocumentsApi.php +++ b/lib/Api/ReceivedDocumentsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/SettingsApi.php b/lib/Api/SettingsApi.php index 27dfd04b..8e3058cd 100644 --- a/lib/Api/SettingsApi.php +++ b/lib/Api/SettingsApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/SuppliersApi.php b/lib/Api/SuppliersApi.php index 152572b0..2f14fed3 100644 --- a/lib/Api/SuppliersApi.php +++ b/lib/Api/SuppliersApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/TaxesApi.php b/lib/Api/TaxesApi.php index ea4934fc..742b0f80 100644 --- a/lib/Api/TaxesApi.php +++ b/lib/Api/TaxesApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Api/UserApi.php b/lib/Api/UserApi.php index 47da0460..0f00955e 100644 --- a/lib/Api/UserApi.php +++ b/lib/Api/UserApi.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/ApiException.php b/lib/ApiException.php index 40e13549..88078754 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Configuration.php b/lib/Configuration.php index 9a672128..832ac7bb 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -91,7 +91,7 @@ class Configuration * * @var string */ - protected $userAgent = 'FattureInCloud/2.0.6/PHP-SDK'; + protected $userAgent = 'FattureInCloud/2.0.7/PHP-SDK'; /** * Debug switch (default set to false) @@ -399,7 +399,7 @@ public static function toDebugReport() $report = 'PHP SDK (FattureInCloud) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 2.0.8' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 2.0.9' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 85eebb26..3b833e51 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -14,7 +14,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ArchiveDocument.php b/lib/Model/ArchiveDocument.php index 4a2c25fc..1d4b882d 100644 --- a/lib/Model/ArchiveDocument.php +++ b/lib/Model/ArchiveDocument.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/AttachmentData.php b/lib/Model/AttachmentData.php index 5534f2f6..2ca5b2e2 100644 --- a/lib/Model/AttachmentData.php +++ b/lib/Model/AttachmentData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntry.php b/lib/Model/CashbookEntry.php index 095f2fbe..82e5ba24 100644 --- a/lib/Model/CashbookEntry.php +++ b/lib/Model/CashbookEntry.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryData.php b/lib/Model/CashbookEntryData.php index 807b650f..3f686306 100644 --- a/lib/Model/CashbookEntryData.php +++ b/lib/Model/CashbookEntryData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryDataDocument.php b/lib/Model/CashbookEntryDataDocument.php index 9a64c38b..490e3c9d 100644 --- a/lib/Model/CashbookEntryDataDocument.php +++ b/lib/Model/CashbookEntryDataDocument.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryIn.php b/lib/Model/CashbookEntryIn.php index 2e61ac07..676c9e97 100644 --- a/lib/Model/CashbookEntryIn.php +++ b/lib/Model/CashbookEntryIn.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryInData.php b/lib/Model/CashbookEntryInData.php index 12a8cca9..49f21f69 100644 --- a/lib/Model/CashbookEntryInData.php +++ b/lib/Model/CashbookEntryInData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryInOut.php b/lib/Model/CashbookEntryInOut.php index c7a1d10b..1558d823 100644 --- a/lib/Model/CashbookEntryInOut.php +++ b/lib/Model/CashbookEntryInOut.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryKind.php b/lib/Model/CashbookEntryKind.php index a6963fc1..966dda70 100644 --- a/lib/Model/CashbookEntryKind.php +++ b/lib/Model/CashbookEntryKind.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryOut.php b/lib/Model/CashbookEntryOut.php index 8b68fd60..e486b91b 100644 --- a/lib/Model/CashbookEntryOut.php +++ b/lib/Model/CashbookEntryOut.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryOutData.php b/lib/Model/CashbookEntryOutData.php index a3ccd1be..75a57146 100644 --- a/lib/Model/CashbookEntryOutData.php +++ b/lib/Model/CashbookEntryOutData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CashbookEntryType.php b/lib/Model/CashbookEntryType.php index 49bf85d5..d96ab0c0 100644 --- a/lib/Model/CashbookEntryType.php +++ b/lib/Model/CashbookEntryType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/City.php b/lib/Model/City.php index 6a759ba3..10d8f94b 100644 --- a/lib/Model/City.php +++ b/lib/Model/City.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Client.php b/lib/Model/Client.php index 9b25625c..ab1aa767 100644 --- a/lib/Model/Client.php +++ b/lib/Model/Client.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ClientType.php b/lib/Model/ClientType.php index c8605f81..48ac3850 100644 --- a/lib/Model/ClientType.php +++ b/lib/Model/ClientType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Company.php b/lib/Model/Company.php index e2802baa..3108bd0f 100644 --- a/lib/Model/Company.php +++ b/lib/Model/Company.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -65,8 +65,8 @@ class Company implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'type' => '\FattureInCloud\Model\CompanyType', 'access_token' => 'string', - 'controlled_companies' => '\FattureInCloud\Model\Company[]', - 'connection_id' => 'float', + 'controlled_companies' => '\FattureInCloud\Model\ControlledCompany[]', + 'connection_id' => 'int', 'tax_code' => 'string' ]; @@ -342,7 +342,7 @@ public function setAccessToken($access_token) /** * Gets controlled_companies * - * @return \FattureInCloud\Model\Company[]|null + * @return \FattureInCloud\Model\ControlledCompany[]|null */ public function getControlledCompanies() { @@ -352,7 +352,7 @@ public function getControlledCompanies() /** * Sets controlled_companies * - * @param \FattureInCloud\Model\Company[]|null $controlled_companies List of controlled companies. [Only if type=accountant] + * @param \FattureInCloud\Model\ControlledCompany[]|null $controlled_companies List of controlled companies. [Only if type=accountant] * * @return self */ @@ -366,7 +366,7 @@ public function setControlledCompanies($controlled_companies) /** * Gets connection_id * - * @return float|null + * @return int|null */ public function getConnectionId() { @@ -376,7 +376,7 @@ public function getConnectionId() /** * Sets connection_id * - * @param float|null $connection_id Company connection id. + * @param int|null $connection_id Company connection id. * * @return self */ diff --git a/lib/Model/CompanyInfo.php b/lib/Model/CompanyInfo.php index c1e8a588..e60e7e53 100644 --- a/lib/Model/CompanyInfo.php +++ b/lib/Model/CompanyInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyInfoAccessInfo.php b/lib/Model/CompanyInfoAccessInfo.php index 7a7bf5b1..7a13fd34 100644 --- a/lib/Model/CompanyInfoAccessInfo.php +++ b/lib/Model/CompanyInfoAccessInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyInfoPlanInfo.php b/lib/Model/CompanyInfoPlanInfo.php index e38004cc..ecb290c7 100644 --- a/lib/Model/CompanyInfoPlanInfo.php +++ b/lib/Model/CompanyInfoPlanInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyInfoPlanInfoFunctions.php b/lib/Model/CompanyInfoPlanInfoFunctions.php index b5aef453..9bcfc171 100644 --- a/lib/Model/CompanyInfoPlanInfoFunctions.php +++ b/lib/Model/CompanyInfoPlanInfoFunctions.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php b/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php index f3cf91a0..062d825e 100644 --- a/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php +++ b/lib/Model/CompanyInfoPlanInfoFunctionsStatus.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyInfoPlanInfoLimits.php b/lib/Model/CompanyInfoPlanInfoLimits.php index 72c465b5..acf5baa2 100644 --- a/lib/Model/CompanyInfoPlanInfoLimits.php +++ b/lib/Model/CompanyInfoPlanInfoLimits.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CompanyType.php b/lib/Model/CompanyType.php index 1d7f464f..967d1b26 100644 --- a/lib/Model/CompanyType.php +++ b/lib/Model/CompanyType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ControlledCompany.php b/lib/Model/ControlledCompany.php new file mode 100644 index 00000000..ccd45070 --- /dev/null +++ b/lib/Model/ControlledCompany.php @@ -0,0 +1,472 @@ + + * @template TKey int|null + * @template TValue mixed|null + */ +class ControlledCompany implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'ControlledCompany'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'id' => 'int', + 'name' => 'string', + 'type' => '\FattureInCloud\Model\CompanyType', + 'access_token' => 'string', + 'connection_id' => 'float', + 'tax_code' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'id' => null, + 'name' => null, + 'type' => null, + 'access_token' => null, + 'connection_id' => null, + 'tax_code' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'id' => 'id', + 'name' => 'name', + 'type' => 'type', + 'access_token' => 'access_token', + 'connection_id' => 'connection_id', + 'tax_code' => 'tax_code' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'id' => 'setId', + 'name' => 'setName', + 'type' => 'setType', + 'access_token' => 'setAccessToken', + 'connection_id' => 'setConnectionId', + 'tax_code' => 'setTaxCode' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'id' => 'getId', + 'name' => 'getName', + 'type' => 'getType', + 'access_token' => 'getAccessToken', + 'connection_id' => 'getConnectionId', + 'tax_code' => 'getTaxCode' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['id'] = $data['id'] ?? null; + $this->container['name'] = $data['name'] ?? null; + $this->container['type'] = $data['type'] ?? null; + $this->container['access_token'] = $data['access_token'] ?? null; + $this->container['connection_id'] = $data['connection_id'] ?? null; + $this->container['tax_code'] = $data['tax_code'] ?? null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets id + * + * @return int|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param int|null $id Company unique identifier. + * + * @return self + */ + public function setId($id) + { + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets name + * + * @return string|null + */ + public function getName() + { + return $this->container['name']; + } + + /** + * Sets name + * + * @param string|null $name Company name. + * + * @return self + */ + public function setName($name) + { + $this->container['name'] = $name; + + return $this; + } + + /** + * Gets type + * + * @return \FattureInCloud\Model\CompanyType|null + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param \FattureInCloud\Model\CompanyType|null $type type + * + * @return self + */ + public function setType($type) + { + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets access_token + * + * @return string|null + */ + public function getAccessToken() + { + return $this->container['access_token']; + } + + /** + * Sets access_token + * + * @param string|null $access_token CompanyAuthentication token for this company. [Only if type=company] + * + * @return self + */ + public function setAccessToken($access_token) + { + $this->container['access_token'] = $access_token; + + return $this; + } + + /** + * Gets connection_id + * + * @return float|null + */ + public function getConnectionId() + { + return $this->container['connection_id']; + } + + /** + * Sets connection_id + * + * @param float|null $connection_id Company connection id. + * + * @return self + */ + public function setConnectionId($connection_id) + { + $this->container['connection_id'] = $connection_id; + + return $this; + } + + /** + * Gets tax_code + * + * @return string|null + */ + public function getTaxCode() + { + return $this->container['tax_code']; + } + + /** + * Sets tax_code + * + * @param string|null $tax_code Tax code. + * + * @return self + */ + public function setTaxCode($tax_code) + { + $this->container['tax_code'] = $tax_code; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://fattureincloud.it + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/lib/Model/CreateArchiveDocumentRequest.php b/lib/Model/CreateArchiveDocumentRequest.php index e86ae6ed..9f96f35c 100644 --- a/lib/Model/CreateArchiveDocumentRequest.php +++ b/lib/Model/CreateArchiveDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateArchiveDocumentResponse.php b/lib/Model/CreateArchiveDocumentResponse.php index ccd22d78..804d1bfe 100644 --- a/lib/Model/CreateArchiveDocumentResponse.php +++ b/lib/Model/CreateArchiveDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateCashbookEntryRequest.php b/lib/Model/CreateCashbookEntryRequest.php index cb0279ea..cbbeef90 100644 --- a/lib/Model/CreateCashbookEntryRequest.php +++ b/lib/Model/CreateCashbookEntryRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateCashbookEntryResponse.php b/lib/Model/CreateCashbookEntryResponse.php index 9b59abc9..f50c1b3b 100644 --- a/lib/Model/CreateCashbookEntryResponse.php +++ b/lib/Model/CreateCashbookEntryResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateClientRequest.php b/lib/Model/CreateClientRequest.php index d1242978..58e980ee 100644 --- a/lib/Model/CreateClientRequest.php +++ b/lib/Model/CreateClientRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateClientResponse.php b/lib/Model/CreateClientResponse.php index 4d567e82..2c96b7fd 100644 --- a/lib/Model/CreateClientResponse.php +++ b/lib/Model/CreateClientResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateF24Request.php b/lib/Model/CreateF24Request.php index ecc10f18..0eaa7ee0 100644 --- a/lib/Model/CreateF24Request.php +++ b/lib/Model/CreateF24Request.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateF24Response.php b/lib/Model/CreateF24Response.php index bc186721..58db4e72 100644 --- a/lib/Model/CreateF24Response.php +++ b/lib/Model/CreateF24Response.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateIssuedDocumentRequest.php b/lib/Model/CreateIssuedDocumentRequest.php index 10d50491..3bb17902 100644 --- a/lib/Model/CreateIssuedDocumentRequest.php +++ b/lib/Model/CreateIssuedDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateIssuedDocumentResponse.php b/lib/Model/CreateIssuedDocumentResponse.php index 35244e7d..c7adc2bb 100644 --- a/lib/Model/CreateIssuedDocumentResponse.php +++ b/lib/Model/CreateIssuedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreatePaymentAccountRequest.php b/lib/Model/CreatePaymentAccountRequest.php index 659f9b65..7c08fd2f 100644 --- a/lib/Model/CreatePaymentAccountRequest.php +++ b/lib/Model/CreatePaymentAccountRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreatePaymentAccountResponse.php b/lib/Model/CreatePaymentAccountResponse.php index 4cd41bcc..3c50c3f6 100644 --- a/lib/Model/CreatePaymentAccountResponse.php +++ b/lib/Model/CreatePaymentAccountResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreatePaymentMethodRequest.php b/lib/Model/CreatePaymentMethodRequest.php index 231f1b2f..fbcc78a9 100644 --- a/lib/Model/CreatePaymentMethodRequest.php +++ b/lib/Model/CreatePaymentMethodRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreatePaymentMethodResponse.php b/lib/Model/CreatePaymentMethodResponse.php index c66734cb..0c591b95 100644 --- a/lib/Model/CreatePaymentMethodResponse.php +++ b/lib/Model/CreatePaymentMethodResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateProductRequest.php b/lib/Model/CreateProductRequest.php index 3d211e96..ce425218 100644 --- a/lib/Model/CreateProductRequest.php +++ b/lib/Model/CreateProductRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateProductResponse.php b/lib/Model/CreateProductResponse.php index e21cf2c9..74a52cf0 100644 --- a/lib/Model/CreateProductResponse.php +++ b/lib/Model/CreateProductResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateReceiptRequest.php b/lib/Model/CreateReceiptRequest.php index 7f5c1e7c..3539517f 100644 --- a/lib/Model/CreateReceiptRequest.php +++ b/lib/Model/CreateReceiptRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateReceiptResponse.php b/lib/Model/CreateReceiptResponse.php index 99dee5ef..f886ce91 100644 --- a/lib/Model/CreateReceiptResponse.php +++ b/lib/Model/CreateReceiptResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateReceivedDocumentRequest.php b/lib/Model/CreateReceivedDocumentRequest.php index d57b5f69..55bcf655 100644 --- a/lib/Model/CreateReceivedDocumentRequest.php +++ b/lib/Model/CreateReceivedDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateReceivedDocumentResponse.php b/lib/Model/CreateReceivedDocumentResponse.php index e04d143b..089f21d2 100644 --- a/lib/Model/CreateReceivedDocumentResponse.php +++ b/lib/Model/CreateReceivedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateSupplierRequest.php b/lib/Model/CreateSupplierRequest.php index ba15a65e..01ba265d 100644 --- a/lib/Model/CreateSupplierRequest.php +++ b/lib/Model/CreateSupplierRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateSupplierResponse.php b/lib/Model/CreateSupplierResponse.php index 98eee383..62dd6e04 100644 --- a/lib/Model/CreateSupplierResponse.php +++ b/lib/Model/CreateSupplierResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateVatTypeRequest.php b/lib/Model/CreateVatTypeRequest.php index 0b59c5f3..820c31ca 100644 --- a/lib/Model/CreateVatTypeRequest.php +++ b/lib/Model/CreateVatTypeRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/CreateVatTypeResponse.php b/lib/Model/CreateVatTypeResponse.php index 5ff1091a..dfe7512e 100644 --- a/lib/Model/CreateVatTypeResponse.php +++ b/lib/Model/CreateVatTypeResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Currency.php b/lib/Model/Currency.php index 43c91601..14e6e44b 100644 --- a/lib/Model/Currency.php +++ b/lib/Model/Currency.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/DefaultPaymentTermsType.php b/lib/Model/DefaultPaymentTermsType.php index 29e611b1..d4d560fc 100644 --- a/lib/Model/DefaultPaymentTermsType.php +++ b/lib/Model/DefaultPaymentTermsType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/DocumentTemplate.php b/lib/Model/DocumentTemplate.php index 26e437d3..bbd2fe00 100644 --- a/lib/Model/DocumentTemplate.php +++ b/lib/Model/DocumentTemplate.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/EmailData.php b/lib/Model/EmailData.php index 97b02ff2..71e0c9ab 100644 --- a/lib/Model/EmailData.php +++ b/lib/Model/EmailData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/EmailDataDefaultSenderEmail.php b/lib/Model/EmailDataDefaultSenderEmail.php index 4bf921b9..ce8ef7a1 100644 --- a/lib/Model/EmailDataDefaultSenderEmail.php +++ b/lib/Model/EmailDataDefaultSenderEmail.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/EmailDataSenderEmailsList.php b/lib/Model/EmailDataSenderEmailsList.php index 27d24e26..eb79ad5b 100644 --- a/lib/Model/EmailDataSenderEmailsList.php +++ b/lib/Model/EmailDataSenderEmailsList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/EmailSchedule.php b/lib/Model/EmailSchedule.php index ef35ea05..c8e3a893 100644 --- a/lib/Model/EmailSchedule.php +++ b/lib/Model/EmailSchedule.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -60,7 +60,7 @@ class EmailSchedule implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'sender_id' => 'float', + 'sender_id' => 'int', 'sender_email' => 'string', 'recipient_email' => 'string', 'subject' => 'string', @@ -269,7 +269,7 @@ public function valid() /** * Gets sender_id * - * @return float|null + * @return int|null */ public function getSenderId() { @@ -279,7 +279,7 @@ public function getSenderId() /** * Sets sender_id * - * @param float|null $sender_id Sender id. Required if `sender_email` is not specified + * @param int|null $sender_id Sender id. Required if `sender_email` is not specified * * @return self */ diff --git a/lib/Model/EmailScheduleInclude.php b/lib/Model/EmailScheduleInclude.php index 46322f6a..39ec0719 100644 --- a/lib/Model/EmailScheduleInclude.php +++ b/lib/Model/EmailScheduleInclude.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Entity.php b/lib/Model/Entity.php index 0f559d09..3d7eef48 100644 --- a/lib/Model/Entity.php +++ b/lib/Model/Entity.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/F24.php b/lib/Model/F24.php index b1c2f00d..67a44459 100644 --- a/lib/Model/F24.php +++ b/lib/Model/F24.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/F24Status.php b/lib/Model/F24Status.php index d1af2ad4..84e0ecc8 100644 --- a/lib/Model/F24Status.php +++ b/lib/Model/F24Status.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/FunctionStatus.php b/lib/Model/FunctionStatus.php index dcca1baf..2d47a92a 100644 --- a/lib/Model/FunctionStatus.php +++ b/lib/Model/FunctionStatus.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetArchiveDocumentResponse.php b/lib/Model/GetArchiveDocumentResponse.php index 13e355ef..79d8f129 100644 --- a/lib/Model/GetArchiveDocumentResponse.php +++ b/lib/Model/GetArchiveDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetCashbookEntryResponse.php b/lib/Model/GetCashbookEntryResponse.php index 92802e01..bba35374 100644 --- a/lib/Model/GetCashbookEntryResponse.php +++ b/lib/Model/GetCashbookEntryResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetClientResponse.php b/lib/Model/GetClientResponse.php index 8a887f4a..d140c6be 100644 --- a/lib/Model/GetClientResponse.php +++ b/lib/Model/GetClientResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetCompanyInfoResponse.php b/lib/Model/GetCompanyInfoResponse.php index 324e75c8..4e1980ba 100644 --- a/lib/Model/GetCompanyInfoResponse.php +++ b/lib/Model/GetCompanyInfoResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetEmailDataResponse.php b/lib/Model/GetEmailDataResponse.php index 2084ad42..eb34eab2 100644 --- a/lib/Model/GetEmailDataResponse.php +++ b/lib/Model/GetEmailDataResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetExistingIssuedDocumentTotalsRequest.php b/lib/Model/GetExistingIssuedDocumentTotalsRequest.php index 62387152..6c4bfb25 100644 --- a/lib/Model/GetExistingIssuedDocumentTotalsRequest.php +++ b/lib/Model/GetExistingIssuedDocumentTotalsRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetExistingIssuedDocumentTotalsResponse.php b/lib/Model/GetExistingIssuedDocumentTotalsResponse.php index 602e750d..0bfe7149 100644 --- a/lib/Model/GetExistingIssuedDocumentTotalsResponse.php +++ b/lib/Model/GetExistingIssuedDocumentTotalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetExistingReceivedDocumentTotalsRequest.php b/lib/Model/GetExistingReceivedDocumentTotalsRequest.php index 5bbd4e7d..05309722 100644 --- a/lib/Model/GetExistingReceivedDocumentTotalsRequest.php +++ b/lib/Model/GetExistingReceivedDocumentTotalsRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetExistingReceivedDocumentTotalsResponse.php b/lib/Model/GetExistingReceivedDocumentTotalsResponse.php index 239cd1ef..116606ff 100644 --- a/lib/Model/GetExistingReceivedDocumentTotalsResponse.php +++ b/lib/Model/GetExistingReceivedDocumentTotalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetF24Response.php b/lib/Model/GetF24Response.php index 077404b5..9627583f 100644 --- a/lib/Model/GetF24Response.php +++ b/lib/Model/GetF24Response.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php b/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php index 8ac62f32..baef91bb 100644 --- a/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php +++ b/lib/Model/GetIssuedDocumentPreCreateInfoResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetIssuedDocumentResponse.php b/lib/Model/GetIssuedDocumentResponse.php index 147aa618..3ae991e4 100644 --- a/lib/Model/GetIssuedDocumentResponse.php +++ b/lib/Model/GetIssuedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetNewIssuedDocumentTotalsRequest.php b/lib/Model/GetNewIssuedDocumentTotalsRequest.php index 0245f9fd..4919911e 100644 --- a/lib/Model/GetNewIssuedDocumentTotalsRequest.php +++ b/lib/Model/GetNewIssuedDocumentTotalsRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetNewIssuedDocumentTotalsResponse.php b/lib/Model/GetNewIssuedDocumentTotalsResponse.php index f805cfb1..27d4ac8a 100644 --- a/lib/Model/GetNewIssuedDocumentTotalsResponse.php +++ b/lib/Model/GetNewIssuedDocumentTotalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetNewReceivedDocumentTotalsRequest.php b/lib/Model/GetNewReceivedDocumentTotalsRequest.php index 4c9f767f..19974a72 100644 --- a/lib/Model/GetNewReceivedDocumentTotalsRequest.php +++ b/lib/Model/GetNewReceivedDocumentTotalsRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetNewReceivedDocumentTotalsResponse.php b/lib/Model/GetNewReceivedDocumentTotalsResponse.php index 3a66f2c8..bf306ddc 100644 --- a/lib/Model/GetNewReceivedDocumentTotalsResponse.php +++ b/lib/Model/GetNewReceivedDocumentTotalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetPaymentAccountResponse.php b/lib/Model/GetPaymentAccountResponse.php index f6dea603..150b93d8 100644 --- a/lib/Model/GetPaymentAccountResponse.php +++ b/lib/Model/GetPaymentAccountResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetPaymentMethodResponse.php b/lib/Model/GetPaymentMethodResponse.php index 101e31d3..ee4673ab 100644 --- a/lib/Model/GetPaymentMethodResponse.php +++ b/lib/Model/GetPaymentMethodResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetProductResponse.php b/lib/Model/GetProductResponse.php index d26f0b46..c28b4025 100644 --- a/lib/Model/GetProductResponse.php +++ b/lib/Model/GetProductResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetReceiptPreCreateInfoResponse.php b/lib/Model/GetReceiptPreCreateInfoResponse.php index e266af57..5badb1a2 100644 --- a/lib/Model/GetReceiptPreCreateInfoResponse.php +++ b/lib/Model/GetReceiptPreCreateInfoResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetReceiptResponse.php b/lib/Model/GetReceiptResponse.php index 41e5b330..9ac14eb1 100644 --- a/lib/Model/GetReceiptResponse.php +++ b/lib/Model/GetReceiptResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetReceiptsMonthlyTotalsResponse.php b/lib/Model/GetReceiptsMonthlyTotalsResponse.php index 6a770f2f..ae22048d 100644 --- a/lib/Model/GetReceiptsMonthlyTotalsResponse.php +++ b/lib/Model/GetReceiptsMonthlyTotalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php b/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php index 1b224103..972758c2 100644 --- a/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php +++ b/lib/Model/GetReceivedDocumentPreCreateInfoResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetReceivedDocumentResponse.php b/lib/Model/GetReceivedDocumentResponse.php index 0fc9dd05..18b8b6b7 100644 --- a/lib/Model/GetReceivedDocumentResponse.php +++ b/lib/Model/GetReceivedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetSupplierResponse.php b/lib/Model/GetSupplierResponse.php index 4cebd06a..4bc661e9 100644 --- a/lib/Model/GetSupplierResponse.php +++ b/lib/Model/GetSupplierResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetUserInfoResponse.php b/lib/Model/GetUserInfoResponse.php index d44e61bd..183f1426 100644 --- a/lib/Model/GetUserInfoResponse.php +++ b/lib/Model/GetUserInfoResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetUserInfoResponseEmailConfirmationState.php b/lib/Model/GetUserInfoResponseEmailConfirmationState.php index 78f4d8d0..873794a2 100644 --- a/lib/Model/GetUserInfoResponseEmailConfirmationState.php +++ b/lib/Model/GetUserInfoResponseEmailConfirmationState.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetUserInfoResponseInfo.php b/lib/Model/GetUserInfoResponseInfo.php index 2155d387..b5613935 100644 --- a/lib/Model/GetUserInfoResponseInfo.php +++ b/lib/Model/GetUserInfoResponseInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/GetVatTypeResponse.php b/lib/Model/GetVatTypeResponse.php index 2895341b..8ef6939b 100644 --- a/lib/Model/GetVatTypeResponse.php +++ b/lib/Model/GetVatTypeResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocument.php b/lib/Model/IssuedDocument.php index 3decf429..64a2cb5c 100644 --- a/lib/Model/IssuedDocument.php +++ b/lib/Model/IssuedDocument.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -36,6 +36,7 @@ * IssuedDocument Class Doc Comment * * @category Class + * @description * @package FattureInCloud * @author Fatture In Cloud API team * @link https://fattureincloud.it @@ -66,6 +67,7 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'number' => 'int', 'numeration' => 'string', 'date' => '\DateTime', + 'year' => 'int', 'currency' => '\FattureInCloud\Model\Currency', 'language' => '\FattureInCloud\Model\Language', 'subject' => 'string', @@ -74,6 +76,15 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'notes' => 'string', 'rivalsa' => 'float', 'cassa' => 'float', + 'amount_cassa' => 'float', + 'cassa_taxable' => 'float', + 'amount_cassa_taxable' => 'float', + 'cassa2' => 'float', + 'amount_cassa2' => 'float', + 'cassa2_taxable' => 'float', + 'amount_cassa2_taxable' => 'float', + 'global_cassa_taxable' => 'float', + 'amount_global_cassa_taxable' => 'float', 'withholding_tax' => 'float', 'withholding_tax_taxable' => 'float', 'other_withholding_tax' => 'float', @@ -83,18 +94,24 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'use_gross_prices' => 'bool', 'e_invoice' => 'bool', 'ei_data' => '\FattureInCloud\Model\IssuedDocumentEiData', + 'ei_cassa_type' => 'string', + 'ei_cassa2_type' => 'string', + 'ei_withholding_tax_causal' => 'string', + 'ei_other_withholding_tax_type' => 'string', + 'ei_other_withholding_tax_causal' => 'string', 'items_list' => '\FattureInCloud\Model\IssuedDocumentItemsList[]', 'payments_list' => '\FattureInCloud\Model\IssuedDocumentPaymentsList[]', 'template' => '\FattureInCloud\Model\DocumentTemplate', 'delivery_note_template' => '\FattureInCloud\Model\DocumentTemplate', 'acc_inv_template' => '\FattureInCloud\Model\DocumentTemplate', 'h_margins' => 'int', + 'v_margins' => 'int', 'show_payments' => 'bool', 'show_payment_method' => 'bool', 'show_totals' => '\FattureInCloud\Model\ShowTotalsMode', - 'v_margins' => 'int', 'show_paypal_button' => 'bool', 'show_notification_button' => 'bool', + 'show_tspay_button' => 'bool', 'delivery_note' => 'bool', 'accompanying_invoice' => 'bool', 'dn_number' => 'int', @@ -110,33 +127,21 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'amount_net' => 'float', 'amount_vat' => 'float', 'amount_gross' => 'float', + 'amount_due_discount' => 'float', 'amount_rivalsa' => 'float', - 'amount_cassa' => 'float', + 'amount_rivalsa_taxable' => 'float', 'amount_withholding_tax' => 'float', + 'amount_withholding_tax_taxable' => 'float', 'amount_other_withholding_tax' => 'float', + 'amount_other_withholding_tax_taxable' => 'float', + 'amount_enasarco_taxable' => 'float', 'extra_data' => '\FattureInCloud\Model\IssuedDocumentExtraData', 'seen_date' => '\DateTime', 'next_due_date' => '\DateTime', 'url' => 'string', 'attachment_url' => 'string', 'attachment_token' => 'string', - 'ei_raw' => 'object', - 'show_tspay_button' => 'bool', - 'year' => 'int', - 'amount_rivalsa_taxable' => 'float', - 'amount_global_cassa_taxable' => 'float', - 'amount_cassa_taxable' => 'float', - 'amount_cassa2' => 'float', - 'amount_cassa2_taxable' => 'float', - 'amount_withholding_tax_taxable' => 'float', - 'amount_enasarco_taxable' => 'float', - 'amount_other_withholding_tax_taxable' => 'float', - 'ei_cassa_type' => 'string', - 'ei_cassa2_type' => 'string', - 'ei_withholding_tax_causal' => 'string', - 'ei_other_withholding_tax_type' => 'string', - 'ei_other_withholding_tax_causal' => 'string', - 'amount_due_discount' => 'float' + 'ei_raw' => 'object' ]; /** @@ -153,6 +158,7 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'number' => null, 'numeration' => null, 'date' => 'date', + 'year' => null, 'currency' => null, 'language' => null, 'subject' => null, @@ -161,6 +167,15 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'notes' => null, 'rivalsa' => null, 'cassa' => null, + 'amount_cassa' => null, + 'cassa_taxable' => null, + 'amount_cassa_taxable' => null, + 'cassa2' => null, + 'amount_cassa2' => null, + 'cassa2_taxable' => null, + 'amount_cassa2_taxable' => null, + 'global_cassa_taxable' => null, + 'amount_global_cassa_taxable' => null, 'withholding_tax' => null, 'withholding_tax_taxable' => null, 'other_withholding_tax' => null, @@ -170,18 +185,24 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'use_gross_prices' => null, 'e_invoice' => null, 'ei_data' => null, + 'ei_cassa_type' => null, + 'ei_cassa2_type' => null, + 'ei_withholding_tax_causal' => null, + 'ei_other_withholding_tax_type' => null, + 'ei_other_withholding_tax_causal' => null, 'items_list' => null, 'payments_list' => null, 'template' => null, 'delivery_note_template' => null, 'acc_inv_template' => null, 'h_margins' => null, + 'v_margins' => null, 'show_payments' => null, 'show_payment_method' => null, 'show_totals' => null, - 'v_margins' => null, 'show_paypal_button' => null, 'show_notification_button' => null, + 'show_tspay_button' => null, 'delivery_note' => null, 'accompanying_invoice' => null, 'dn_number' => null, @@ -197,33 +218,21 @@ class IssuedDocument implements ModelInterface, ArrayAccess, \JsonSerializable 'amount_net' => null, 'amount_vat' => null, 'amount_gross' => null, + 'amount_due_discount' => null, 'amount_rivalsa' => null, - 'amount_cassa' => null, + 'amount_rivalsa_taxable' => null, 'amount_withholding_tax' => null, + 'amount_withholding_tax_taxable' => null, 'amount_other_withholding_tax' => null, + 'amount_other_withholding_tax_taxable' => null, + 'amount_enasarco_taxable' => null, 'extra_data' => null, 'seen_date' => 'date', 'next_due_date' => 'date', 'url' => null, 'attachment_url' => null, 'attachment_token' => null, - 'ei_raw' => null, - 'show_tspay_button' => null, - 'year' => null, - 'amount_rivalsa_taxable' => null, - 'amount_global_cassa_taxable' => null, - 'amount_cassa_taxable' => null, - 'amount_cassa2' => null, - 'amount_cassa2_taxable' => null, - 'amount_withholding_tax_taxable' => null, - 'amount_enasarco_taxable' => null, - 'amount_other_withholding_tax_taxable' => null, - 'ei_cassa_type' => null, - 'ei_cassa2_type' => null, - 'ei_withholding_tax_causal' => null, - 'ei_other_withholding_tax_type' => null, - 'ei_other_withholding_tax_causal' => null, - 'amount_due_discount' => null + 'ei_raw' => null ]; /** @@ -259,6 +268,7 @@ public static function openAPIFormats() 'number' => 'number', 'numeration' => 'numeration', 'date' => 'date', + 'year' => 'year', 'currency' => 'currency', 'language' => 'language', 'subject' => 'subject', @@ -267,6 +277,15 @@ public static function openAPIFormats() 'notes' => 'notes', 'rivalsa' => 'rivalsa', 'cassa' => 'cassa', + 'amount_cassa' => 'amount_cassa', + 'cassa_taxable' => 'cassa_taxable', + 'amount_cassa_taxable' => 'amount_cassa_taxable', + 'cassa2' => 'cassa2', + 'amount_cassa2' => 'amount_cassa2', + 'cassa2_taxable' => 'cassa2_taxable', + 'amount_cassa2_taxable' => 'amount_cassa2_taxable', + 'global_cassa_taxable' => 'global_cassa_taxable', + 'amount_global_cassa_taxable' => 'amount_global_cassa_taxable', 'withholding_tax' => 'withholding_tax', 'withholding_tax_taxable' => 'withholding_tax_taxable', 'other_withholding_tax' => 'other_withholding_tax', @@ -276,18 +295,24 @@ public static function openAPIFormats() 'use_gross_prices' => 'use_gross_prices', 'e_invoice' => 'e_invoice', 'ei_data' => 'ei_data', + 'ei_cassa_type' => 'ei_cassa_type', + 'ei_cassa2_type' => 'ei_cassa2_type', + 'ei_withholding_tax_causal' => 'ei_withholding_tax_causal', + 'ei_other_withholding_tax_type' => 'ei_other_withholding_tax_type', + 'ei_other_withholding_tax_causal' => 'ei_other_withholding_tax_causal', 'items_list' => 'items_list', 'payments_list' => 'payments_list', 'template' => 'template', 'delivery_note_template' => 'delivery_note_template', 'acc_inv_template' => 'acc_inv_template', 'h_margins' => 'h_margins', + 'v_margins' => 'v_margins', 'show_payments' => 'show_payments', 'show_payment_method' => 'show_payment_method', 'show_totals' => 'show_totals', - 'v_margins' => 'v_margins', 'show_paypal_button' => 'show_paypal_button', 'show_notification_button' => 'show_notification_button', + 'show_tspay_button' => 'show_tspay_button', 'delivery_note' => 'delivery_note', 'accompanying_invoice' => 'accompanying_invoice', 'dn_number' => 'dn_number', @@ -303,33 +328,21 @@ public static function openAPIFormats() 'amount_net' => 'amount_net', 'amount_vat' => 'amount_vat', 'amount_gross' => 'amount_gross', + 'amount_due_discount' => 'amount_due_discount', 'amount_rivalsa' => 'amount_rivalsa', - 'amount_cassa' => 'amount_cassa', + 'amount_rivalsa_taxable' => 'amount_rivalsa_taxable', 'amount_withholding_tax' => 'amount_withholding_tax', + 'amount_withholding_tax_taxable' => 'amount_withholding_tax_taxable', 'amount_other_withholding_tax' => 'amount_other_withholding_tax', + 'amount_other_withholding_tax_taxable' => 'amount_other_withholding_tax_taxable', + 'amount_enasarco_taxable' => 'amount_enasarco_taxable', 'extra_data' => 'extra_data', 'seen_date' => 'seen_date', 'next_due_date' => 'next_due_date', 'url' => 'url', 'attachment_url' => 'attachment_url', 'attachment_token' => 'attachment_token', - 'ei_raw' => 'ei_raw', - 'show_tspay_button' => 'show_tspay_button', - 'year' => 'year', - 'amount_rivalsa_taxable' => 'amount_rivalsa_taxable', - 'amount_global_cassa_taxable' => 'amount_global_cassa_taxable', - 'amount_cassa_taxable' => 'amount_cassa_taxable', - 'amount_cassa2' => 'amount_cassa2', - 'amount_cassa2_taxable' => 'amount_cassa2_taxable', - 'amount_withholding_tax_taxable' => 'amount_withholding_tax_taxable', - 'amount_enasarco_taxable' => 'amount_enasarco_taxable', - 'amount_other_withholding_tax_taxable' => 'amount_other_withholding_tax_taxable', - 'ei_cassa_type' => 'ei_cassa_type', - 'ei_cassa2_type' => 'ei_cassa2_type', - 'ei_withholding_tax_causal' => 'ei_withholding_tax_causal', - 'ei_other_withholding_tax_type' => 'ei_other_withholding_tax_type', - 'ei_other_withholding_tax_causal' => 'ei_other_withholding_tax_causal', - 'amount_due_discount' => 'amount_due_discount' + 'ei_raw' => 'ei_raw' ]; /** @@ -344,6 +357,7 @@ public static function openAPIFormats() 'number' => 'setNumber', 'numeration' => 'setNumeration', 'date' => 'setDate', + 'year' => 'setYear', 'currency' => 'setCurrency', 'language' => 'setLanguage', 'subject' => 'setSubject', @@ -352,6 +366,15 @@ public static function openAPIFormats() 'notes' => 'setNotes', 'rivalsa' => 'setRivalsa', 'cassa' => 'setCassa', + 'amount_cassa' => 'setAmountCassa', + 'cassa_taxable' => 'setCassaTaxable', + 'amount_cassa_taxable' => 'setAmountCassaTaxable', + 'cassa2' => 'setCassa2', + 'amount_cassa2' => 'setAmountCassa2', + 'cassa2_taxable' => 'setCassa2Taxable', + 'amount_cassa2_taxable' => 'setAmountCassa2Taxable', + 'global_cassa_taxable' => 'setGlobalCassaTaxable', + 'amount_global_cassa_taxable' => 'setAmountGlobalCassaTaxable', 'withholding_tax' => 'setWithholdingTax', 'withholding_tax_taxable' => 'setWithholdingTaxTaxable', 'other_withholding_tax' => 'setOtherWithholdingTax', @@ -361,18 +384,24 @@ public static function openAPIFormats() 'use_gross_prices' => 'setUseGrossPrices', 'e_invoice' => 'setEInvoice', 'ei_data' => 'setEiData', + 'ei_cassa_type' => 'setEiCassaType', + 'ei_cassa2_type' => 'setEiCassa2Type', + 'ei_withholding_tax_causal' => 'setEiWithholdingTaxCausal', + 'ei_other_withholding_tax_type' => 'setEiOtherWithholdingTaxType', + 'ei_other_withholding_tax_causal' => 'setEiOtherWithholdingTaxCausal', 'items_list' => 'setItemsList', 'payments_list' => 'setPaymentsList', 'template' => 'setTemplate', 'delivery_note_template' => 'setDeliveryNoteTemplate', 'acc_inv_template' => 'setAccInvTemplate', 'h_margins' => 'setHMargins', + 'v_margins' => 'setVMargins', 'show_payments' => 'setShowPayments', 'show_payment_method' => 'setShowPaymentMethod', 'show_totals' => 'setShowTotals', - 'v_margins' => 'setVMargins', 'show_paypal_button' => 'setShowPaypalButton', 'show_notification_button' => 'setShowNotificationButton', + 'show_tspay_button' => 'setShowTspayButton', 'delivery_note' => 'setDeliveryNote', 'accompanying_invoice' => 'setAccompanyingInvoice', 'dn_number' => 'setDnNumber', @@ -388,33 +417,21 @@ public static function openAPIFormats() 'amount_net' => 'setAmountNet', 'amount_vat' => 'setAmountVat', 'amount_gross' => 'setAmountGross', + 'amount_due_discount' => 'setAmountDueDiscount', 'amount_rivalsa' => 'setAmountRivalsa', - 'amount_cassa' => 'setAmountCassa', + 'amount_rivalsa_taxable' => 'setAmountRivalsaTaxable', 'amount_withholding_tax' => 'setAmountWithholdingTax', + 'amount_withholding_tax_taxable' => 'setAmountWithholdingTaxTaxable', 'amount_other_withholding_tax' => 'setAmountOtherWithholdingTax', + 'amount_other_withholding_tax_taxable' => 'setAmountOtherWithholdingTaxTaxable', + 'amount_enasarco_taxable' => 'setAmountEnasarcoTaxable', 'extra_data' => 'setExtraData', 'seen_date' => 'setSeenDate', 'next_due_date' => 'setNextDueDate', 'url' => 'setUrl', 'attachment_url' => 'setAttachmentUrl', 'attachment_token' => 'setAttachmentToken', - 'ei_raw' => 'setEiRaw', - 'show_tspay_button' => 'setShowTspayButton', - 'year' => 'setYear', - 'amount_rivalsa_taxable' => 'setAmountRivalsaTaxable', - 'amount_global_cassa_taxable' => 'setAmountGlobalCassaTaxable', - 'amount_cassa_taxable' => 'setAmountCassaTaxable', - 'amount_cassa2' => 'setAmountCassa2', - 'amount_cassa2_taxable' => 'setAmountCassa2Taxable', - 'amount_withholding_tax_taxable' => 'setAmountWithholdingTaxTaxable', - 'amount_enasarco_taxable' => 'setAmountEnasarcoTaxable', - 'amount_other_withholding_tax_taxable' => 'setAmountOtherWithholdingTaxTaxable', - 'ei_cassa_type' => 'setEiCassaType', - 'ei_cassa2_type' => 'setEiCassa2Type', - 'ei_withholding_tax_causal' => 'setEiWithholdingTaxCausal', - 'ei_other_withholding_tax_type' => 'setEiOtherWithholdingTaxType', - 'ei_other_withholding_tax_causal' => 'setEiOtherWithholdingTaxCausal', - 'amount_due_discount' => 'setAmountDueDiscount' + 'ei_raw' => 'setEiRaw' ]; /** @@ -429,6 +446,7 @@ public static function openAPIFormats() 'number' => 'getNumber', 'numeration' => 'getNumeration', 'date' => 'getDate', + 'year' => 'getYear', 'currency' => 'getCurrency', 'language' => 'getLanguage', 'subject' => 'getSubject', @@ -437,6 +455,15 @@ public static function openAPIFormats() 'notes' => 'getNotes', 'rivalsa' => 'getRivalsa', 'cassa' => 'getCassa', + 'amount_cassa' => 'getAmountCassa', + 'cassa_taxable' => 'getCassaTaxable', + 'amount_cassa_taxable' => 'getAmountCassaTaxable', + 'cassa2' => 'getCassa2', + 'amount_cassa2' => 'getAmountCassa2', + 'cassa2_taxable' => 'getCassa2Taxable', + 'amount_cassa2_taxable' => 'getAmountCassa2Taxable', + 'global_cassa_taxable' => 'getGlobalCassaTaxable', + 'amount_global_cassa_taxable' => 'getAmountGlobalCassaTaxable', 'withholding_tax' => 'getWithholdingTax', 'withholding_tax_taxable' => 'getWithholdingTaxTaxable', 'other_withholding_tax' => 'getOtherWithholdingTax', @@ -446,18 +473,24 @@ public static function openAPIFormats() 'use_gross_prices' => 'getUseGrossPrices', 'e_invoice' => 'getEInvoice', 'ei_data' => 'getEiData', + 'ei_cassa_type' => 'getEiCassaType', + 'ei_cassa2_type' => 'getEiCassa2Type', + 'ei_withholding_tax_causal' => 'getEiWithholdingTaxCausal', + 'ei_other_withholding_tax_type' => 'getEiOtherWithholdingTaxType', + 'ei_other_withholding_tax_causal' => 'getEiOtherWithholdingTaxCausal', 'items_list' => 'getItemsList', 'payments_list' => 'getPaymentsList', 'template' => 'getTemplate', 'delivery_note_template' => 'getDeliveryNoteTemplate', 'acc_inv_template' => 'getAccInvTemplate', 'h_margins' => 'getHMargins', + 'v_margins' => 'getVMargins', 'show_payments' => 'getShowPayments', 'show_payment_method' => 'getShowPaymentMethod', 'show_totals' => 'getShowTotals', - 'v_margins' => 'getVMargins', 'show_paypal_button' => 'getShowPaypalButton', 'show_notification_button' => 'getShowNotificationButton', + 'show_tspay_button' => 'getShowTspayButton', 'delivery_note' => 'getDeliveryNote', 'accompanying_invoice' => 'getAccompanyingInvoice', 'dn_number' => 'getDnNumber', @@ -473,33 +506,21 @@ public static function openAPIFormats() 'amount_net' => 'getAmountNet', 'amount_vat' => 'getAmountVat', 'amount_gross' => 'getAmountGross', + 'amount_due_discount' => 'getAmountDueDiscount', 'amount_rivalsa' => 'getAmountRivalsa', - 'amount_cassa' => 'getAmountCassa', + 'amount_rivalsa_taxable' => 'getAmountRivalsaTaxable', 'amount_withholding_tax' => 'getAmountWithholdingTax', + 'amount_withholding_tax_taxable' => 'getAmountWithholdingTaxTaxable', 'amount_other_withholding_tax' => 'getAmountOtherWithholdingTax', + 'amount_other_withholding_tax_taxable' => 'getAmountOtherWithholdingTaxTaxable', + 'amount_enasarco_taxable' => 'getAmountEnasarcoTaxable', 'extra_data' => 'getExtraData', 'seen_date' => 'getSeenDate', 'next_due_date' => 'getNextDueDate', 'url' => 'getUrl', 'attachment_url' => 'getAttachmentUrl', 'attachment_token' => 'getAttachmentToken', - 'ei_raw' => 'getEiRaw', - 'show_tspay_button' => 'getShowTspayButton', - 'year' => 'getYear', - 'amount_rivalsa_taxable' => 'getAmountRivalsaTaxable', - 'amount_global_cassa_taxable' => 'getAmountGlobalCassaTaxable', - 'amount_cassa_taxable' => 'getAmountCassaTaxable', - 'amount_cassa2' => 'getAmountCassa2', - 'amount_cassa2_taxable' => 'getAmountCassa2Taxable', - 'amount_withholding_tax_taxable' => 'getAmountWithholdingTaxTaxable', - 'amount_enasarco_taxable' => 'getAmountEnasarcoTaxable', - 'amount_other_withholding_tax_taxable' => 'getAmountOtherWithholdingTaxTaxable', - 'ei_cassa_type' => 'getEiCassaType', - 'ei_cassa2_type' => 'getEiCassa2Type', - 'ei_withholding_tax_causal' => 'getEiWithholdingTaxCausal', - 'ei_other_withholding_tax_type' => 'getEiOtherWithholdingTaxType', - 'ei_other_withholding_tax_causal' => 'getEiOtherWithholdingTaxCausal', - 'amount_due_discount' => 'getAmountDueDiscount' + 'ei_raw' => 'getEiRaw' ]; /** @@ -565,6 +586,7 @@ public function __construct(array $data = null) $this->container['number'] = $data['number'] ?? null; $this->container['numeration'] = $data['numeration'] ?? null; $this->container['date'] = $data['date'] ?? null; + $this->container['year'] = $data['year'] ?? null; $this->container['currency'] = $data['currency'] ?? null; $this->container['language'] = $data['language'] ?? null; $this->container['subject'] = $data['subject'] ?? null; @@ -573,6 +595,15 @@ public function __construct(array $data = null) $this->container['notes'] = $data['notes'] ?? null; $this->container['rivalsa'] = $data['rivalsa'] ?? null; $this->container['cassa'] = $data['cassa'] ?? null; + $this->container['amount_cassa'] = $data['amount_cassa'] ?? null; + $this->container['cassa_taxable'] = $data['cassa_taxable'] ?? null; + $this->container['amount_cassa_taxable'] = $data['amount_cassa_taxable'] ?? null; + $this->container['cassa2'] = $data['cassa2'] ?? null; + $this->container['amount_cassa2'] = $data['amount_cassa2'] ?? null; + $this->container['cassa2_taxable'] = $data['cassa2_taxable'] ?? null; + $this->container['amount_cassa2_taxable'] = $data['amount_cassa2_taxable'] ?? null; + $this->container['global_cassa_taxable'] = $data['global_cassa_taxable'] ?? null; + $this->container['amount_global_cassa_taxable'] = $data['amount_global_cassa_taxable'] ?? null; $this->container['withholding_tax'] = $data['withholding_tax'] ?? null; $this->container['withholding_tax_taxable'] = $data['withholding_tax_taxable'] ?? null; $this->container['other_withholding_tax'] = $data['other_withholding_tax'] ?? null; @@ -582,18 +613,24 @@ public function __construct(array $data = null) $this->container['use_gross_prices'] = $data['use_gross_prices'] ?? false; $this->container['e_invoice'] = $data['e_invoice'] ?? false; $this->container['ei_data'] = $data['ei_data'] ?? null; + $this->container['ei_cassa_type'] = $data['ei_cassa_type'] ?? null; + $this->container['ei_cassa2_type'] = $data['ei_cassa2_type'] ?? null; + $this->container['ei_withholding_tax_causal'] = $data['ei_withholding_tax_causal'] ?? null; + $this->container['ei_other_withholding_tax_type'] = $data['ei_other_withholding_tax_type'] ?? null; + $this->container['ei_other_withholding_tax_causal'] = $data['ei_other_withholding_tax_causal'] ?? null; $this->container['items_list'] = $data['items_list'] ?? null; $this->container['payments_list'] = $data['payments_list'] ?? null; $this->container['template'] = $data['template'] ?? null; $this->container['delivery_note_template'] = $data['delivery_note_template'] ?? null; $this->container['acc_inv_template'] = $data['acc_inv_template'] ?? null; $this->container['h_margins'] = $data['h_margins'] ?? null; + $this->container['v_margins'] = $data['v_margins'] ?? null; $this->container['show_payments'] = $data['show_payments'] ?? null; $this->container['show_payment_method'] = $data['show_payment_method'] ?? null; $this->container['show_totals'] = $data['show_totals'] ?? null; - $this->container['v_margins'] = $data['v_margins'] ?? null; $this->container['show_paypal_button'] = $data['show_paypal_button'] ?? false; $this->container['show_notification_button'] = $data['show_notification_button'] ?? false; + $this->container['show_tspay_button'] = $data['show_tspay_button'] ?? null; $this->container['delivery_note'] = $data['delivery_note'] ?? null; $this->container['accompanying_invoice'] = $data['accompanying_invoice'] ?? false; $this->container['dn_number'] = $data['dn_number'] ?? null; @@ -609,10 +646,14 @@ public function __construct(array $data = null) $this->container['amount_net'] = $data['amount_net'] ?? null; $this->container['amount_vat'] = $data['amount_vat'] ?? null; $this->container['amount_gross'] = $data['amount_gross'] ?? null; + $this->container['amount_due_discount'] = $data['amount_due_discount'] ?? null; $this->container['amount_rivalsa'] = $data['amount_rivalsa'] ?? null; - $this->container['amount_cassa'] = $data['amount_cassa'] ?? null; + $this->container['amount_rivalsa_taxable'] = $data['amount_rivalsa_taxable'] ?? null; $this->container['amount_withholding_tax'] = $data['amount_withholding_tax'] ?? null; + $this->container['amount_withholding_tax_taxable'] = $data['amount_withholding_tax_taxable'] ?? null; $this->container['amount_other_withholding_tax'] = $data['amount_other_withholding_tax'] ?? null; + $this->container['amount_other_withholding_tax_taxable'] = $data['amount_other_withholding_tax_taxable'] ?? null; + $this->container['amount_enasarco_taxable'] = $data['amount_enasarco_taxable'] ?? null; $this->container['extra_data'] = $data['extra_data'] ?? null; $this->container['seen_date'] = $data['seen_date'] ?? null; $this->container['next_due_date'] = $data['next_due_date'] ?? null; @@ -620,22 +661,6 @@ public function __construct(array $data = null) $this->container['attachment_url'] = $data['attachment_url'] ?? null; $this->container['attachment_token'] = $data['attachment_token'] ?? null; $this->container['ei_raw'] = $data['ei_raw'] ?? null; - $this->container['show_tspay_button'] = $data['show_tspay_button'] ?? null; - $this->container['year'] = $data['year'] ?? null; - $this->container['amount_rivalsa_taxable'] = $data['amount_rivalsa_taxable'] ?? null; - $this->container['amount_global_cassa_taxable'] = $data['amount_global_cassa_taxable'] ?? null; - $this->container['amount_cassa_taxable'] = $data['amount_cassa_taxable'] ?? null; - $this->container['amount_cassa2'] = $data['amount_cassa2'] ?? null; - $this->container['amount_cassa2_taxable'] = $data['amount_cassa2_taxable'] ?? null; - $this->container['amount_withholding_tax_taxable'] = $data['amount_withholding_tax_taxable'] ?? null; - $this->container['amount_enasarco_taxable'] = $data['amount_enasarco_taxable'] ?? null; - $this->container['amount_other_withholding_tax_taxable'] = $data['amount_other_withholding_tax_taxable'] ?? null; - $this->container['ei_cassa_type'] = $data['ei_cassa_type'] ?? null; - $this->container['ei_cassa2_type'] = $data['ei_cassa2_type'] ?? null; - $this->container['ei_withholding_tax_causal'] = $data['ei_withholding_tax_causal'] ?? null; - $this->container['ei_other_withholding_tax_type'] = $data['ei_other_withholding_tax_type'] ?? null; - $this->container['ei_other_withholding_tax_causal'] = $data['ei_other_withholding_tax_causal'] ?? null; - $this->container['amount_due_discount'] = $data['amount_due_discount'] ?? null; } /** @@ -663,6 +688,38 @@ public function listInvalidProperties() $invalidProperties[] = "invalid value for 'cassa', must be bigger than or equal to 0."; } + if (!is_null($this->container['cassa_taxable']) && ($this->container['cassa_taxable'] > 100)) { + $invalidProperties[] = "invalid value for 'cassa_taxable', must be smaller than or equal to 100."; + } + + if (!is_null($this->container['cassa_taxable']) && ($this->container['cassa_taxable'] < 0)) { + $invalidProperties[] = "invalid value for 'cassa_taxable', must be bigger than or equal to 0."; + } + + if (!is_null($this->container['cassa2']) && ($this->container['cassa2'] > 100)) { + $invalidProperties[] = "invalid value for 'cassa2', must be smaller than or equal to 100."; + } + + if (!is_null($this->container['cassa2']) && ($this->container['cassa2'] < 0)) { + $invalidProperties[] = "invalid value for 'cassa2', must be bigger than or equal to 0."; + } + + if (!is_null($this->container['cassa2_taxable']) && ($this->container['cassa2_taxable'] > 100)) { + $invalidProperties[] = "invalid value for 'cassa2_taxable', must be smaller than or equal to 100."; + } + + if (!is_null($this->container['cassa2_taxable']) && ($this->container['cassa2_taxable'] < 0)) { + $invalidProperties[] = "invalid value for 'cassa2_taxable', must be bigger than or equal to 0."; + } + + if (!is_null($this->container['global_cassa_taxable']) && ($this->container['global_cassa_taxable'] > 100)) { + $invalidProperties[] = "invalid value for 'global_cassa_taxable', must be smaller than or equal to 100."; + } + + if (!is_null($this->container['global_cassa_taxable']) && ($this->container['global_cassa_taxable'] < 0)) { + $invalidProperties[] = "invalid value for 'global_cassa_taxable', must be bigger than or equal to 0."; + } + if (!is_null($this->container['withholding_tax']) && ($this->container['withholding_tax'] > 100)) { $invalidProperties[] = "invalid value for 'withholding_tax', must be smaller than or equal to 100."; } @@ -846,6 +903,30 @@ public function setDate($date) return $this; } + /** + * Gets year + * + * @return int|null + */ + public function getYear() + { + return $this->container['year']; + } + + /** + * Sets year + * + * @param int|null $year Invoice year. + * + * @return self + */ + public function setYear($year) + { + $this->container['year'] = $year; + + return $this; + } + /** * Gets currency * @@ -1055,19 +1136,267 @@ public function setCassa($cassa) } /** - * Gets withholding_tax + * Gets amount_cassa * * @return float|null */ - public function getWithholdingTax() + public function getAmountCassa() { - return $this->container['withholding_tax']; + return $this->container['amount_cassa']; } /** - * Sets withholding_tax + * Sets amount_cassa * - * @param float|null $withholding_tax Withholding tax (ritenuta d'acconto) percentual value + * @param float|null $amount_cassa [Read Only] Cassa amount. + * + * @return self + */ + public function setAmountCassa($amount_cassa) + { + $this->container['amount_cassa'] = $amount_cassa; + + return $this; + } + + /** + * Gets cassa_taxable + * + * @return float|null + */ + public function getCassaTaxable() + { + return $this->container['cassa_taxable']; + } + + /** + * Sets cassa_taxable + * + * @param float|null $cassa_taxable Cassa taxable percentage + * + * @return self + */ + public function setCassaTaxable($cassa_taxable) + { + + if (!is_null($cassa_taxable) && ($cassa_taxable > 100)) { + throw new \InvalidArgumentException('invalid value for $cassa_taxable when calling IssuedDocument., must be smaller than or equal to 100.'); + } + if (!is_null($cassa_taxable) && ($cassa_taxable < 0)) { + throw new \InvalidArgumentException('invalid value for $cassa_taxable when calling IssuedDocument., must be bigger than or equal to 0.'); + } + + $this->container['cassa_taxable'] = $cassa_taxable; + + return $this; + } + + /** + * Gets amount_cassa_taxable + * + * @return float|null + */ + public function getAmountCassaTaxable() + { + return $this->container['amount_cassa_taxable']; + } + + /** + * Sets amount_cassa_taxable + * + * @param float|null $amount_cassa_taxable [Can be set only if cassa_taxable is NULL] Cassa2 taxable amount + * + * @return self + */ + public function setAmountCassaTaxable($amount_cassa_taxable) + { + $this->container['amount_cassa_taxable'] = $amount_cassa_taxable; + + return $this; + } + + /** + * Gets cassa2 + * + * @return float|null + */ + public function getCassa2() + { + return $this->container['cassa2']; + } + + /** + * Sets cassa2 + * + * @param float|null $cassa2 \"Cassa previdenziale 2\" percentual value + * + * @return self + */ + public function setCassa2($cassa2) + { + + if (!is_null($cassa2) && ($cassa2 > 100)) { + throw new \InvalidArgumentException('invalid value for $cassa2 when calling IssuedDocument., must be smaller than or equal to 100.'); + } + if (!is_null($cassa2) && ($cassa2 < 0)) { + throw new \InvalidArgumentException('invalid value for $cassa2 when calling IssuedDocument., must be bigger than or equal to 0.'); + } + + $this->container['cassa2'] = $cassa2; + + return $this; + } + + /** + * Gets amount_cassa2 + * + * @return float|null + */ + public function getAmountCassa2() + { + return $this->container['amount_cassa2']; + } + + /** + * Sets amount_cassa2 + * + * @param float|null $amount_cassa2 [Read Only] Cassa amount. + * + * @return self + */ + public function setAmountCassa2($amount_cassa2) + { + $this->container['amount_cassa2'] = $amount_cassa2; + + return $this; + } + + /** + * Gets cassa2_taxable + * + * @return float|null + */ + public function getCassa2Taxable() + { + return $this->container['cassa2_taxable']; + } + + /** + * Sets cassa2_taxable + * + * @param float|null $cassa2_taxable Cassa2 taxable percentage + * + * @return self + */ + public function setCassa2Taxable($cassa2_taxable) + { + + if (!is_null($cassa2_taxable) && ($cassa2_taxable > 100)) { + throw new \InvalidArgumentException('invalid value for $cassa2_taxable when calling IssuedDocument., must be smaller than or equal to 100.'); + } + if (!is_null($cassa2_taxable) && ($cassa2_taxable < 0)) { + throw new \InvalidArgumentException('invalid value for $cassa2_taxable when calling IssuedDocument., must be bigger than or equal to 0.'); + } + + $this->container['cassa2_taxable'] = $cassa2_taxable; + + return $this; + } + + /** + * Gets amount_cassa2_taxable + * + * @return float|null + */ + public function getAmountCassa2Taxable() + { + return $this->container['amount_cassa2_taxable']; + } + + /** + * Sets amount_cassa2_taxable + * + * @param float|null $amount_cassa2_taxable [Can be set only if cassa2_taxable is NULL] Cassa2 taxable amount + * + * @return self + */ + public function setAmountCassa2Taxable($amount_cassa2_taxable) + { + $this->container['amount_cassa2_taxable'] = $amount_cassa2_taxable; + + return $this; + } + + /** + * Gets global_cassa_taxable + * + * @return float|null + */ + public function getGlobalCassaTaxable() + { + return $this->container['global_cassa_taxable']; + } + + /** + * Sets global_cassa_taxable + * + * @param float|null $global_cassa_taxable Global cassa taxable percentage + * + * @return self + */ + public function setGlobalCassaTaxable($global_cassa_taxable) + { + + if (!is_null($global_cassa_taxable) && ($global_cassa_taxable > 100)) { + throw new \InvalidArgumentException('invalid value for $global_cassa_taxable when calling IssuedDocument., must be smaller than or equal to 100.'); + } + if (!is_null($global_cassa_taxable) && ($global_cassa_taxable < 0)) { + throw new \InvalidArgumentException('invalid value for $global_cassa_taxable when calling IssuedDocument., must be bigger than or equal to 0.'); + } + + $this->container['global_cassa_taxable'] = $global_cassa_taxable; + + return $this; + } + + /** + * Gets amount_global_cassa_taxable + * + * @return float|null + */ + public function getAmountGlobalCassaTaxable() + { + return $this->container['amount_global_cassa_taxable']; + } + + /** + * Sets amount_global_cassa_taxable + * + * @param float|null $amount_global_cassa_taxable [Can be set only if global_cassa_taxable is NULL] Global cassa taxable amount + * + * @return self + */ + public function setAmountGlobalCassaTaxable($amount_global_cassa_taxable) + { + $this->container['amount_global_cassa_taxable'] = $amount_global_cassa_taxable; + + return $this; + } + + /** + * Gets withholding_tax + * + * @return float|null + */ + public function getWithholdingTax() + { + return $this->container['withholding_tax']; + } + + /** + * Sets withholding_tax + * + * @param float|null $withholding_tax Withholding tax (ritenuta d'acconto) percentual value * * @return self */ @@ -1211,7 +1540,7 @@ public function getUseSplitPayment() /** * Sets use_split_payment * - * @param bool|null $use_split_payment use_split_payment + * @param bool|null $use_split_payment Use split payment * * @return self */ @@ -1235,7 +1564,7 @@ public function getUseGrossPrices() /** * Sets use_gross_prices * - * @param bool|null $use_gross_prices use_gross_prices + * @param bool|null $use_gross_prices Use gross prices * * @return self */ @@ -1295,91 +1624,211 @@ public function setEiData($ei_data) } /** - * Gets items_list + * Gets ei_cassa_type * - * @return \FattureInCloud\Model\IssuedDocumentItemsList[]|null + * @return string|null */ - public function getItemsList() + public function getEiCassaType() { - return $this->container['items_list']; + return $this->container['ei_cassa_type']; } /** - * Sets items_list + * Sets ei_cassa_type * - * @param \FattureInCloud\Model\IssuedDocumentItemsList[]|null $items_list items_list + * @param string|null $ei_cassa_type Einvoice cassa type * * @return self */ - public function setItemsList($items_list) + public function setEiCassaType($ei_cassa_type) { - $this->container['items_list'] = $items_list; + $this->container['ei_cassa_type'] = $ei_cassa_type; return $this; } /** - * Gets payments_list + * Gets ei_cassa2_type * - * @return \FattureInCloud\Model\IssuedDocumentPaymentsList[]|null + * @return string|null */ - public function getPaymentsList() + public function getEiCassa2Type() { - return $this->container['payments_list']; + return $this->container['ei_cassa2_type']; } /** - * Sets payments_list + * Sets ei_cassa2_type * - * @param \FattureInCloud\Model\IssuedDocumentPaymentsList[]|null $payments_list payments_list + * @param string|null $ei_cassa2_type Einvoice cassa2 type * * @return self */ - public function setPaymentsList($payments_list) + public function setEiCassa2Type($ei_cassa2_type) { - $this->container['payments_list'] = $payments_list; + $this->container['ei_cassa2_type'] = $ei_cassa2_type; return $this; } /** - * Gets template + * Gets ei_withholding_tax_causal * - * @return \FattureInCloud\Model\DocumentTemplate|null + * @return string|null */ - public function getTemplate() + public function getEiWithholdingTaxCausal() { - return $this->container['template']; + return $this->container['ei_withholding_tax_causal']; } /** - * Sets template + * Sets ei_withholding_tax_causal * - * @param \FattureInCloud\Model\DocumentTemplate|null $template template + * @param string|null $ei_withholding_tax_causal Einvoice withholding tax causal * * @return self */ - public function setTemplate($template) + public function setEiWithholdingTaxCausal($ei_withholding_tax_causal) { - $this->container['template'] = $template; + $this->container['ei_withholding_tax_causal'] = $ei_withholding_tax_causal; return $this; } /** - * Gets delivery_note_template + * Gets ei_other_withholding_tax_type * - * @return \FattureInCloud\Model\DocumentTemplate|null + * @return string|null */ - public function getDeliveryNoteTemplate() + public function getEiOtherWithholdingTaxType() { - return $this->container['delivery_note_template']; + return $this->container['ei_other_withholding_tax_type']; } /** - * Sets delivery_note_template + * Sets ei_other_withholding_tax_type * - * @param \FattureInCloud\Model\DocumentTemplate|null $delivery_note_template delivery_note_template + * @param string|null $ei_other_withholding_tax_type Einvoice other withholding tax type + * + * @return self + */ + public function setEiOtherWithholdingTaxType($ei_other_withholding_tax_type) + { + $this->container['ei_other_withholding_tax_type'] = $ei_other_withholding_tax_type; + + return $this; + } + + /** + * Gets ei_other_withholding_tax_causal + * + * @return string|null + */ + public function getEiOtherWithholdingTaxCausal() + { + return $this->container['ei_other_withholding_tax_causal']; + } + + /** + * Sets ei_other_withholding_tax_causal + * + * @param string|null $ei_other_withholding_tax_causal Einvoice other withholding tax causal + * + * @return self + */ + public function setEiOtherWithholdingTaxCausal($ei_other_withholding_tax_causal) + { + $this->container['ei_other_withholding_tax_causal'] = $ei_other_withholding_tax_causal; + + return $this; + } + + /** + * Gets items_list + * + * @return \FattureInCloud\Model\IssuedDocumentItemsList[]|null + */ + public function getItemsList() + { + return $this->container['items_list']; + } + + /** + * Sets items_list + * + * @param \FattureInCloud\Model\IssuedDocumentItemsList[]|null $items_list items_list + * + * @return self + */ + public function setItemsList($items_list) + { + $this->container['items_list'] = $items_list; + + return $this; + } + + /** + * Gets payments_list + * + * @return \FattureInCloud\Model\IssuedDocumentPaymentsList[]|null + */ + public function getPaymentsList() + { + return $this->container['payments_list']; + } + + /** + * Sets payments_list + * + * @param \FattureInCloud\Model\IssuedDocumentPaymentsList[]|null $payments_list payments_list + * + * @return self + */ + public function setPaymentsList($payments_list) + { + $this->container['payments_list'] = $payments_list; + + return $this; + } + + /** + * Gets template + * + * @return \FattureInCloud\Model\DocumentTemplate|null + */ + public function getTemplate() + { + return $this->container['template']; + } + + /** + * Sets template + * + * @param \FattureInCloud\Model\DocumentTemplate|null $template template + * + * @return self + */ + public function setTemplate($template) + { + $this->container['template'] = $template; + + return $this; + } + + /** + * Gets delivery_note_template + * + * @return \FattureInCloud\Model\DocumentTemplate|null + */ + public function getDeliveryNoteTemplate() + { + return $this->container['delivery_note_template']; + } + + /** + * Sets delivery_note_template + * + * @param \FattureInCloud\Model\DocumentTemplate|null $delivery_note_template delivery_note_template * * @return self */ @@ -1438,6 +1887,30 @@ public function setHMargins($h_margins) return $this; } + /** + * Gets v_margins + * + * @return int|null + */ + public function getVMargins() + { + return $this->container['v_margins']; + } + + /** + * Sets v_margins + * + * @param int|null $v_margins Vertical margins. + * + * @return self + */ + public function setVMargins($v_margins) + { + $this->container['v_margins'] = $v_margins; + + return $this; + } + /** * Gets show_payments * @@ -1511,73 +1984,73 @@ public function setShowTotals($show_totals) } /** - * Gets v_margins + * Gets show_paypal_button * - * @return int|null + * @return bool|null */ - public function getVMargins() + public function getShowPaypalButton() { - return $this->container['v_margins']; + return $this->container['show_paypal_button']; } /** - * Sets v_margins + * Sets show_paypal_button * - * @param int|null $v_margins Vertical margins. + * @param bool|null $show_paypal_button Show paypal button * * @return self */ - public function setVMargins($v_margins) + public function setShowPaypalButton($show_paypal_button) { - $this->container['v_margins'] = $v_margins; + $this->container['show_paypal_button'] = $show_paypal_button; return $this; } /** - * Gets show_paypal_button + * Gets show_notification_button * * @return bool|null */ - public function getShowPaypalButton() + public function getShowNotificationButton() { - return $this->container['show_paypal_button']; + return $this->container['show_notification_button']; } /** - * Sets show_paypal_button + * Sets show_notification_button * - * @param bool|null $show_paypal_button show_paypal_button + * @param bool|null $show_notification_button Show notification button * * @return self */ - public function setShowPaypalButton($show_paypal_button) + public function setShowNotificationButton($show_notification_button) { - $this->container['show_paypal_button'] = $show_paypal_button; + $this->container['show_notification_button'] = $show_notification_button; return $this; } /** - * Gets show_notification_button + * Gets show_tspay_button * * @return bool|null */ - public function getShowNotificationButton() + public function getShowTspayButton() { - return $this->container['show_notification_button']; + return $this->container['show_tspay_button']; } /** - * Sets show_notification_button + * Sets show_tspay_button * - * @param bool|null $show_notification_button show_notification_button + * @param bool|null $show_tspay_button Show ts pay button. * * @return self */ - public function setShowNotificationButton($show_notification_button) + public function setShowTspayButton($show_tspay_button) { - $this->container['show_notification_button'] = $show_notification_button; + $this->container['show_tspay_button'] = $show_tspay_button; return $this; } @@ -1839,561 +2312,273 @@ public function getRefersTo() * * @return self */ - public function setRefersTo($refers_to) - { - $this->container['refers_to'] = $refers_to; - - return $this; - } - - /** - * Gets is_marked - * - * @return bool|null - */ - public function getIsMarked() - { - return $this->container['is_marked']; - } - - /** - * Sets is_marked - * - * @param bool|null $is_marked This is true if the document is marked. - * - * @return self - */ - public function setIsMarked($is_marked) - { - $this->container['is_marked'] = $is_marked; - - return $this; - } - - /** - * Gets amount_net - * - * @return float|null - */ - public function getAmountNet() - { - return $this->container['amount_net']; - } - - /** - * Sets amount_net - * - * @param float|null $amount_net [Read Only] Total net amount (competenze). - * - * @return self - */ - public function setAmountNet($amount_net) - { - $this->container['amount_net'] = $amount_net; - - return $this; - } - - /** - * Gets amount_vat - * - * @return float|null - */ - public function getAmountVat() - { - return $this->container['amount_vat']; - } - - /** - * Sets amount_vat - * - * @param float|null $amount_vat [Read Only] Total vat amount (IVA). - * - * @return self - */ - public function setAmountVat($amount_vat) - { - $this->container['amount_vat'] = $amount_vat; - - return $this; - } - - /** - * Gets amount_gross - * - * @return float|null - */ - public function getAmountGross() - { - return $this->container['amount_gross']; - } - - /** - * Sets amount_gross - * - * @param float|null $amount_gross [Read Only] Total gross amount (totale documento). - * - * @return self - */ - public function setAmountGross($amount_gross) - { - $this->container['amount_gross'] = $amount_gross; - - return $this; - } - - /** - * Gets amount_rivalsa - * - * @return float|null - */ - public function getAmountRivalsa() - { - return $this->container['amount_rivalsa']; - } - - /** - * Sets amount_rivalsa - * - * @param float|null $amount_rivalsa [Read Only] Rivalsa amount. - * - * @return self - */ - public function setAmountRivalsa($amount_rivalsa) - { - $this->container['amount_rivalsa'] = $amount_rivalsa; - - return $this; - } - - /** - * Gets amount_cassa - * - * @return float|null - */ - public function getAmountCassa() - { - return $this->container['amount_cassa']; - } - - /** - * Sets amount_cassa - * - * @param float|null $amount_cassa [Read Only] Cassa amount. - * - * @return self - */ - public function setAmountCassa($amount_cassa) - { - $this->container['amount_cassa'] = $amount_cassa; - - return $this; - } - - /** - * Gets amount_withholding_tax - * - * @return float|null - */ - public function getAmountWithholdingTax() - { - return $this->container['amount_withholding_tax']; - } - - /** - * Sets amount_withholding_tax - * - * @param float|null $amount_withholding_tax [Read Only] Withholding tax amount (ritenuta d'acconto). - * - * @return self - */ - public function setAmountWithholdingTax($amount_withholding_tax) - { - $this->container['amount_withholding_tax'] = $amount_withholding_tax; - - return $this; - } - - /** - * Gets amount_other_withholding_tax - * - * @return float|null - */ - public function getAmountOtherWithholdingTax() - { - return $this->container['amount_other_withholding_tax']; - } - - /** - * Sets amount_other_withholding_tax - * - * @param float|null $amount_other_withholding_tax [Read Only] Other withholding tax amount (altra ritenuta). - * - * @return self - */ - public function setAmountOtherWithholdingTax($amount_other_withholding_tax) - { - $this->container['amount_other_withholding_tax'] = $amount_other_withholding_tax; - - return $this; - } - - /** - * Gets extra_data - * - * @return \FattureInCloud\Model\IssuedDocumentExtraData|null - */ - public function getExtraData() - { - return $this->container['extra_data']; - } - - /** - * Sets extra_data - * - * @param \FattureInCloud\Model\IssuedDocumentExtraData|null $extra_data extra_data - * - * @return self - */ - public function setExtraData($extra_data) - { - $this->container['extra_data'] = $extra_data; - - return $this; - } - - /** - * Gets seen_date - * - * @return \DateTime|null - */ - public function getSeenDate() - { - return $this->container['seen_date']; - } - - /** - * Sets seen_date - * - * @param \DateTime|null $seen_date Date when the client/supplier has seen the document. - * - * @return self - */ - public function setSeenDate($seen_date) - { - $this->container['seen_date'] = $seen_date; - - return $this; - } - - /** - * Gets next_due_date - * - * @return \DateTime|null - */ - public function getNextDueDate() - { - return $this->container['next_due_date']; - } - - /** - * Sets next_due_date - * - * @param \DateTime|null $next_due_date Date of the next not paid payment. - * - * @return self - */ - public function setNextDueDate($next_due_date) - { - $this->container['next_due_date'] = $next_due_date; - - return $this; - } - - /** - * Gets url - * - * @return string|null - */ - public function getUrl() - { - return $this->container['url']; - } - - /** - * Sets url - * - * @param string|null $url Public url of the document PDF file. - * - * @return self - */ - public function setUrl($url) + public function setRefersTo($refers_to) { - $this->container['url'] = $url; + $this->container['refers_to'] = $refers_to; return $this; } /** - * Gets attachment_url + * Gets is_marked * - * @return string|null + * @return bool|null */ - public function getAttachmentUrl() + public function getIsMarked() { - return $this->container['attachment_url']; + return $this->container['is_marked']; } /** - * Sets attachment_url + * Sets is_marked * - * @param string|null $attachment_url [Read Only] Public url of the attached file. Authomatically set if a valid attachment token is passed via POST /issued_documents or PUT /issued_documents/{documentId}. + * @param bool|null $is_marked This is true if the document is marked. * * @return self */ - public function setAttachmentUrl($attachment_url) + public function setIsMarked($is_marked) { - $this->container['attachment_url'] = $attachment_url; + $this->container['is_marked'] = $is_marked; return $this; } /** - * Gets attachment_token + * Gets amount_net * - * @return string|null + * @return float|null */ - public function getAttachmentToken() + public function getAmountNet() { - return $this->container['attachment_token']; + return $this->container['amount_net']; } /** - * Sets attachment_token + * Sets amount_net * - * @param string|null $attachment_token [Write Only] Attachment token returned by POST /issued_documents/attachment. Used to attach the file already uploaded. + * @param float|null $amount_net [Read Only] Total net amount (competenze). * * @return self */ - public function setAttachmentToken($attachment_token) + public function setAmountNet($amount_net) { - $this->container['attachment_token'] = $attachment_token; + $this->container['amount_net'] = $amount_net; return $this; } /** - * Gets ei_raw + * Gets amount_vat * - * @return object|null + * @return float|null */ - public function getEiRaw() + public function getAmountVat() { - return $this->container['ei_raw']; + return $this->container['amount_vat']; } /** - * Sets ei_raw + * Sets amount_vat * - * @param object|null $ei_raw Advanced raw attributes for e-invoices. + * @param float|null $amount_vat [Read Only] Total vat amount (IVA). * * @return self */ - public function setEiRaw($ei_raw) + public function setAmountVat($amount_vat) { - $this->container['ei_raw'] = $ei_raw; + $this->container['amount_vat'] = $amount_vat; return $this; } /** - * Gets show_tspay_button + * Gets amount_gross * - * @return bool|null + * @return float|null */ - public function getShowTspayButton() + public function getAmountGross() { - return $this->container['show_tspay_button']; + return $this->container['amount_gross']; } /** - * Sets show_tspay_button + * Sets amount_gross * - * @param bool|null $show_tspay_button Show ts pay button. + * @param float|null $amount_gross [Read Only] Total gross amount (totale documento). * * @return self */ - public function setShowTspayButton($show_tspay_button) + public function setAmountGross($amount_gross) { - $this->container['show_tspay_button'] = $show_tspay_button; + $this->container['amount_gross'] = $amount_gross; return $this; } /** - * Gets year + * Gets amount_due_discount * - * @return int|null + * @return float|null */ - public function getYear() + public function getAmountDueDiscount() { - return $this->container['year']; + return $this->container['amount_due_discount']; } /** - * Sets year + * Sets amount_due_discount * - * @param int|null $year Invoice year. + * @param float|null $amount_due_discount Amount due discount * * @return self */ - public function setYear($year) + public function setAmountDueDiscount($amount_due_discount) { - $this->container['year'] = $year; + $this->container['amount_due_discount'] = $amount_due_discount; return $this; } /** - * Gets amount_rivalsa_taxable + * Gets amount_rivalsa * * @return float|null */ - public function getAmountRivalsaTaxable() + public function getAmountRivalsa() { - return $this->container['amount_rivalsa_taxable']; + return $this->container['amount_rivalsa']; } /** - * Sets amount_rivalsa_taxable + * Sets amount_rivalsa * - * @param float|null $amount_rivalsa_taxable amount_rivalsa_taxable + * @param float|null $amount_rivalsa [Read Only] Rivalsa amount. * * @return self */ - public function setAmountRivalsaTaxable($amount_rivalsa_taxable) + public function setAmountRivalsa($amount_rivalsa) { - $this->container['amount_rivalsa_taxable'] = $amount_rivalsa_taxable; + $this->container['amount_rivalsa'] = $amount_rivalsa; return $this; } /** - * Gets amount_global_cassa_taxable + * Gets amount_rivalsa_taxable * * @return float|null */ - public function getAmountGlobalCassaTaxable() + public function getAmountRivalsaTaxable() { - return $this->container['amount_global_cassa_taxable']; + return $this->container['amount_rivalsa_taxable']; } /** - * Sets amount_global_cassa_taxable + * Sets amount_rivalsa_taxable * - * @param float|null $amount_global_cassa_taxable amount_global_cassa_taxable + * @param float|null $amount_rivalsa_taxable Taxable rivalsa amount * * @return self */ - public function setAmountGlobalCassaTaxable($amount_global_cassa_taxable) + public function setAmountRivalsaTaxable($amount_rivalsa_taxable) { - $this->container['amount_global_cassa_taxable'] = $amount_global_cassa_taxable; + $this->container['amount_rivalsa_taxable'] = $amount_rivalsa_taxable; return $this; } /** - * Gets amount_cassa_taxable + * Gets amount_withholding_tax * * @return float|null */ - public function getAmountCassaTaxable() + public function getAmountWithholdingTax() { - return $this->container['amount_cassa_taxable']; + return $this->container['amount_withholding_tax']; } /** - * Sets amount_cassa_taxable + * Sets amount_withholding_tax * - * @param float|null $amount_cassa_taxable amount_cassa_taxable + * @param float|null $amount_withholding_tax [Read Only] Withholding tax amount (ritenuta d'acconto). * * @return self */ - public function setAmountCassaTaxable($amount_cassa_taxable) + public function setAmountWithholdingTax($amount_withholding_tax) { - $this->container['amount_cassa_taxable'] = $amount_cassa_taxable; + $this->container['amount_withholding_tax'] = $amount_withholding_tax; return $this; } /** - * Gets amount_cassa2 + * Gets amount_withholding_tax_taxable * * @return float|null */ - public function getAmountCassa2() + public function getAmountWithholdingTaxTaxable() { - return $this->container['amount_cassa2']; + return $this->container['amount_withholding_tax_taxable']; } /** - * Sets amount_cassa2 + * Sets amount_withholding_tax_taxable * - * @param float|null $amount_cassa2 amount_cassa2 + * @param float|null $amount_withholding_tax_taxable Taxable withholding tax amount * * @return self */ - public function setAmountCassa2($amount_cassa2) + public function setAmountWithholdingTaxTaxable($amount_withholding_tax_taxable) { - $this->container['amount_cassa2'] = $amount_cassa2; + $this->container['amount_withholding_tax_taxable'] = $amount_withholding_tax_taxable; return $this; } /** - * Gets amount_cassa2_taxable + * Gets amount_other_withholding_tax * * @return float|null */ - public function getAmountCassa2Taxable() + public function getAmountOtherWithholdingTax() { - return $this->container['amount_cassa2_taxable']; + return $this->container['amount_other_withholding_tax']; } /** - * Sets amount_cassa2_taxable + * Sets amount_other_withholding_tax * - * @param float|null $amount_cassa2_taxable amount_cassa2_taxable + * @param float|null $amount_other_withholding_tax [Read Only] Other withholding tax amount (altra ritenuta). * * @return self */ - public function setAmountCassa2Taxable($amount_cassa2_taxable) + public function setAmountOtherWithholdingTax($amount_other_withholding_tax) { - $this->container['amount_cassa2_taxable'] = $amount_cassa2_taxable; + $this->container['amount_other_withholding_tax'] = $amount_other_withholding_tax; return $this; } /** - * Gets amount_withholding_tax_taxable + * Gets amount_other_withholding_tax_taxable * * @return float|null */ - public function getAmountWithholdingTaxTaxable() + public function getAmountOtherWithholdingTaxTaxable() { - return $this->container['amount_withholding_tax_taxable']; + return $this->container['amount_other_withholding_tax_taxable']; } /** - * Sets amount_withholding_tax_taxable + * Sets amount_other_withholding_tax_taxable * - * @param float|null $amount_withholding_tax_taxable amount_withholding_tax_taxable + * @param float|null $amount_other_withholding_tax_taxable Taxable other withholding tax amount * * @return self */ - public function setAmountWithholdingTaxTaxable($amount_withholding_tax_taxable) + public function setAmountOtherWithholdingTaxTaxable($amount_other_withholding_tax_taxable) { - $this->container['amount_withholding_tax_taxable'] = $amount_withholding_tax_taxable; + $this->container['amount_other_withholding_tax_taxable'] = $amount_other_withholding_tax_taxable; return $this; } @@ -2411,7 +2596,7 @@ public function getAmountEnasarcoTaxable() /** * Sets amount_enasarco_taxable * - * @param float|null $amount_enasarco_taxable amount_enasarco_taxable + * @param float|null $amount_enasarco_taxable Taxable enasarco amount * * @return self */ @@ -2423,169 +2608,169 @@ public function setAmountEnasarcoTaxable($amount_enasarco_taxable) } /** - * Gets amount_other_withholding_tax_taxable + * Gets extra_data * - * @return float|null + * @return \FattureInCloud\Model\IssuedDocumentExtraData|null */ - public function getAmountOtherWithholdingTaxTaxable() + public function getExtraData() { - return $this->container['amount_other_withholding_tax_taxable']; + return $this->container['extra_data']; } /** - * Sets amount_other_withholding_tax_taxable + * Sets extra_data * - * @param float|null $amount_other_withholding_tax_taxable amount_other_withholding_tax_taxable + * @param \FattureInCloud\Model\IssuedDocumentExtraData|null $extra_data extra_data * * @return self */ - public function setAmountOtherWithholdingTaxTaxable($amount_other_withholding_tax_taxable) + public function setExtraData($extra_data) { - $this->container['amount_other_withholding_tax_taxable'] = $amount_other_withholding_tax_taxable; + $this->container['extra_data'] = $extra_data; return $this; } /** - * Gets ei_cassa_type + * Gets seen_date * - * @return string|null + * @return \DateTime|null */ - public function getEiCassaType() + public function getSeenDate() { - return $this->container['ei_cassa_type']; + return $this->container['seen_date']; } /** - * Sets ei_cassa_type + * Sets seen_date * - * @param string|null $ei_cassa_type ei_cassa_type + * @param \DateTime|null $seen_date Date when the client/supplier has seen the document. * * @return self */ - public function setEiCassaType($ei_cassa_type) + public function setSeenDate($seen_date) { - $this->container['ei_cassa_type'] = $ei_cassa_type; + $this->container['seen_date'] = $seen_date; return $this; } /** - * Gets ei_cassa2_type + * Gets next_due_date * - * @return string|null + * @return \DateTime|null */ - public function getEiCassa2Type() + public function getNextDueDate() { - return $this->container['ei_cassa2_type']; + return $this->container['next_due_date']; } /** - * Sets ei_cassa2_type + * Sets next_due_date * - * @param string|null $ei_cassa2_type ei_cassa2_type + * @param \DateTime|null $next_due_date Date of the next not paid payment. * * @return self */ - public function setEiCassa2Type($ei_cassa2_type) + public function setNextDueDate($next_due_date) { - $this->container['ei_cassa2_type'] = $ei_cassa2_type; + $this->container['next_due_date'] = $next_due_date; return $this; } /** - * Gets ei_withholding_tax_causal + * Gets url * * @return string|null */ - public function getEiWithholdingTaxCausal() + public function getUrl() { - return $this->container['ei_withholding_tax_causal']; + return $this->container['url']; } /** - * Sets ei_withholding_tax_causal + * Sets url * - * @param string|null $ei_withholding_tax_causal ei_withholding_tax_causal + * @param string|null $url Public url of the document PDF file. * * @return self */ - public function setEiWithholdingTaxCausal($ei_withholding_tax_causal) + public function setUrl($url) { - $this->container['ei_withholding_tax_causal'] = $ei_withholding_tax_causal; + $this->container['url'] = $url; return $this; } /** - * Gets ei_other_withholding_tax_type + * Gets attachment_url * * @return string|null */ - public function getEiOtherWithholdingTaxType() + public function getAttachmentUrl() { - return $this->container['ei_other_withholding_tax_type']; + return $this->container['attachment_url']; } /** - * Sets ei_other_withholding_tax_type + * Sets attachment_url * - * @param string|null $ei_other_withholding_tax_type ei_other_withholding_tax_type + * @param string|null $attachment_url [Read Only] Public url of the attached file. Authomatically set if a valid attachment token is passed via POST /issued_documents or PUT /issued_documents/{documentId}. * * @return self */ - public function setEiOtherWithholdingTaxType($ei_other_withholding_tax_type) + public function setAttachmentUrl($attachment_url) { - $this->container['ei_other_withholding_tax_type'] = $ei_other_withholding_tax_type; + $this->container['attachment_url'] = $attachment_url; return $this; } /** - * Gets ei_other_withholding_tax_causal + * Gets attachment_token * * @return string|null */ - public function getEiOtherWithholdingTaxCausal() + public function getAttachmentToken() { - return $this->container['ei_other_withholding_tax_causal']; + return $this->container['attachment_token']; } /** - * Sets ei_other_withholding_tax_causal + * Sets attachment_token * - * @param string|null $ei_other_withholding_tax_causal ei_other_withholding_tax_causal + * @param string|null $attachment_token [Write Only] Attachment token returned by POST /issued_documents/attachment. Used to attach the file already uploaded. * * @return self */ - public function setEiOtherWithholdingTaxCausal($ei_other_withholding_tax_causal) + public function setAttachmentToken($attachment_token) { - $this->container['ei_other_withholding_tax_causal'] = $ei_other_withholding_tax_causal; + $this->container['attachment_token'] = $attachment_token; return $this; } /** - * Gets amount_due_discount + * Gets ei_raw * - * @return float|null + * @return object|null */ - public function getAmountDueDiscount() + public function getEiRaw() { - return $this->container['amount_due_discount']; + return $this->container['ei_raw']; } /** - * Sets amount_due_discount + * Sets ei_raw * - * @param float|null $amount_due_discount amount_due_discount + * @param object|null $ei_raw Advanced raw attributes for e-invoices. * * @return self */ - public function setAmountDueDiscount($amount_due_discount) + public function setEiRaw($ei_raw) { - $this->container['amount_due_discount'] = $amount_due_discount; + $this->container['ei_raw'] = $ei_raw; return $this; } diff --git a/lib/Model/IssuedDocumentEiData.php b/lib/Model/IssuedDocumentEiData.php index a0623be6..de49ed15 100644 --- a/lib/Model/IssuedDocumentEiData.php +++ b/lib/Model/IssuedDocumentEiData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentExtraData.php b/lib/Model/IssuedDocumentExtraData.php index d0aa7f85..5a984d31 100644 --- a/lib/Model/IssuedDocumentExtraData.php +++ b/lib/Model/IssuedDocumentExtraData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentItemsList.php b/lib/Model/IssuedDocumentItemsList.php index 2a9c665d..9803f3ee 100644 --- a/lib/Model/IssuedDocumentItemsList.php +++ b/lib/Model/IssuedDocumentItemsList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -63,6 +63,7 @@ class IssuedDocumentItemsList implements ModelInterface, ArrayAccess, \JsonSeria 'product_id' => 'int', 'code' => 'string', 'name' => 'string', + 'category' => 'string', 'description' => 'string', 'qty' => 'float', 'measure' => 'string', @@ -89,6 +90,7 @@ class IssuedDocumentItemsList implements ModelInterface, ArrayAccess, \JsonSeria 'product_id' => null, 'code' => null, 'name' => null, + 'category' => null, 'description' => null, 'qty' => null, 'measure' => null, @@ -134,6 +136,7 @@ public static function openAPIFormats() 'product_id' => 'product_id', 'code' => 'code', 'name' => 'name', + 'category' => 'category', 'description' => 'description', 'qty' => 'qty', 'measure' => 'measure', @@ -158,6 +161,7 @@ public static function openAPIFormats() 'product_id' => 'setProductId', 'code' => 'setCode', 'name' => 'setName', + 'category' => 'setCategory', 'description' => 'setDescription', 'qty' => 'setQty', 'measure' => 'setMeasure', @@ -182,6 +186,7 @@ public static function openAPIFormats() 'product_id' => 'getProductId', 'code' => 'getCode', 'name' => 'getName', + 'category' => 'getCategory', 'description' => 'getDescription', 'qty' => 'getQty', 'measure' => 'getMeasure', @@ -257,6 +262,7 @@ public function __construct(array $data = null) $this->container['product_id'] = $data['product_id'] ?? null; $this->container['code'] = $data['code'] ?? null; $this->container['name'] = $data['name'] ?? null; + $this->container['category'] = $data['category'] ?? null; $this->container['description'] = $data['description'] ?? null; $this->container['qty'] = $data['qty'] ?? null; $this->container['measure'] = $data['measure'] ?? null; @@ -376,6 +382,30 @@ public function setName($name) return $this; } + /** + * Gets category + * + * @return string|null + */ + public function getCategory() + { + return $this->container['category']; + } + + /** + * Sets category + * + * @param string|null $category Product category + * + * @return self + */ + public function setCategory($category) + { + $this->container['category'] = $category; + + return $this; + } + /** * Gets description * diff --git a/lib/Model/IssuedDocumentPaymentsList.php b/lib/Model/IssuedDocumentPaymentsList.php index 91e128d4..d9b5d931 100644 --- a/lib/Model/IssuedDocumentPaymentsList.php +++ b/lib/Model/IssuedDocumentPaymentsList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentPreCreateInfo.php b/lib/Model/IssuedDocumentPreCreateInfo.php index 65032833..52eaa665 100644 --- a/lib/Model/IssuedDocumentPreCreateInfo.php +++ b/lib/Model/IssuedDocumentPreCreateInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php index 8bcbe072..65bd0154 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoDefaultValues.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php index ed2dd891..f4087b2e 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoExtraDataDefaultValues.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php b/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php index 5642bd61..7f40d5cf 100644 --- a/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php +++ b/lib/Model/IssuedDocumentPreCreateInfoItemsDefaultValues.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentRefersTo.php b/lib/Model/IssuedDocumentRefersTo.php index 1b4b230f..792497ed 100644 --- a/lib/Model/IssuedDocumentRefersTo.php +++ b/lib/Model/IssuedDocumentRefersTo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentStatus.php b/lib/Model/IssuedDocumentStatus.php index 5266f28d..6f3083c2 100644 --- a/lib/Model/IssuedDocumentStatus.php +++ b/lib/Model/IssuedDocumentStatus.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentTotals.php b/lib/Model/IssuedDocumentTotals.php index fb72ebe7..72f241ab 100644 --- a/lib/Model/IssuedDocumentTotals.php +++ b/lib/Model/IssuedDocumentTotals.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentTotalsVatList.php b/lib/Model/IssuedDocumentTotalsVatList.php index 272d11ae..4d08a081 100644 --- a/lib/Model/IssuedDocumentTotalsVatList.php +++ b/lib/Model/IssuedDocumentTotalsVatList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentTotalsVatListVatItem.php b/lib/Model/IssuedDocumentTotalsVatListVatItem.php index 66f3b33d..9b8a03e4 100644 --- a/lib/Model/IssuedDocumentTotalsVatListVatItem.php +++ b/lib/Model/IssuedDocumentTotalsVatListVatItem.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/IssuedDocumentType.php b/lib/Model/IssuedDocumentType.php index f95a12a3..8810a4e5 100644 --- a/lib/Model/IssuedDocumentType.php +++ b/lib/Model/IssuedDocumentType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Language.php b/lib/Model/Language.php index cb8908ba..89005e00 100644 --- a/lib/Model/Language.php +++ b/lib/Model/Language.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListArchiveCategoriesResponse.php b/lib/Model/ListArchiveCategoriesResponse.php index fb6df20c..5e1f44de 100644 --- a/lib/Model/ListArchiveCategoriesResponse.php +++ b/lib/Model/ListArchiveCategoriesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListArchiveDocumentsResponse.php b/lib/Model/ListArchiveDocumentsResponse.php index ddfd7d7b..bb198952 100644 --- a/lib/Model/ListArchiveDocumentsResponse.php +++ b/lib/Model/ListArchiveDocumentsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListArchiveDocumentsResponsePage.php b/lib/Model/ListArchiveDocumentsResponsePage.php index a4a4c307..4edda2e1 100644 --- a/lib/Model/ListArchiveDocumentsResponsePage.php +++ b/lib/Model/ListArchiveDocumentsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListCashbookEntriesResponse.php b/lib/Model/ListCashbookEntriesResponse.php index 948a488e..ec5cb89d 100644 --- a/lib/Model/ListCashbookEntriesResponse.php +++ b/lib/Model/ListCashbookEntriesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListCitiesResponse.php b/lib/Model/ListCitiesResponse.php index 3ee64beb..1b351ea2 100644 --- a/lib/Model/ListCitiesResponse.php +++ b/lib/Model/ListCitiesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListClientsResponse.php b/lib/Model/ListClientsResponse.php index 4ef3b00f..4565be9c 100644 --- a/lib/Model/ListClientsResponse.php +++ b/lib/Model/ListClientsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListClientsResponsePage.php b/lib/Model/ListClientsResponsePage.php index edcff58a..60a51aea 100644 --- a/lib/Model/ListClientsResponsePage.php +++ b/lib/Model/ListClientsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListCostCentersResponse.php b/lib/Model/ListCostCentersResponse.php index 95720160..6e4f537e 100644 --- a/lib/Model/ListCostCentersResponse.php +++ b/lib/Model/ListCostCentersResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListCountriesResponse.php b/lib/Model/ListCountriesResponse.php index f930408f..7f5743ad 100644 --- a/lib/Model/ListCountriesResponse.php +++ b/lib/Model/ListCountriesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListCurrenciesResponse.php b/lib/Model/ListCurrenciesResponse.php index 509645a1..bf27f15d 100644 --- a/lib/Model/ListCurrenciesResponse.php +++ b/lib/Model/ListCurrenciesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php b/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php index 916643f3..34701294 100644 --- a/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php +++ b/lib/Model/ListDeliveryNotesDefaultCausalsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListF24Response.php b/lib/Model/ListF24Response.php index b1b2a197..7c650fe1 100644 --- a/lib/Model/ListF24Response.php +++ b/lib/Model/ListF24Response.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListF24ResponseAggregatedData.php b/lib/Model/ListF24ResponseAggregatedData.php index c0bf175a..fc90d54e 100644 --- a/lib/Model/ListF24ResponseAggregatedData.php +++ b/lib/Model/ListF24ResponseAggregatedData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListF24ResponseAggregatedDataAggregatedData.php b/lib/Model/ListF24ResponseAggregatedDataAggregatedData.php index 7cfae638..48a189b0 100644 --- a/lib/Model/ListF24ResponseAggregatedDataAggregatedData.php +++ b/lib/Model/ListF24ResponseAggregatedDataAggregatedData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListF24ResponsePage.php b/lib/Model/ListF24ResponsePage.php index 423ad730..973c2dc1 100644 --- a/lib/Model/ListF24ResponsePage.php +++ b/lib/Model/ListF24ResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListIssuedDocumentsResponse.php b/lib/Model/ListIssuedDocumentsResponse.php index 7482c67f..ea60b592 100644 --- a/lib/Model/ListIssuedDocumentsResponse.php +++ b/lib/Model/ListIssuedDocumentsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListIssuedDocumentsResponsePage.php b/lib/Model/ListIssuedDocumentsResponsePage.php index 24b99332..0705744e 100644 --- a/lib/Model/ListIssuedDocumentsResponsePage.php +++ b/lib/Model/ListIssuedDocumentsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListLanguagesResponse.php b/lib/Model/ListLanguagesResponse.php index 22ee6902..b4f25bf9 100644 --- a/lib/Model/ListLanguagesResponse.php +++ b/lib/Model/ListLanguagesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListPaymentAccountsResponse.php b/lib/Model/ListPaymentAccountsResponse.php index 1a751e84..adaaba07 100644 --- a/lib/Model/ListPaymentAccountsResponse.php +++ b/lib/Model/ListPaymentAccountsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListPaymentMethodsResponse.php b/lib/Model/ListPaymentMethodsResponse.php index eb70676a..4551d5b7 100644 --- a/lib/Model/ListPaymentMethodsResponse.php +++ b/lib/Model/ListPaymentMethodsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListProductCategoriesResponse.php b/lib/Model/ListProductCategoriesResponse.php index c02919c6..2792e04c 100644 --- a/lib/Model/ListProductCategoriesResponse.php +++ b/lib/Model/ListProductCategoriesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListProductsResponse.php b/lib/Model/ListProductsResponse.php index 12846782..61977a96 100644 --- a/lib/Model/ListProductsResponse.php +++ b/lib/Model/ListProductsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListProductsResponsePage.php b/lib/Model/ListProductsResponsePage.php index 6a511814..527cf17c 100644 --- a/lib/Model/ListProductsResponsePage.php +++ b/lib/Model/ListProductsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListReceiptsResponse.php b/lib/Model/ListReceiptsResponse.php index 84217c8e..ba399615 100644 --- a/lib/Model/ListReceiptsResponse.php +++ b/lib/Model/ListReceiptsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListReceiptsResponsePage.php b/lib/Model/ListReceiptsResponsePage.php index 5d2317fa..3d35d1cd 100644 --- a/lib/Model/ListReceiptsResponsePage.php +++ b/lib/Model/ListReceiptsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListReceivedDocumentCategoriesResponse.php b/lib/Model/ListReceivedDocumentCategoriesResponse.php index 165f0053..939e4fc5 100644 --- a/lib/Model/ListReceivedDocumentCategoriesResponse.php +++ b/lib/Model/ListReceivedDocumentCategoriesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListReceivedDocumentsResponse.php b/lib/Model/ListReceivedDocumentsResponse.php index b24dcd4b..ce86450f 100644 --- a/lib/Model/ListReceivedDocumentsResponse.php +++ b/lib/Model/ListReceivedDocumentsResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListReceivedDocumentsResponsePage.php b/lib/Model/ListReceivedDocumentsResponsePage.php index c2fc960e..b87b5ebe 100644 --- a/lib/Model/ListReceivedDocumentsResponsePage.php +++ b/lib/Model/ListReceivedDocumentsResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListRevenueCentersResponse.php b/lib/Model/ListRevenueCentersResponse.php index 7bc86915..5e8e9c7a 100644 --- a/lib/Model/ListRevenueCentersResponse.php +++ b/lib/Model/ListRevenueCentersResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListSuppliersResponse.php b/lib/Model/ListSuppliersResponse.php index 69988116..34750b27 100644 --- a/lib/Model/ListSuppliersResponse.php +++ b/lib/Model/ListSuppliersResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListSuppliersResponsePage.php b/lib/Model/ListSuppliersResponsePage.php index fb9c712d..bb80bdc7 100644 --- a/lib/Model/ListSuppliersResponsePage.php +++ b/lib/Model/ListSuppliersResponsePage.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListTemplatesResponse.php b/lib/Model/ListTemplatesResponse.php index a8442c82..8397f48b 100644 --- a/lib/Model/ListTemplatesResponse.php +++ b/lib/Model/ListTemplatesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListUnitsOfMeasureResponse.php b/lib/Model/ListUnitsOfMeasureResponse.php index d2ef3480..59ed913b 100644 --- a/lib/Model/ListUnitsOfMeasureResponse.php +++ b/lib/Model/ListUnitsOfMeasureResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListUserCompaniesResponse.php b/lib/Model/ListUserCompaniesResponse.php index cf043d4d..14e5f470 100644 --- a/lib/Model/ListUserCompaniesResponse.php +++ b/lib/Model/ListUserCompaniesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListUserCompaniesResponseData.php b/lib/Model/ListUserCompaniesResponseData.php index 6b6f440b..e45dc601 100644 --- a/lib/Model/ListUserCompaniesResponseData.php +++ b/lib/Model/ListUserCompaniesResponseData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ListVatTypesResponse.php b/lib/Model/ListVatTypesResponse.php index e972e3da..58c23f97 100644 --- a/lib/Model/ListVatTypesResponse.php +++ b/lib/Model/ListVatTypesResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index 814fcc98..8703ea89 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyArchiveDocumentRequest.php b/lib/Model/ModifyArchiveDocumentRequest.php index 9c5e81a0..6b33a004 100644 --- a/lib/Model/ModifyArchiveDocumentRequest.php +++ b/lib/Model/ModifyArchiveDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyArchiveDocumentResponse.php b/lib/Model/ModifyArchiveDocumentResponse.php index 8104a76d..1a8b375c 100644 --- a/lib/Model/ModifyArchiveDocumentResponse.php +++ b/lib/Model/ModifyArchiveDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyCashbookEntryRequest.php b/lib/Model/ModifyCashbookEntryRequest.php index 1d1a55a2..f3d0d2db 100644 --- a/lib/Model/ModifyCashbookEntryRequest.php +++ b/lib/Model/ModifyCashbookEntryRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyCashbookEntryResponse.php b/lib/Model/ModifyCashbookEntryResponse.php index b4619f60..e6557b5d 100644 --- a/lib/Model/ModifyCashbookEntryResponse.php +++ b/lib/Model/ModifyCashbookEntryResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyClientRequest.php b/lib/Model/ModifyClientRequest.php index ab4d04ad..cc536f3c 100644 --- a/lib/Model/ModifyClientRequest.php +++ b/lib/Model/ModifyClientRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyClientResponse.php b/lib/Model/ModifyClientResponse.php index e7527d02..7e7ecf10 100644 --- a/lib/Model/ModifyClientResponse.php +++ b/lib/Model/ModifyClientResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyF24Request.php b/lib/Model/ModifyF24Request.php index 6a526256..cadee123 100644 --- a/lib/Model/ModifyF24Request.php +++ b/lib/Model/ModifyF24Request.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyF24Response.php b/lib/Model/ModifyF24Response.php index ba5c5dbd..a3f7d0a9 100644 --- a/lib/Model/ModifyF24Response.php +++ b/lib/Model/ModifyF24Response.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyIssuedDocumentRequest.php b/lib/Model/ModifyIssuedDocumentRequest.php index 9dbf272a..0b5226e0 100644 --- a/lib/Model/ModifyIssuedDocumentRequest.php +++ b/lib/Model/ModifyIssuedDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyIssuedDocumentResponse.php b/lib/Model/ModifyIssuedDocumentResponse.php index 0fd3e90f..46e28c68 100644 --- a/lib/Model/ModifyIssuedDocumentResponse.php +++ b/lib/Model/ModifyIssuedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyPaymentAccountRequest.php b/lib/Model/ModifyPaymentAccountRequest.php index f37d6dba..ae87d785 100644 --- a/lib/Model/ModifyPaymentAccountRequest.php +++ b/lib/Model/ModifyPaymentAccountRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyPaymentAccountResponse.php b/lib/Model/ModifyPaymentAccountResponse.php index ac6307c2..2e37f4da 100644 --- a/lib/Model/ModifyPaymentAccountResponse.php +++ b/lib/Model/ModifyPaymentAccountResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyPaymentMethodRequest.php b/lib/Model/ModifyPaymentMethodRequest.php index 345fcead..4b429e20 100644 --- a/lib/Model/ModifyPaymentMethodRequest.php +++ b/lib/Model/ModifyPaymentMethodRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyPaymentMethodResponse.php b/lib/Model/ModifyPaymentMethodResponse.php index 64023508..024ec25e 100644 --- a/lib/Model/ModifyPaymentMethodResponse.php +++ b/lib/Model/ModifyPaymentMethodResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyProductRequest.php b/lib/Model/ModifyProductRequest.php index 604d2045..da3d6f9c 100644 --- a/lib/Model/ModifyProductRequest.php +++ b/lib/Model/ModifyProductRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyProductResponse.php b/lib/Model/ModifyProductResponse.php index 50672546..d3fcc8d5 100644 --- a/lib/Model/ModifyProductResponse.php +++ b/lib/Model/ModifyProductResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyReceiptRequest.php b/lib/Model/ModifyReceiptRequest.php index f4edad3e..a41876a8 100644 --- a/lib/Model/ModifyReceiptRequest.php +++ b/lib/Model/ModifyReceiptRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyReceiptResponse.php b/lib/Model/ModifyReceiptResponse.php index 71b765a8..922023fc 100644 --- a/lib/Model/ModifyReceiptResponse.php +++ b/lib/Model/ModifyReceiptResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyReceivedDocumentRequest.php b/lib/Model/ModifyReceivedDocumentRequest.php index ca3d7833..94fd7b28 100644 --- a/lib/Model/ModifyReceivedDocumentRequest.php +++ b/lib/Model/ModifyReceivedDocumentRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyReceivedDocumentResponse.php b/lib/Model/ModifyReceivedDocumentResponse.php index 6a1a18cb..60df5e73 100644 --- a/lib/Model/ModifyReceivedDocumentResponse.php +++ b/lib/Model/ModifyReceivedDocumentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifySupplierRequest.php b/lib/Model/ModifySupplierRequest.php index 1984c147..ab57bf7c 100644 --- a/lib/Model/ModifySupplierRequest.php +++ b/lib/Model/ModifySupplierRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifySupplierResponse.php b/lib/Model/ModifySupplierResponse.php index 414a5338..22b50d66 100644 --- a/lib/Model/ModifySupplierResponse.php +++ b/lib/Model/ModifySupplierResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyVatTypeRequest.php b/lib/Model/ModifyVatTypeRequest.php index 1f9ca0fb..caafceff 100644 --- a/lib/Model/ModifyVatTypeRequest.php +++ b/lib/Model/ModifyVatTypeRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ModifyVatTypeResponse.php b/lib/Model/ModifyVatTypeResponse.php index 9ef571c5..6742c75b 100644 --- a/lib/Model/ModifyVatTypeResponse.php +++ b/lib/Model/ModifyVatTypeResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/MonthlyTotal.php b/lib/Model/MonthlyTotal.php index d3d90fc8..c518ed3c 100644 --- a/lib/Model/MonthlyTotal.php +++ b/lib/Model/MonthlyTotal.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/OriginalDocumentType.php b/lib/Model/OriginalDocumentType.php index 8ca4e9b7..01d98016 100644 --- a/lib/Model/OriginalDocumentType.php +++ b/lib/Model/OriginalDocumentType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Pagination.php b/lib/Model/Pagination.php index 1d1e1989..52fb033b 100644 --- a/lib/Model/Pagination.php +++ b/lib/Model/Pagination.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PaymentAccount.php b/lib/Model/PaymentAccount.php index 51f63f16..54d61ddf 100644 --- a/lib/Model/PaymentAccount.php +++ b/lib/Model/PaymentAccount.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PaymentAccountType.php b/lib/Model/PaymentAccountType.php index 7b079044..3270d60d 100644 --- a/lib/Model/PaymentAccountType.php +++ b/lib/Model/PaymentAccountType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PaymentMethod.php b/lib/Model/PaymentMethod.php index 630f3c9b..51363ff8 100644 --- a/lib/Model/PaymentMethod.php +++ b/lib/Model/PaymentMethod.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PaymentMethodDetails.php b/lib/Model/PaymentMethodDetails.php index 294731ae..864e6ff9 100644 --- a/lib/Model/PaymentMethodDetails.php +++ b/lib/Model/PaymentMethodDetails.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PaymentMethodType.php b/lib/Model/PaymentMethodType.php index 6cbb1e6a..89a1819c 100644 --- a/lib/Model/PaymentMethodType.php +++ b/lib/Model/PaymentMethodType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PermissionLevel.php b/lib/Model/PermissionLevel.php index 4d94b6b1..c82b3049 100644 --- a/lib/Model/PermissionLevel.php +++ b/lib/Model/PermissionLevel.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Permissions.php b/lib/Model/Permissions.php index d0ece842..4aeb41b4 100644 --- a/lib/Model/Permissions.php +++ b/lib/Model/Permissions.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/PermissionsFicIssuedDocumentsDetailed.php b/lib/Model/PermissionsFicIssuedDocumentsDetailed.php index a9290b18..be370ebb 100644 --- a/lib/Model/PermissionsFicIssuedDocumentsDetailed.php +++ b/lib/Model/PermissionsFicIssuedDocumentsDetailed.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Product.php b/lib/Model/Product.php index 2e7e89b1..aa3ea591 100644 --- a/lib/Model/Product.php +++ b/lib/Model/Product.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Receipt.php b/lib/Model/Receipt.php index ebb8a9a8..c430c49e 100644 --- a/lib/Model/Receipt.php +++ b/lib/Model/Receipt.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceiptItemsListItem.php b/lib/Model/ReceiptItemsListItem.php index f0b05805..7ac1ac35 100644 --- a/lib/Model/ReceiptItemsListItem.php +++ b/lib/Model/ReceiptItemsListItem.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -60,7 +60,7 @@ class ReceiptItemsListItem implements ModelInterface, ArrayAccess, \JsonSerializ * @var string[] */ protected static $openAPITypes = [ - 'id' => 'float', + 'id' => 'int', 'amount_net' => 'float', 'amount_gross' => 'float', 'category' => 'string', @@ -233,7 +233,7 @@ public function valid() /** * Gets id * - * @return float|null + * @return int|null */ public function getId() { @@ -243,7 +243,7 @@ public function getId() /** * Sets id * - * @param float|null $id Item unique identifier. + * @param int|null $id Item unique identifier. * * @return self */ diff --git a/lib/Model/ReceiptPreCreateInfo.php b/lib/Model/ReceiptPreCreateInfo.php index bd27930b..b2e048a1 100644 --- a/lib/Model/ReceiptPreCreateInfo.php +++ b/lib/Model/ReceiptPreCreateInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceiptType.php b/lib/Model/ReceiptType.php index c3416e83..a88f734f 100644 --- a/lib/Model/ReceiptType.php +++ b/lib/Model/ReceiptType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocument.php b/lib/Model/ReceivedDocument.php index bedda53c..ba474a13 100644 --- a/lib/Model/ReceivedDocument.php +++ b/lib/Model/ReceivedDocument.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentEntity.php b/lib/Model/ReceivedDocumentEntity.php index 79dd4aaa..cbb2b2f5 100644 --- a/lib/Model/ReceivedDocumentEntity.php +++ b/lib/Model/ReceivedDocumentEntity.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentInfo.php b/lib/Model/ReceivedDocumentInfo.php index 6f076926..e6b8cd5b 100644 --- a/lib/Model/ReceivedDocumentInfo.php +++ b/lib/Model/ReceivedDocumentInfo.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentInfoDefaultValues.php b/lib/Model/ReceivedDocumentInfoDefaultValues.php index 6289f715..2b7d9dcf 100644 --- a/lib/Model/ReceivedDocumentInfoDefaultValues.php +++ b/lib/Model/ReceivedDocumentInfoDefaultValues.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php b/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php index c0cf6a96..a83748c8 100644 --- a/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php +++ b/lib/Model/ReceivedDocumentInfoItemsDefaultValues.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -61,7 +61,7 @@ class ReceivedDocumentInfoItemsDefaultValues implements ModelInterface, ArrayAcc * @var string[] */ protected static $openAPITypes = [ - 'vat' => 'int' + 'vat' => 'float' ]; /** @@ -210,7 +210,7 @@ public function valid() /** * Gets vat * - * @return int|null + * @return float|null */ public function getVat() { @@ -220,7 +220,7 @@ public function getVat() /** * Sets vat * - * @param int|null $vat Default vat value. + * @param float|null $vat Default vat value. * * @return self */ diff --git a/lib/Model/ReceivedDocumentItemsList.php b/lib/Model/ReceivedDocumentItemsList.php index 7fbcf8b1..11225aa6 100644 --- a/lib/Model/ReceivedDocumentItemsList.php +++ b/lib/Model/ReceivedDocumentItemsList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentPaymentTerms.php b/lib/Model/ReceivedDocumentPaymentTerms.php index e08b8106..3135fd4d 100644 --- a/lib/Model/ReceivedDocumentPaymentTerms.php +++ b/lib/Model/ReceivedDocumentPaymentTerms.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -60,7 +60,7 @@ class ReceivedDocumentPaymentTerms implements ModelInterface, ArrayAccess, \Json * @var string[] */ protected static $openAPITypes = [ - 'days' => 'float', + 'days' => 'int', 'type' => 'string' ]; @@ -215,7 +215,7 @@ public function valid() /** * Gets days * - * @return float|null + * @return int|null */ public function getDays() { @@ -225,7 +225,7 @@ public function getDays() /** * Sets days * - * @param float|null $days Number of days. + * @param int|null $days Number of days. * * @return self */ diff --git a/lib/Model/ReceivedDocumentPaymentsList.php b/lib/Model/ReceivedDocumentPaymentsList.php index c1428786..53055116 100644 --- a/lib/Model/ReceivedDocumentPaymentsList.php +++ b/lib/Model/ReceivedDocumentPaymentsList.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentTotals.php b/lib/Model/ReceivedDocumentTotals.php index ff61ef44..0951a51a 100644 --- a/lib/Model/ReceivedDocumentTotals.php +++ b/lib/Model/ReceivedDocumentTotals.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ReceivedDocumentType.php b/lib/Model/ReceivedDocumentType.php index 85888a1a..46dc16d4 100644 --- a/lib/Model/ReceivedDocumentType.php +++ b/lib/Model/ReceivedDocumentType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ScheduleEmailRequest.php b/lib/Model/ScheduleEmailRequest.php index b8478d64..ab51db97 100644 --- a/lib/Model/ScheduleEmailRequest.php +++ b/lib/Model/ScheduleEmailRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/SendEInvoiceRequest.php b/lib/Model/SendEInvoiceRequest.php index 2f3aec1d..06f81dba 100644 --- a/lib/Model/SendEInvoiceRequest.php +++ b/lib/Model/SendEInvoiceRequest.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/SendEInvoiceRequestData.php b/lib/Model/SendEInvoiceRequestData.php index 72aa453c..948580a0 100644 --- a/lib/Model/SendEInvoiceRequestData.php +++ b/lib/Model/SendEInvoiceRequestData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/SendEInvoiceResponse.php b/lib/Model/SendEInvoiceResponse.php index 133f7cca..bfd1472e 100644 --- a/lib/Model/SendEInvoiceResponse.php +++ b/lib/Model/SendEInvoiceResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/SendEInvoiceResponseData.php b/lib/Model/SendEInvoiceResponseData.php index dd934248..f9fd9325 100644 --- a/lib/Model/SendEInvoiceResponseData.php +++ b/lib/Model/SendEInvoiceResponseData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/ShowTotalsMode.php b/lib/Model/ShowTotalsMode.php index cbae7c4d..6adc0f05 100644 --- a/lib/Model/ShowTotalsMode.php +++ b/lib/Model/ShowTotalsMode.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/Supplier.php b/lib/Model/Supplier.php index e94a1c2b..07f6cd45 100644 --- a/lib/Model/Supplier.php +++ b/lib/Model/Supplier.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/SupplierType.php b/lib/Model/SupplierType.php index dd47c1fb..bcd0664e 100644 --- a/lib/Model/SupplierType.php +++ b/lib/Model/SupplierType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/UploadArchiveAttachmentResponse.php b/lib/Model/UploadArchiveAttachmentResponse.php index 8f2678d4..5b3836e2 100644 --- a/lib/Model/UploadArchiveAttachmentResponse.php +++ b/lib/Model/UploadArchiveAttachmentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/UploadF24AttachmentResponse.php b/lib/Model/UploadF24AttachmentResponse.php index 8a428031..adda1379 100644 --- a/lib/Model/UploadF24AttachmentResponse.php +++ b/lib/Model/UploadF24AttachmentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/UploadIssuedDocumentAttachmentResponse.php b/lib/Model/UploadIssuedDocumentAttachmentResponse.php index 412b4ffd..6359e208 100644 --- a/lib/Model/UploadIssuedDocumentAttachmentResponse.php +++ b/lib/Model/UploadIssuedDocumentAttachmentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/UploadReceivedDocumentAttachmentResponse.php b/lib/Model/UploadReceivedDocumentAttachmentResponse.php index 9481eb0a..02e78296 100644 --- a/lib/Model/UploadReceivedDocumentAttachmentResponse.php +++ b/lib/Model/UploadReceivedDocumentAttachmentResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/User.php b/lib/Model/User.php index 7b087c86..9edab698 100644 --- a/lib/Model/User.php +++ b/lib/Model/User.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/UserCompanyRole.php b/lib/Model/UserCompanyRole.php index 0f4d2338..97f42314 100644 --- a/lib/Model/UserCompanyRole.php +++ b/lib/Model/UserCompanyRole.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VatKind.php b/lib/Model/VatKind.php index 1c786b73..abc88011 100644 --- a/lib/Model/VatKind.php +++ b/lib/Model/VatKind.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VatType.php b/lib/Model/VatType.php index cfbb6a68..47a8d362 100644 --- a/lib/Model/VatType.php +++ b/lib/Model/VatType.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponse.php b/lib/Model/VerifyEInvoiceXmlErrorResponse.php index 5be96021..beabb524 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponse.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponseError.php b/lib/Model/VerifyEInvoiceXmlErrorResponseError.php index f6acd80d..b3507ee4 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponseError.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponseError.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php b/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php index b563642d..3af6001d 100644 --- a/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php +++ b/lib/Model/VerifyEInvoiceXmlErrorResponseExtra.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VerifyEInvoiceXmlResponse.php b/lib/Model/VerifyEInvoiceXmlResponse.php index 2db1053a..1da68d85 100644 --- a/lib/Model/VerifyEInvoiceXmlResponse.php +++ b/lib/Model/VerifyEInvoiceXmlResponse.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/Model/VerifyEInvoiceXmlResponseData.php b/lib/Model/VerifyEInvoiceXmlResponseData.php index 34605b5e..f2027723 100644 --- a/lib/Model/VerifyEInvoiceXmlResponseData.php +++ b/lib/Model/VerifyEInvoiceXmlResponseData.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 6ab4578c..ae18f99e 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -15,7 +15,7 @@ * * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * - * The version of the OpenAPI document: 2.0.8 + * The version of the OpenAPI document: 2.0.9 * Contact: info@fattureincloud.it * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 5.3.1 @@ -338,7 +338,7 @@ public static function deserialize($data, $class, $httpHeaders = null) settype($data, $class); return $data; } - + /** @psalm-suppress ParadoxicalCondition */ if ($class === '\SplFileObject') { /** @var \Psr\Http\Message\StreamInterface $data */ diff --git a/sdk-version.yaml b/sdk-version.yaml index 3c04e899..2d0fdd1c 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.0.6 + version: 2.0.7 diff --git a/test/Api/IssuedEInvoicesApiTest.php b/test/Api/IssuedEInvoicesApiTest.php index 0df9118f..458fd019 100644 --- a/test/Api/IssuedEInvoicesApiTest.php +++ b/test/Api/IssuedEInvoicesApiTest.php @@ -132,4 +132,30 @@ public function testVerifyEInvoiceXml() TestCase::assertEquals($obj, $result); } + + /** + * Test case for getEInvoiceXml + * + * Get e-invoice xml. + * + */ + public function testGetEInvoiceXml() + { + $stream = 'IT0123456789000001FPA12AAAAAAIT01234567890ALPHA SRLRF19VIALE ROMA 54307100SASSARISSIT09876543210AMMINISTRAZIONE BETAVIA TORINO 38-B00145ROMARMITTD01EUR2017-01-18123LA FATTURA FA RIFERIMENTO AD UNA OPERAZIONE AAAA BBBBBBBBBBBBBBBBBB CCC DDDDDDDDDDDDDDD E FFFFFFFFFFFFFFFFFFFF GGGGGGGGGG HHHHHHH II LLLLLLLLLLLLLLLLL MMM NNNNN OO PPPPPPPPPPP QQQQ RRRR SSSSSSSSSSSSSSSEGUE DESCRIZIONE CAUSALE NEL CASO IN CUI NON SIANO STATI SUFFICIENTI 200 CARATTERI AAAAAAAAAAA BBBBBBBBBBBBBBBBB1666851123abc456def11232016-09-015123abc456def14565123abc456def17895123abc456defIT24681012141Trasporto spa2017-01-10T16:46:12.000+02:001DESCRIZIONE DELLA FORNITURA5.001.005.0022.0022.005.001.10ITP01MP012017-02-186.10'; + $mock = new MockHandler([new Response( + 200, + ['Content-Type' => 'text/xml'], + $stream + )]); + + $handler = HandlerStack::create($mock); + $apiInstance = new \FattureInCloud\Api\IssuedEInvoicesApi( + new \GuzzleHttp\Client(['handler' => $handler]) + ); + $company_id = 2; + $document_id = 12345; + $result = $apiInstance->getEInvoiceXml($company_id, $document_id); + + TestCase::assertEquals($stream, $result); + } } diff --git a/test/Model/ControlledCompanyTest.php b/test/Model/ControlledCompanyTest.php new file mode 100644 index 00000000..37e10f12 --- /dev/null +++ b/test/Model/ControlledCompanyTest.php @@ -0,0 +1,147 @@ +array = json_decode($json, true); + + $this->object = ObjectSerializer::deserialize($json, '\FattureInCloud\Model\ControlledCompany'); + } + + /** + * Clean up after running each test case + */ + public function tearDown(): void + { + } + + /** + * Clean up after running all test cases + */ + public static function tearDownAfterClass(): void + { + } + + /** + * Test "ControlledCompany" + */ + public function testControlledCompany() + { + foreach ($this->array as $key => $value) + { + Testcase::assertArrayHasKey($key, $this->object); + } + } + + /** + * Test attribute "id" + */ + public function testPropertyId() + { + TestCase::assertEquals($this->object['id'], $this->array['id']); + } + + /** + * Test attribute "name" + */ + public function testPropertyName() + { + TestCase::assertEquals($this->object['name'], $this->array['name']); + } + + /** + * Test attribute "type" + */ + public function testPropertyType() + { + TestCase::assertEquals($this->object['type'], $this->array['type']); + } + + /** + * Test attribute "access_token" + */ + public function testPropertyAccessToken() + { + TestCase::assertEquals($this->object['access_token'], $this->array['access_token']); + + } + + /** + * Test attribute "connection_id" + */ + public function testPropertyConnectionId() + { + TestCase::assertEquals($this->object['connection_id'], $this->array['connection_id']); + } + + /** + * Test attribute "tax_code" + */ + public function testPropertyTaxCode() + { + TestCase::assertEquals($this->object['tax_code'], $this->array['tax_code']); + } +} diff --git a/test/Model/IssuedDocumentItemsListTest.php b/test/Model/IssuedDocumentItemsListTest.php index 2db5b07e..79f77fe7 100644 --- a/test/Model/IssuedDocumentItemsListTest.php +++ b/test/Model/IssuedDocumentItemsListTest.php @@ -60,6 +60,7 @@ public function setUp(): void "product_id": 12345, "code": "cod3", "name": "prod 1", + "category": "cat5", "description": "product number uan", "qty": 44, "measure": "very big", @@ -133,6 +134,14 @@ public function testPropertyName() TestCase::assertEquals($this->object['name'], $this->array['name']); } + /** + * Test attribute "category" + */ + public function testPropertyCategory() + { + TestCase::assertEquals($this->object['category'], $this->array['category']); + } + /** * Test attribute "description" */