fattureincloud_ruby_sdk 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +14 -17
- data/docs/CashbookEntry.md +15 -46
- data/docs/{CashbookEntryDataDocument.md → CashbookEntryDocument.md} +1 -1
- data/docs/Client.md +2 -0
- data/docs/CreateCashbookEntryResponse.md +1 -1
- data/docs/EinvoiceRejectionReason.md +12 -0
- data/docs/EmailData.md +1 -1
- data/docs/Entity.md +36 -46
- data/docs/EntityType.md +7 -0
- data/docs/GetEInvoiceRejectionReasonResponse.md +8 -0
- data/docs/IssuedDocument.md +3 -3
- data/docs/{IssuedDocumentItemsList.md → IssuedDocumentItemsListItem.md} +2 -1
- data/docs/{IssuedDocumentPaymentsList.md → IssuedDocumentPaymentsListItem.md} +2 -1
- data/docs/IssuedEInvoicesApi.md +72 -0
- data/docs/ListF24Response.md +1 -1
- data/docs/ListF24ResponseAggregatedData.md +1 -1
- data/docs/ListF24ResponseAggregation.md +8 -0
- data/docs/ReceivedDocument.md +2 -2
- data/docs/{ReceivedDocumentItemsList.md → ReceivedDocumentItemsListItem.md} +2 -2
- data/docs/{ReceivedDocumentPaymentsList.md → ReceivedDocumentPaymentsListItem.md} +2 -2
- data/docs/{ReceivedDocumentPaymentTerms.md → ReceivedDocumentPaymentsListItemPaymentTerms.md} +1 -1
- data/docs/{EmailDataSenderEmailsList.md → SenderEmail.md} +1 -1
- data/fattureincloud_ruby_sdk.gemspec +2 -2
- data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +71 -2
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/user_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api_client.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/configuration.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +315 -80
- data/lib/fattureincloud_ruby_sdk/models/{cashbook_entry_data_document.rb → cashbook_entry_document.rb} +5 -5
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/city.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/client.rb +23 -3
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/default_payment_terms_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/{cashbook_entry_out_data.rb → einvoice_rejection_reason.rb} +55 -20
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +520 -80
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +39 -0
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/{upload_issued_document_attachment_response_data.rb → get_e_invoice_rejection_reason_response.rb} +12 -13
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +53 -18
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/{issued_document_items_list.rb → issued_document_items_list_item.rb} +16 -6
- data/lib/fattureincloud_ruby_sdk/models/{issued_document_payments_list.rb → issued_document_payments_list_item.rb} +16 -6
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals_vat_list.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals_vat_list_vat_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/language.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +10 -9
- data/lib/fattureincloud_ruby_sdk/models/{list_f24_response_aggregated_data_aggregated_data.rb → list_f24_response_aggregation.rb} +12 -13
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/product.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_entity.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/{received_document_items_list.rb → received_document_items_list_item.rb} +6 -5
- data/lib/fattureincloud_ruby_sdk/models/{received_document_payments_list.rb → received_document_payments_list_item.rb} +6 -6
- data/lib/fattureincloud_ruby_sdk/models/{received_document_payment_terms.rb → received_document_payments_list_item_payment_terms.rb} +5 -5
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/{email_data_sender_emails_list.rb → sender_email.rb} +5 -5
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/user.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
- data/lib/fattureincloud_ruby_sdk.rb +13 -17
- data/sdk-version.yaml +1 -1
- data/spec/api/issued_e_invoices_api_spec.rb +21 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/{cashbook_entry_data_document_spec.rb → cashbook_entry_document_spec.rb} +6 -6
- data/spec/models/cashbook_entry_spec.rb +87 -5
- data/spec/models/einvoice_rejection_reason_spec.rb +63 -0
- data/spec/models/entity_spec.rb +234 -5
- data/spec/models/entity_type_spec.rb +28 -0
- data/spec/models/get_e_invoice_rejection_reason_response_spec.rb +41 -0
- data/spec/models/get_receipts_monthly_totals_response_spec.rb +63 -1
- data/spec/models/{issued_document_items_list_spec.rb → issued_document_items_list_item_spec.rb} +6 -6
- data/spec/models/{issued_document_payments_list_spec.rb → issued_document_payments_list_item_spec.rb} +6 -6
- data/spec/models/issued_document_spec.rb +0 -9
- data/spec/models/list_f24_response_aggregated_data_spec.rb +4 -5
- data/spec/models/{list_f24_response_aggregated_data_aggregated_data_spec.rb → list_f24_response_aggregation_spec.rb} +11 -10
- data/spec/models/{received_document_items_list_spec.rb → received_document_items_list_item_spec.rb} +6 -6
- data/spec/models/{received_document_payment_terms_spec.rb → received_document_payments_list_item_payment_terms_spec.rb} +6 -6
- data/spec/models/{received_document_payments_list_spec.rb → received_document_payments_list_item_spec.rb} +6 -6
- data/spec/models/{email_data_sender_emails_list_spec.rb → sender_email_spec.rb} +7 -7
- data/spec/spec_helper.rb +2 -2
- metadata +224 -244
- data/docs/CashbookEntryData.md +0 -14
- data/docs/CashbookEntryIn.md +0 -16
- data/docs/CashbookEntryInData.md +0 -9
- data/docs/CashbookEntryInOut.md +0 -18
- data/docs/CashbookEntryOut.md +0 -16
- data/docs/CashbookEntryOutData.md +0 -9
- data/docs/IssuedDocumentRefersTo.md +0 -12
- data/docs/ListF24ResponseAggregatedDataAggregatedData.md +0 -8
- data/docs/UploadIssuedDocumentAttachmentResponseData.md +0 -8
- data/docs/UploadReceivedDocumentAttachmentResponseData.md +0 -8
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_data.rb +0 -298
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_in.rb +0 -326
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_in_data.rb +0 -229
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_in_out.rb +0 -346
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_out.rb +0 -326
- data/lib/fattureincloud_ruby_sdk/models/issued_document_refers_to.rb +0 -260
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response_data.rb +0 -224
- data/spec/models/cashbook_entry_data_spec.rb +0 -81
- data/spec/models/cashbook_entry_in_data_spec.rb +0 -47
- data/spec/models/cashbook_entry_in_out_spec.rb +0 -113
- data/spec/models/cashbook_entry_in_spec.rb +0 -97
- data/spec/models/cashbook_entry_out_data_spec.rb +0 -43
- data/spec/models/cashbook_entry_out_spec.rb +0 -97
- data/spec/models/issued_document_refers_to_spec.rb +0 -63
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -186,8 +186,6 @@ module FattureInCloud_Ruby_Sdk
|
|
186
186
|
# Notes (for the attached delivery note).
|
187
187
|
attr_accessor :dn_ai_notes
|
188
188
|
|
189
|
-
attr_accessor :refers_to
|
190
|
-
|
191
189
|
# This is true if the document is marked.
|
192
190
|
attr_accessor :is_marked
|
193
191
|
|
@@ -244,6 +242,31 @@ module FattureInCloud_Ruby_Sdk
|
|
244
242
|
# Advanced raw attributes for e-invoices.
|
245
243
|
attr_accessor :ei_raw
|
246
244
|
|
245
|
+
# [Read only] Status of the e-invoice. * `attempt` - We are trying to send the invoice, please wait up to 2 hours * `missing` - The invoice is missing * `not_sent` - The invoice has yet to be sent * `pending` - The checks for the digital signature and sending are in progress * `processing` - The SDI is delivering the invoice to the customer * `error` - An error occurred while handling the invoice, please try to resend it or contact support * `discarded` - The invoice has been rejected by the SDI, so it must be corrected and re-sent * `not_delivered` - The SDI was unable to deliver the invoice * `accepted` - The customer accepted the invoice * `rejected` - The customer rejected the invoice, so it must be corrected * `no_response` - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice
|
246
|
+
attr_accessor :ei_status
|
247
|
+
|
248
|
+
class EnumAttributeValidator
|
249
|
+
attr_reader :datatype
|
250
|
+
attr_reader :allowable_values
|
251
|
+
|
252
|
+
def initialize(datatype, allowable_values)
|
253
|
+
@allowable_values = allowable_values.map do |value|
|
254
|
+
case datatype.to_s
|
255
|
+
when /Integer/i
|
256
|
+
value.to_i
|
257
|
+
when /Float/i
|
258
|
+
value.to_f
|
259
|
+
else
|
260
|
+
value
|
261
|
+
end
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
def valid?(value)
|
266
|
+
!value || allowable_values.include?(value)
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
247
270
|
# Attribute mapping from ruby-style variable name to JSON key.
|
248
271
|
def self.attribute_map
|
249
272
|
{
|
@@ -308,7 +331,6 @@ module FattureInCloud_Ruby_Sdk
|
|
308
331
|
:'dn_ai_destination' => :'dn_ai_destination',
|
309
332
|
:'dn_ai_transporter' => :'dn_ai_transporter',
|
310
333
|
:'dn_ai_notes' => :'dn_ai_notes',
|
311
|
-
:'refers_to' => :'refers_to',
|
312
334
|
:'is_marked' => :'is_marked',
|
313
335
|
:'amount_net' => :'amount_net',
|
314
336
|
:'amount_vat' => :'amount_vat',
|
@@ -327,7 +349,8 @@ module FattureInCloud_Ruby_Sdk
|
|
327
349
|
:'url' => :'url',
|
328
350
|
:'attachment_url' => :'attachment_url',
|
329
351
|
:'attachment_token' => :'attachment_token',
|
330
|
-
:'ei_raw' => :'ei_raw'
|
352
|
+
:'ei_raw' => :'ei_raw',
|
353
|
+
:'ei_status' => :'ei_status'
|
331
354
|
}
|
332
355
|
end
|
333
356
|
|
@@ -377,8 +400,8 @@ module FattureInCloud_Ruby_Sdk
|
|
377
400
|
:'ei_withholding_tax_causal' => :'String',
|
378
401
|
:'ei_other_withholding_tax_type' => :'String',
|
379
402
|
:'ei_other_withholding_tax_causal' => :'String',
|
380
|
-
:'items_list' => :'Array<
|
381
|
-
:'payments_list' => :'Array<
|
403
|
+
:'items_list' => :'Array<IssuedDocumentItemsListItem>',
|
404
|
+
:'payments_list' => :'Array<IssuedDocumentPaymentsListItem>',
|
382
405
|
:'template' => :'DocumentTemplate',
|
383
406
|
:'delivery_note_template' => :'DocumentTemplate',
|
384
407
|
:'acc_inv_template' => :'DocumentTemplate',
|
@@ -400,7 +423,6 @@ module FattureInCloud_Ruby_Sdk
|
|
400
423
|
:'dn_ai_destination' => :'String',
|
401
424
|
:'dn_ai_transporter' => :'String',
|
402
425
|
:'dn_ai_notes' => :'String',
|
403
|
-
:'refers_to' => :'IssuedDocumentRefersTo',
|
404
426
|
:'is_marked' => :'Boolean',
|
405
427
|
:'amount_net' => :'Float',
|
406
428
|
:'amount_vat' => :'Float',
|
@@ -419,7 +441,8 @@ module FattureInCloud_Ruby_Sdk
|
|
419
441
|
:'url' => :'String',
|
420
442
|
:'attachment_url' => :'String',
|
421
443
|
:'attachment_token' => :'String',
|
422
|
-
:'ei_raw' => :'Object'
|
444
|
+
:'ei_raw' => :'Object',
|
445
|
+
:'ei_status' => :'String'
|
423
446
|
}
|
424
447
|
end
|
425
448
|
|
@@ -453,7 +476,7 @@ module FattureInCloud_Ruby_Sdk
|
|
453
476
|
:'seen_date',
|
454
477
|
:'next_due_date',
|
455
478
|
:'attachment_token',
|
456
|
-
:'ei_raw'
|
479
|
+
:'ei_raw',
|
457
480
|
])
|
458
481
|
end
|
459
482
|
|
@@ -736,10 +759,6 @@ module FattureInCloud_Ruby_Sdk
|
|
736
759
|
self.dn_ai_notes = attributes[:'dn_ai_notes']
|
737
760
|
end
|
738
761
|
|
739
|
-
if attributes.key?(:'refers_to')
|
740
|
-
self.refers_to = attributes[:'refers_to']
|
741
|
-
end
|
742
|
-
|
743
762
|
if attributes.key?(:'is_marked')
|
744
763
|
self.is_marked = attributes[:'is_marked']
|
745
764
|
end
|
@@ -815,6 +834,10 @@ module FattureInCloud_Ruby_Sdk
|
|
815
834
|
if attributes.key?(:'ei_raw')
|
816
835
|
self.ei_raw = attributes[:'ei_raw']
|
817
836
|
end
|
837
|
+
|
838
|
+
if attributes.key?(:'ei_status')
|
839
|
+
self.ei_status = attributes[:'ei_status']
|
840
|
+
end
|
818
841
|
end
|
819
842
|
|
820
843
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -917,6 +940,8 @@ module FattureInCloud_Ruby_Sdk
|
|
917
940
|
return false if !@withholding_tax_taxable.nil? && @withholding_tax_taxable < 0
|
918
941
|
return false if !@other_withholding_tax.nil? && @other_withholding_tax > 100
|
919
942
|
return false if !@other_withholding_tax.nil? && @other_withholding_tax < 0
|
943
|
+
ei_status_validator = EnumAttributeValidator.new('String', ["attempt", "missing", "not_sent", "pending", "processing", "error", "discarded", "not_delivered", "accepted", "rejected", "no_response"])
|
944
|
+
return false unless ei_status_validator.valid?(@ei_status)
|
920
945
|
true
|
921
946
|
end
|
922
947
|
|
@@ -1046,6 +1071,16 @@ module FattureInCloud_Ruby_Sdk
|
|
1046
1071
|
@other_withholding_tax = other_withholding_tax
|
1047
1072
|
end
|
1048
1073
|
|
1074
|
+
# Custom attribute writer method checking allowed values (enum).
|
1075
|
+
# @param [Object] ei_status Object to be assigned
|
1076
|
+
def ei_status=(ei_status)
|
1077
|
+
validator = EnumAttributeValidator.new('String', ["attempt", "missing", "not_sent", "pending", "processing", "error", "discarded", "not_delivered", "accepted", "rejected", "no_response"])
|
1078
|
+
unless validator.valid?(ei_status)
|
1079
|
+
fail ArgumentError, "invalid value for \"ei_status\", must be one of #{validator.allowable_values}."
|
1080
|
+
end
|
1081
|
+
@ei_status = ei_status
|
1082
|
+
end
|
1083
|
+
|
1049
1084
|
# Checks equality by comparing each attribute.
|
1050
1085
|
# @param [Object] Object to be compared
|
1051
1086
|
def ==(o)
|
@@ -1112,7 +1147,6 @@ module FattureInCloud_Ruby_Sdk
|
|
1112
1147
|
dn_ai_destination == o.dn_ai_destination &&
|
1113
1148
|
dn_ai_transporter == o.dn_ai_transporter &&
|
1114
1149
|
dn_ai_notes == o.dn_ai_notes &&
|
1115
|
-
refers_to == o.refers_to &&
|
1116
1150
|
is_marked == o.is_marked &&
|
1117
1151
|
amount_net == o.amount_net &&
|
1118
1152
|
amount_vat == o.amount_vat &&
|
@@ -1131,7 +1165,8 @@ module FattureInCloud_Ruby_Sdk
|
|
1131
1165
|
url == o.url &&
|
1132
1166
|
attachment_url == o.attachment_url &&
|
1133
1167
|
attachment_token == o.attachment_token &&
|
1134
|
-
ei_raw == o.ei_raw
|
1168
|
+
ei_raw == o.ei_raw &&
|
1169
|
+
ei_status == o.ei_status
|
1135
1170
|
end
|
1136
1171
|
|
1137
1172
|
# @see the `==` method
|
@@ -1143,7 +1178,7 @@ module FattureInCloud_Ruby_Sdk
|
|
1143
1178
|
# Calculates hash code according to all attributes.
|
1144
1179
|
# @return [Integer] Hash code
|
1145
1180
|
def hash
|
1146
|
-
[id, entity, type, number, numeration, date, year, currency, language, subject, visible_subject, rc_center, notes, rivalsa, cassa, amount_cassa, cassa_taxable, amount_cassa_taxable, cassa2, amount_cassa2, cassa2_taxable, amount_cassa2_taxable, global_cassa_taxable, amount_global_cassa_taxable, withholding_tax, withholding_tax_taxable, other_withholding_tax, stamp_duty, payment_method, use_split_payment, use_gross_prices, e_invoice, ei_data, ei_cassa_type, ei_cassa2_type, ei_withholding_tax_causal, ei_other_withholding_tax_type, ei_other_withholding_tax_causal, items_list, payments_list, template, delivery_note_template, acc_inv_template, h_margins, v_margins, show_payments, show_payment_method, show_totals, show_paypal_button, show_notification_button, show_tspay_button, delivery_note, accompanying_invoice, dn_number, dn_date, dn_ai_packages_number, dn_ai_weight, dn_ai_causal, dn_ai_destination, dn_ai_transporter, dn_ai_notes,
|
1181
|
+
[id, entity, type, number, numeration, date, year, currency, language, subject, visible_subject, rc_center, notes, rivalsa, cassa, amount_cassa, cassa_taxable, amount_cassa_taxable, cassa2, amount_cassa2, cassa2_taxable, amount_cassa2_taxable, global_cassa_taxable, amount_global_cassa_taxable, withholding_tax, withholding_tax_taxable, other_withholding_tax, stamp_duty, payment_method, use_split_payment, use_gross_prices, e_invoice, ei_data, ei_cassa_type, ei_cassa2_type, ei_withholding_tax_causal, ei_other_withholding_tax_type, ei_other_withholding_tax_causal, items_list, payments_list, template, delivery_note_template, acc_inv_template, h_margins, v_margins, show_payments, show_payment_method, show_totals, show_paypal_button, show_notification_button, show_tspay_button, delivery_note, accompanying_invoice, dn_number, dn_date, dn_ai_packages_number, dn_ai_weight, dn_ai_causal, dn_ai_destination, dn_ai_transporter, dn_ai_notes, is_marked, amount_net, amount_vat, amount_gross, amount_due_discount, amount_rivalsa, amount_rivalsa_taxable, amount_withholding_tax, amount_withholding_tax_taxable, amount_other_withholding_tax, amount_other_withholding_tax_taxable, amount_enasarco_taxable, extra_data, seen_date, next_due_date, url, attachment_url, attachment_token, ei_raw, ei_status].hash
|
1147
1182
|
end
|
1148
1183
|
|
1149
1184
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,10 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module FattureInCloud_Ruby_Sdk
|
17
|
-
class
|
17
|
+
class IssuedDocumentItemsListItem
|
18
|
+
# Unique identifier.
|
19
|
+
attr_accessor :id
|
20
|
+
|
18
21
|
# Unique identifier of the product.
|
19
22
|
attr_accessor :product_id
|
20
23
|
|
@@ -64,6 +67,7 @@ module FattureInCloud_Ruby_Sdk
|
|
64
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
65
68
|
def self.attribute_map
|
66
69
|
{
|
70
|
+
:'id' => :'id',
|
67
71
|
:'product_id' => :'product_id',
|
68
72
|
:'code' => :'code',
|
69
73
|
:'name' => :'name',
|
@@ -92,6 +96,7 @@ module FattureInCloud_Ruby_Sdk
|
|
92
96
|
# Attribute type mapping.
|
93
97
|
def self.openapi_types
|
94
98
|
{
|
99
|
+
:'id' => :'Integer',
|
95
100
|
:'product_id' => :'Integer',
|
96
101
|
:'code' => :'String',
|
97
102
|
:'name' => :'String',
|
@@ -126,17 +131,21 @@ module FattureInCloud_Ruby_Sdk
|
|
126
131
|
# @param [Hash] attributes Model attributes in the form of hash
|
127
132
|
def initialize(attributes = {})
|
128
133
|
if (!attributes.is_a?(Hash))
|
129
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::
|
134
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::IssuedDocumentItemsListItem` initialize method"
|
130
135
|
end
|
131
136
|
|
132
137
|
# check to see if the attribute exists and convert string to symbol for hash key
|
133
138
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
134
139
|
if (!self.class.attribute_map.key?(k.to_sym))
|
135
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::
|
140
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::IssuedDocumentItemsListItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
136
141
|
end
|
137
142
|
h[k.to_sym] = v
|
138
143
|
}
|
139
144
|
|
145
|
+
if attributes.key?(:'id')
|
146
|
+
self.id = attributes[:'id']
|
147
|
+
end
|
148
|
+
|
140
149
|
if attributes.key?(:'product_id')
|
141
150
|
self.product_id = attributes[:'product_id']
|
142
151
|
end
|
@@ -256,6 +265,7 @@ module FattureInCloud_Ruby_Sdk
|
|
256
265
|
def ==(o)
|
257
266
|
return true if self.equal?(o)
|
258
267
|
self.class == o.class &&
|
268
|
+
id == o.id &&
|
259
269
|
product_id == o.product_id &&
|
260
270
|
code == o.code &&
|
261
271
|
name == o.name &&
|
@@ -284,7 +294,7 @@ module FattureInCloud_Ruby_Sdk
|
|
284
294
|
# Calculates hash code according to all attributes.
|
285
295
|
# @return [Integer] Hash code
|
286
296
|
def hash
|
287
|
-
[product_id, code, name, category, description, qty, measure, net_price, gross_price, vat, not_taxable, apply_withholding_taxes, discount, discount_highlight, in_ddt, stock, ei_raw].hash
|
297
|
+
[id, product_id, code, name, category, description, qty, measure, net_price, gross_price, vat, not_taxable, apply_withholding_taxes, discount, discount_highlight, in_ddt, stock, ei_raw].hash
|
288
298
|
end
|
289
299
|
|
290
300
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,10 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module FattureInCloud_Ruby_Sdk
|
17
|
-
class
|
17
|
+
class IssuedDocumentPaymentsListItem
|
18
|
+
# Unique identifier.
|
19
|
+
attr_accessor :id
|
20
|
+
|
18
21
|
# Due date.
|
19
22
|
attr_accessor :due_date
|
20
23
|
|
@@ -34,6 +37,7 @@ module FattureInCloud_Ruby_Sdk
|
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
40
|
+
:'id' => :'id',
|
37
41
|
:'due_date' => :'due_date',
|
38
42
|
:'amount' => :'amount',
|
39
43
|
:'status' => :'status',
|
@@ -51,6 +55,7 @@ module FattureInCloud_Ruby_Sdk
|
|
51
55
|
# Attribute type mapping.
|
52
56
|
def self.openapi_types
|
53
57
|
{
|
58
|
+
:'id' => :'Integer',
|
54
59
|
:'due_date' => :'Date',
|
55
60
|
:'amount' => :'Float',
|
56
61
|
:'status' => :'IssuedDocumentStatus',
|
@@ -72,17 +77,21 @@ module FattureInCloud_Ruby_Sdk
|
|
72
77
|
# @param [Hash] attributes Model attributes in the form of hash
|
73
78
|
def initialize(attributes = {})
|
74
79
|
if (!attributes.is_a?(Hash))
|
75
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::
|
80
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::IssuedDocumentPaymentsListItem` initialize method"
|
76
81
|
end
|
77
82
|
|
78
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
84
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
85
|
if (!self.class.attribute_map.key?(k.to_sym))
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::
|
86
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::IssuedDocumentPaymentsListItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
82
87
|
end
|
83
88
|
h[k.to_sym] = v
|
84
89
|
}
|
85
90
|
|
91
|
+
if attributes.key?(:'id')
|
92
|
+
self.id = attributes[:'id']
|
93
|
+
end
|
94
|
+
|
86
95
|
if attributes.key?(:'due_date')
|
87
96
|
self.due_date = attributes[:'due_date']
|
88
97
|
end
|
@@ -128,6 +137,7 @@ module FattureInCloud_Ruby_Sdk
|
|
128
137
|
def ==(o)
|
129
138
|
return true if self.equal?(o)
|
130
139
|
self.class == o.class &&
|
140
|
+
id == o.id &&
|
131
141
|
due_date == o.due_date &&
|
132
142
|
amount == o.amount &&
|
133
143
|
status == o.status &&
|
@@ -145,7 +155,7 @@ module FattureInCloud_Ruby_Sdk
|
|
145
155
|
# Calculates hash code according to all attributes.
|
146
156
|
# @return [Integer] Hash code
|
147
157
|
def hash
|
148
|
-
[due_date, amount, status, payment_account, paid_date, ei_raw].hash
|
158
|
+
[id, due_date, amount, status, payment_account, paid_date, ei_raw].hash
|
149
159
|
end
|
150
160
|
|
151
161
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.11
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|