kintsugi_sdk 5.6.1 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kintsugi_sdk/addressvalidation.rb +27 -25
- data/lib/kintsugi_sdk/customers.rb +133 -131
- data/lib/kintsugi_sdk/exemptions.rb +94 -94
- data/lib/kintsugi_sdk/models/errors/apierror.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_address_validation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_customers_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_exemptions_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/{backend_src_products_responses_validationerrorresponse.rb → backend_src_products_schemas_responses_validationerrorresponse.rb} +3 -3
- data/lib/kintsugi_sdk/models/errors/backend_src_products_schemas_responses_validationerrorresponse.rbi +13 -0
- data/lib/kintsugi_sdk/models/errors/backend_src_tax_estimation_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/backend_src_transactions_responses_validationerrorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/errorresponse.rb +1 -1
- data/lib/kintsugi_sdk/models/errors/httpvalidationerror.rb +1 -1
- data/lib/kintsugi_sdk/models/errors.rb +1 -1
- data/lib/kintsugi_sdk/models/ops/{search_v1_address_validation_search_post_security.rb → country.rb} +3 -8
- data/lib/kintsugi_sdk/models/{shared/registration.rbi → ops/country.rbi} +2 -2
- data/lib/kintsugi_sdk/models/ops/country_code.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/country_code.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_customer_v1_customers_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_exemption_v1_exemptions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/create_transaction_v1_transactions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/estimate_tax_v1_tax_estimate_post_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_external_id_v1_customers_external_external_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_customer_by_id_v1_customers_customer_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rb +13 -5
- data/lib/kintsugi_sdk/models/ops/get_customers_v1_request.rbi +4 -0
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_exemption_by_id_v1_exemptions_exemption_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb +19 -11
- data/lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rbi +6 -2
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb +29 -13
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rbi +14 -6
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_response_get_nexus_for_org_v1_nexus_get.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_product_by_id_v1_products_product_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/get_transaction_by_id_v1_transactions_transaction_id_get_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb +44 -18
- data/lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rbi +14 -4
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/getexemptionattachments_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionbyexternalid_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rb +14 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_request.rbi +6 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbycustomer_response_get_transactions_by_customer_id_v1_cus_6a2c85.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/gettransactionsbyfiling_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/queryparam_country.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rb +36 -0
- data/lib/kintsugi_sdk/models/ops/suggestions_v1_address_validation_suggestions_post_request.rbi +15 -0
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_customer_v1_customers_customer_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rb +27 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_product.rbi +11 -0
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rb +9 -5
- data/lib/kintsugi_sdk/models/ops/update_product_v1_products_product_id_put_request.rbi +4 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/update_transaction_v1_transactions_transaction_id_put_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rb +6 -2
- data/lib/kintsugi_sdk/models/ops/uploadexemptioncert_request.rbi +2 -0
- data/lib/kintsugi_sdk/models/ops.rb +10 -1
- data/lib/kintsugi_sdk/models/shared/addressbase.rb +1 -1
- data/lib/kintsugi_sdk/models/shared/addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/backend_src_address_validation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_customers_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rb → backend_src_exemptions_schemas_exemption_exemptionread.rb} +15 -10
- data/lib/kintsugi_sdk/models/shared/{backend_src_exemptions_models_exemptionread.rbi → backend_src_exemptions_schemas_exemption_exemptionread.rbi} +6 -4
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/backend_src_exemptions_serializers_exemptionread.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rb → backend_src_products_schemas_responses_validationerroritem.rb} +3 -3
- data/lib/kintsugi_sdk/models/shared/{backend_src_products_responses_validationerroritem.rbi → backend_src_products_schemas_responses_validationerroritem.rbi} +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_tax_estimation_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/backend_src_transactions_responses_validationerroritem.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/body_upload_exemption_certificate_v1_exemptions_exemption_id_attachments_post.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/{registration.rb → context.rb} +1 -1
- data/lib/kintsugi_sdk/models/shared/context.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/conversion_rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/converted_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/currencyenum.rb +1 -1
- data/lib/kintsugi_sdk/models/shared/customer.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/customer.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/customerbase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasebase.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rb +16 -12
- data/lib/kintsugi_sdk/models/shared/customerbasepublic.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/customercreate.rb +20 -16
- data/lib/kintsugi_sdk/models/shared/customercreate.rbi +8 -6
- data/lib/kintsugi_sdk/models/shared/customerread.rb +24 -16
- data/lib/kintsugi_sdk/models/shared/customerread.rbi +10 -6
- data/lib/kintsugi_sdk/models/shared/customerupdate.rb +13 -9
- data/lib/kintsugi_sdk/models/shared/customerupdate.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/discount_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/discount_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/discountbuilder.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rb +20 -0
- data/lib/kintsugi_sdk/models/shared/disregardedtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rb +21 -0
- data/lib/kintsugi_sdk/models/shared/documenttypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/exemptioncreate.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rb +22 -2
- data/lib/kintsugi_sdk/models/shared/exemptionrequired.rbi +10 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rb +46 -0
- data/lib/kintsugi_sdk/models/shared/exemptionsourceenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/exemptiontype.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/fastapi_pagination_default_page_exemptionread_2.rb +2 -2
- data/lib/kintsugi_sdk/models/shared/loc.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/loc.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rb +130 -90
- data/lib/kintsugi_sdk/models/shared/nexusresponse.rbi +58 -44
- data/lib/kintsugi_sdk/models/shared/nexustypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/periodmodelenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/processingstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productread.rb +41 -15
- data/lib/kintsugi_sdk/models/shared/productread.rbi +18 -4
- data/lib/kintsugi_sdk/models/shared/productstatusenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/productupdate.rb +6 -6
- data/lib/kintsugi_sdk/models/shared/productupdate.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rb +64 -0
- data/lib/kintsugi_sdk/models/shared/productupdatev2.rbi +29 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/quantity_of_the_product_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/rate.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/rate.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/relatedentitytype.rb +4 -0
- data/lib/kintsugi_sdk/models/shared/security.rb +3 -7
- data/lib/kintsugi_sdk/models/shared/security.rbi +0 -2
- data/lib/kintsugi_sdk/models/shared/sourceenum.rb +23 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxexemptionenum.rb +2 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rb +14 -14
- data/lib/kintsugi_sdk/models/shared/taxitembuilder.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/taxitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemestimate.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemread.rb +10 -10
- data/lib/kintsugi_sdk/models/shared/taxitemread.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/taxitemreturnreasonenum.rb +3 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rb +30 -0
- data/lib/kintsugi_sdk/models/shared/taxtypeenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_amount_of_this_transaction_item_after_discounts_.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressbuilder.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rb +8 -4
- data/lib/kintsugi_sdk/models/shared/transactionaddresspublic.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rb +11 -7
- data/lib/kintsugi_sdk/models/shared/transactionaddressread_output.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rb +89 -79
- data/lib/kintsugi_sdk/models/shared/transactioncreate.rbi +36 -28
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rb +19 -0
- data/lib/kintsugi_sdk/models/shared/transactiondirectionenum.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/{exemption.rb → transactionembeddedexemption.rb} +38 -16
- data/lib/kintsugi_sdk/models/shared/{exemption.rbi → transactionembeddedexemption.rbi} +12 -6
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rb +10 -8
- data/lib/kintsugi_sdk/models/shared/transactionestimatepublicrequest.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rb +11 -9
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse.rbi +2 -2
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rb +7 -3
- data/lib/kintsugi_sdk/models/shared/transactionestimateresponse_addresses.rbi +2 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rb +104 -0
- data/lib/kintsugi_sdk/models/shared/transactionimportcustomer.rbi +49 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rb +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder.rbi +22 -20
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_quantity.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitembuilder_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rb +57 -53
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate.rbi +22 -20
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_subtotal.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_converted_total_discount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemcreateupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rb +15 -7
- data/lib/kintsugi_sdk/models/shared/transactionitemestimatebase.rbi +4 -2
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rb +18 -10
- data/lib/kintsugi_sdk/models/shared/transactionitemestimateresponse.rbi +6 -4
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rb +64 -44
- data/lib/kintsugi_sdk/models/shared/transactionitemread.rbi +28 -18
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rb +69 -63
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest.rbi +30 -24
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionpublicrequest_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionread.rb +107 -73
- data/lib/kintsugi_sdk/models/shared/transactionread.rbi +48 -28
- data/lib/kintsugi_sdk/models/shared/transactiontypeenum.rb +1 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rb +68 -62
- data/lib/kintsugi_sdk/models/shared/transactionupdate.rbi +30 -24
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_tax_rate_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_taxable_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_calculated.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_amount_imported.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rb +27 -0
- data/lib/kintsugi_sdk/models/shared/transactionupdate_total_tax_liability_amount.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rb +24 -0
- data/lib/kintsugi_sdk/models/shared/usetaxregistrationpath.rbi +11 -0
- data/lib/kintsugi_sdk/models/shared/validationaddress.rb +12 -12
- data/lib/kintsugi_sdk/models/shared/validationaddress.rbi +4 -4
- data/lib/kintsugi_sdk/models/shared/validationerror.rb +11 -3
- data/lib/kintsugi_sdk/models/shared/validationerror.rbi +4 -0
- data/lib/kintsugi_sdk/models/shared.rb +75 -6
- data/lib/kintsugi_sdk/nexus.rb +9 -9
- data/lib/kintsugi_sdk/openapisdk.rb +10 -10
- data/lib/kintsugi_sdk/products.rb +28 -26
- data/lib/kintsugi_sdk/sdk_hooks/hooks.rb +1 -1
- data/lib/kintsugi_sdk/sdk_hooks/types.rb +14 -14
- data/lib/kintsugi_sdk/sdkconfiguration.rb +22 -22
- data/lib/kintsugi_sdk/taxestimation.rb +15 -15
- data/lib/kintsugi_sdk/transactions.rb +113 -113
- data/lib/kintsugi_sdk/utils/forms.rb +23 -23
- data/lib/kintsugi_sdk/utils/headers.rb +4 -4
- data/lib/kintsugi_sdk/utils/query_params.rb +14 -14
- data/lib/kintsugi_sdk/utils/request_bodies.rb +7 -7
- data/lib/kintsugi_sdk/utils/retries.rb +42 -3
- data/lib/kintsugi_sdk/utils/security.rb +16 -16
- data/lib/kintsugi_sdk/utils/url.rb +6 -6
- data/lib/kintsugi_sdk/utils/utils.rb +37 -33
- data/lib/kintsugi_sdk.rb +1 -1
- metadata +174 -18
- data/lib/kintsugi_sdk/models/errors/backend_src_products_responses_validationerrorresponse.rbi +0 -13
- data/lib/kintsugi_sdk/models/ops/search_v1_address_validation_search_post_security.rbi +0 -13
- data/lib/kintsugi_sdk/models/shared/file.rb +0 -36
- data/lib/kintsugi_sdk/models/shared/file.rbi +0 -15
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rb +0 -48
- data/lib/kintsugi_sdk/models/shared/page_transactionestimateresponse_.rbi +0 -21
|
@@ -19,7 +19,7 @@ module KintsugiSDK
|
|
|
19
19
|
# External identifier of the transaction.
|
|
20
20
|
field :external_id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_id'), required: true } }
|
|
21
21
|
# Transaction date and time
|
|
22
|
-
field :date, ::
|
|
22
|
+
field :date, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('date'), required: true } }
|
|
23
23
|
# The unique transaction identifier.
|
|
24
24
|
field :id, ::String, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('id'), required: true } }
|
|
25
25
|
# List of addresses associated.
|
|
@@ -28,28 +28,39 @@ module KintsugiSDK
|
|
|
28
28
|
field :transaction_items, Crystalline::Array.new(Models::Shared::TransactionItemRead), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('transaction_items'), required: true } }
|
|
29
29
|
|
|
30
30
|
field :type, Models::Shared::TransactionTypeEnum, { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('type'), required: true, 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TransactionTypeEnum, false) } }
|
|
31
|
+
# ISO-4217 currency code. Pair with a monetary amount on the same object.
|
|
32
|
+
field :currency, Crystalline::Nilable.new(Models::Shared::CurrencyEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('currency'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CurrencyEnum, true) } }
|
|
33
|
+
|
|
34
|
+
field :source, Crystalline::Nilable.new(Models::Shared::SourceEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('source'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::SourceEnum, true) } }
|
|
35
|
+
|
|
36
|
+
field :status, Crystalline::Nilable.new(Models::Shared::TransactionStatusEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TransactionStatusEnum, true) } }
|
|
31
37
|
|
|
38
|
+
field :address_status, Crystalline::Nilable.new(Models::Shared::AddressStatus), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('address_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::AddressStatus, true) } }
|
|
39
|
+
# Our transaction state, used to determine when/if a transaction needs additional
|
|
40
|
+
# processing.
|
|
41
|
+
field :processing_status, Crystalline::Nilable.new(Models::Shared::ProcessingStatusEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('processing_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::ProcessingStatusEnum, true) } }
|
|
42
|
+
|
|
43
|
+
field :direction, Crystalline::Nilable.new(Models::Shared::TransactionDirectionEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('direction'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TransactionDirectionEnum, true) } }
|
|
44
|
+
# Indicates if transaction requires tax exemption.
|
|
32
45
|
field :requires_exemption, Crystalline::Nilable.new(Models::Shared::ExemptionRequired), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('requires_exemption') } }
|
|
33
46
|
# Transaction date in the shop's local timezone
|
|
34
|
-
field :shop_date, Crystalline::Nilable.new(::
|
|
47
|
+
field :shop_date, Crystalline::Nilable.new(::Date), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('shop_date'), 'decoder': ::KintsugiSDK::Utils.date_from_iso_format(true) } }
|
|
35
48
|
# Timezone of the shop
|
|
36
49
|
field :shop_date_tz, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('shop_date_tz') } }
|
|
37
50
|
# Description of the transaction.
|
|
38
51
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('description') } }
|
|
39
|
-
#
|
|
40
|
-
# If the given order has different status from these 2, we will set the
|
|
41
|
-
# transaction's refund_status to PARTIALLY_REFUNDED by default.
|
|
52
|
+
# Status of refund, if applicable
|
|
42
53
|
field :refund_status, Crystalline::Nilable.new(Models::Shared::TransactionRefundStatus), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('refund_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TransactionRefundStatus, true) } }
|
|
54
|
+
# Total amount of the transaction.
|
|
55
|
+
field :total_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_amount') } }
|
|
43
56
|
# Unique identifier of the customer.
|
|
44
57
|
field :customer_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('customer_id') } }
|
|
45
|
-
#
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
# FULLY_EXEMPT: All items sold in the transaction are EXEMPT
|
|
49
|
-
# ZERO_RATE_NOT_EXEMPT: All items sold in the transaction are zero-rated
|
|
58
|
+
# Indicates if transaction is marketplace-based.
|
|
59
|
+
field :marketplace, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('marketplace') } }
|
|
60
|
+
# Exemption status (e.g., NOT_EXEMPT)
|
|
50
61
|
field :exempt, Crystalline::Nilable.new(Models::Shared::TransactionExemptStatusEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exempt'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TransactionExemptStatusEnum, true) } }
|
|
51
62
|
# List of exemptions applied (if any).
|
|
52
|
-
field :exemptions, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::
|
|
63
|
+
field :exemptions, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::TransactionEmbeddedExemption)), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('exemptions') } }
|
|
53
64
|
# Related transaction identifier.
|
|
54
65
|
field :related_to, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('related_to') } }
|
|
55
66
|
# Secondary External Identifier.
|
|
@@ -58,12 +69,24 @@ module KintsugiSDK
|
|
|
58
69
|
field :secondary_source, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('secondary_source') } }
|
|
59
70
|
# Friendly identifier of the original item.
|
|
60
71
|
field :external_friendly_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('external_friendly_id') } }
|
|
61
|
-
|
|
72
|
+
# Imported tax amount.
|
|
73
|
+
field :total_tax_amount_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_amount_imported') } }
|
|
74
|
+
# Imported tax rate.
|
|
75
|
+
field :tax_rate_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_imported') } }
|
|
76
|
+
# Calculated tax amount.
|
|
77
|
+
field :total_tax_amount_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_amount_calculated') } }
|
|
78
|
+
# Calculated tax rate.
|
|
79
|
+
field :tax_rate_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_calculated') } }
|
|
80
|
+
# Total tax liability amount.
|
|
81
|
+
field :total_tax_liability_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_liability_amount') } }
|
|
82
|
+
# Source of tax liability.
|
|
62
83
|
field :tax_liability_source, Crystalline::Nilable.new(Models::Shared::TaxLiabilitySourceEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_liability_source'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::TaxLiabilitySourceEnum, true) } }
|
|
63
|
-
|
|
64
|
-
field :
|
|
65
|
-
|
|
66
|
-
field :
|
|
84
|
+
# Taxable amount.
|
|
85
|
+
field :taxable_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('taxable_amount') } }
|
|
86
|
+
# Whether source amounts include tax. NULL means the source did not say.
|
|
87
|
+
field :is_tax_inclusive, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_tax_inclusive') } }
|
|
88
|
+
# Transaction lock status.
|
|
89
|
+
field :locked, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('locked') } }
|
|
67
90
|
# Connection Identifier
|
|
68
91
|
field :connection_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('connection_id') } }
|
|
69
92
|
# Filing identifier.
|
|
@@ -74,7 +97,7 @@ module KintsugiSDK
|
|
|
74
97
|
field :county, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('county') } }
|
|
75
98
|
# State of the transaction address.
|
|
76
99
|
field :state, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('state') } }
|
|
77
|
-
|
|
100
|
+
# Country code (ISO Alpha-2).
|
|
78
101
|
field :country, Crystalline::Nilable.new(Models::Shared::CountryCodeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('country'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CountryCodeEnum, true) } }
|
|
79
102
|
# Postal code of the transaction.
|
|
80
103
|
field :postal_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('postal_code') } }
|
|
@@ -82,14 +105,13 @@ module KintsugiSDK
|
|
|
82
105
|
#
|
|
83
106
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
84
107
|
field :tax_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_id') } }
|
|
108
|
+
# Document type distinguishing invoices from sales orders.
|
|
109
|
+
field :document_type, Crystalline::Nilable.new(Models::Shared::DocumentTypeEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('document_type'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::DocumentTypeEnum, true) } }
|
|
110
|
+
# Identifier of the invoice that created from a sales order.
|
|
111
|
+
field :created_from, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('created_from') } }
|
|
85
112
|
|
|
86
|
-
field :
|
|
87
|
-
|
|
88
|
-
field :address_status, Crystalline::Nilable.new(Models::Shared::AddressStatus), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('address_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::AddressStatus, true) } }
|
|
89
|
-
# Our transaction state, used to determine when/if a transaction needs additional
|
|
90
|
-
# processing.
|
|
91
|
-
field :processing_status, Crystalline::Nilable.new(Models::Shared::ProcessingStatusEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('processing_status'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::ProcessingStatusEnum, true) } }
|
|
92
|
-
|
|
113
|
+
field :is_duplicate, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_duplicate') } }
|
|
114
|
+
# Destination currency code (ISO 4217, e.g., USD)
|
|
93
115
|
field :destination_currency, Crystalline::Nilable.new(Models::Shared::CurrencyEnum), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('destination_currency'), 'decoder': ::KintsugiSDK::Utils.enum_from_string(Models::Shared::CurrencyEnum, true) } }
|
|
94
116
|
# Converted total amount.
|
|
95
117
|
field :converted_total_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_total_amount') } }
|
|
@@ -107,7 +129,17 @@ module KintsugiSDK
|
|
|
107
129
|
field :converted_subtotal, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_subtotal') } }
|
|
108
130
|
# Converted total tax liability amount.
|
|
109
131
|
field :converted_total_tax_liability_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_total_tax_liability_amount') } }
|
|
110
|
-
|
|
132
|
+
# Display name of the store when the organization has multiple stores for a source.
|
|
133
|
+
field :store_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('store_name') } }
|
|
134
|
+
# Whether this transaction was deferred (rolled over) from a prior filing period.
|
|
135
|
+
field :is_deferred_transaction, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('is_deferred_transaction') } }
|
|
136
|
+
# Recoverable input VAT across this transaction's lines, in the transaction's currency. 0.00 for sales and outside the EU and UK.
|
|
137
|
+
field :total_recoverable_input_vat, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_recoverable_input_vat') } }
|
|
138
|
+
# Recoverable input VAT across this transaction's lines in the destination currency. Null when the transaction is unconverted.
|
|
139
|
+
field :converted_total_recoverable_input_vat, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_total_recoverable_input_vat') } }
|
|
140
|
+
# Pro-rata coefficient 0-100 used to scale recoverable input VAT on this purchase. Null for sales and outside the EU and UK. 100 when the organization has no partial exemption rate for the tax-point year.
|
|
141
|
+
field :input_vat_recovery_rate, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('input_vat_recovery_rate') } }
|
|
142
|
+
# Customer information associated with the transaction.
|
|
111
143
|
field :customer, Crystalline::Nilable.new(Models::Shared::CustomerRead), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('customer') } }
|
|
112
144
|
# Total amount of all discounts applied to the transaction.
|
|
113
145
|
field :total_discount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_discount') } }
|
|
@@ -117,27 +149,9 @@ module KintsugiSDK
|
|
|
117
149
|
field :final_total_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('final_total_amount') } }
|
|
118
150
|
# Converted final total amount including tax liability.
|
|
119
151
|
field :converted_final_total_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('converted_final_total_amount') } }
|
|
120
|
-
# Total amount of the transaction.
|
|
121
|
-
field :total_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_amount') } }
|
|
122
|
-
# Indicates if transaction is marketplace-based.
|
|
123
|
-
field :marketplace, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('marketplace') } }
|
|
124
|
-
# Imported tax amount.
|
|
125
|
-
field :total_tax_amount_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_amount_imported') } }
|
|
126
|
-
# Imported tax rate.
|
|
127
|
-
field :tax_rate_imported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_imported') } }
|
|
128
|
-
# Calculated tax amount.
|
|
129
|
-
field :total_tax_amount_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_amount_calculated') } }
|
|
130
|
-
# Calculated tax rate.
|
|
131
|
-
field :tax_rate_calculated, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('tax_rate_calculated') } }
|
|
132
|
-
# Total tax liability amount.
|
|
133
|
-
field :total_tax_liability_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('total_tax_liability_amount') } }
|
|
134
|
-
# Taxable amount.
|
|
135
|
-
field :taxable_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('taxable_amount') } }
|
|
136
|
-
# Transaction lock status.
|
|
137
|
-
field :locked, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::KintsugiSDK::Utils.field_name('locked') } }
|
|
138
152
|
|
|
139
|
-
sig { params(organization_id: ::String, external_id: ::String, date: ::
|
|
140
|
-
def initialize(organization_id:, external_id:, date:, id:, addresses:, transaction_items:, type:, requires_exemption: nil, shop_date: nil, shop_date_tz: nil, description: nil, refund_status: nil, customer_id: nil, exempt: nil, exemptions: nil, related_to: nil, secondary_external_id: nil, secondary_source: nil, external_friendly_id: nil, tax_liability_source: nil,
|
|
153
|
+
sig { params(organization_id: ::String, external_id: ::String, date: ::String, id: ::String, addresses: T::Array[Models::Shared::TransactionAddressReadOutput], transaction_items: T::Array[Models::Shared::TransactionItemRead], type: Models::Shared::TransactionTypeEnum, currency: T.nilable(Models::Shared::CurrencyEnum), source: T.nilable(Models::Shared::SourceEnum), status: T.nilable(Models::Shared::TransactionStatusEnum), address_status: T.nilable(Models::Shared::AddressStatus), processing_status: T.nilable(Models::Shared::ProcessingStatusEnum), direction: T.nilable(Models::Shared::TransactionDirectionEnum), requires_exemption: T.nilable(Models::Shared::ExemptionRequired), shop_date: T.nilable(::Date), shop_date_tz: T.nilable(::String), description: T.nilable(::String), refund_status: T.nilable(Models::Shared::TransactionRefundStatus), total_amount: T.nilable(::String), customer_id: T.nilable(::String), marketplace: T.nilable(T::Boolean), exempt: T.nilable(Models::Shared::TransactionExemptStatusEnum), exemptions: T.nilable(T::Array[Models::Shared::TransactionEmbeddedExemption]), related_to: T.nilable(::String), secondary_external_id: T.nilable(::String), secondary_source: T.nilable(::String), external_friendly_id: T.nilable(::String), total_tax_amount_imported: T.nilable(::String), tax_rate_imported: T.nilable(::String), total_tax_amount_calculated: T.nilable(::String), tax_rate_calculated: T.nilable(::String), total_tax_liability_amount: T.nilable(::String), tax_liability_source: T.nilable(Models::Shared::TaxLiabilitySourceEnum), taxable_amount: T.nilable(::String), is_tax_inclusive: T.nilable(T::Boolean), locked: T.nilable(T::Boolean), connection_id: T.nilable(::String), filing_id: T.nilable(::String), city: T.nilable(::String), county: T.nilable(::String), state: T.nilable(::String), country: T.nilable(Models::Shared::CountryCodeEnum), postal_code: T.nilable(::String), tax_id: T.nilable(::String), document_type: T.nilable(Models::Shared::DocumentTypeEnum), created_from: T.nilable(::String), is_duplicate: T.nilable(T::Boolean), destination_currency: T.nilable(Models::Shared::CurrencyEnum), converted_total_amount: T.nilable(::String), converted_total_tax_amount_imported: T.nilable(::String), converted_total_tax_amount_calculated: T.nilable(::String), conversion_rate: T.nilable(::String), converted_taxable_amount: T.nilable(::String), converted_total_discount: T.nilable(::String), converted_subtotal: T.nilable(::String), converted_total_tax_liability_amount: T.nilable(::String), store_name: T.nilable(::String), is_deferred_transaction: T.nilable(T::Boolean), total_recoverable_input_vat: T.nilable(::String), converted_total_recoverable_input_vat: T.nilable(::String), input_vat_recovery_rate: T.nilable(::String), customer: T.nilable(Models::Shared::CustomerRead), total_discount: T.nilable(::String), subtotal: T.nilable(::String), final_total_amount: T.nilable(::String), converted_final_total_amount: T.nilable(::String)).void }
|
|
154
|
+
def initialize(organization_id:, external_id:, date:, id:, addresses:, transaction_items:, type:, currency: nil, source: nil, status: nil, address_status: nil, processing_status: nil, direction: nil, requires_exemption: nil, shop_date: nil, shop_date_tz: nil, description: nil, refund_status: nil, total_amount: '0.00', customer_id: nil, marketplace: nil, exempt: nil, exemptions: nil, related_to: nil, secondary_external_id: nil, secondary_source: nil, external_friendly_id: nil, total_tax_amount_imported: '0.00', tax_rate_imported: '0.00', total_tax_amount_calculated: '0.00', tax_rate_calculated: '0.00', total_tax_liability_amount: '0.00', tax_liability_source: nil, taxable_amount: '0.00', is_tax_inclusive: nil, locked: false, connection_id: nil, filing_id: nil, city: nil, county: nil, state: nil, country: nil, postal_code: nil, tax_id: nil, document_type: nil, created_from: nil, is_duplicate: false, destination_currency: nil, converted_total_amount: nil, converted_total_tax_amount_imported: nil, converted_total_tax_amount_calculated: nil, conversion_rate: nil, converted_taxable_amount: nil, converted_total_discount: nil, converted_subtotal: nil, converted_total_tax_liability_amount: nil, store_name: nil, is_deferred_transaction: false, total_recoverable_input_vat: '0.00', converted_total_recoverable_input_vat: nil, input_vat_recovery_rate: nil, customer: nil, total_discount: nil, subtotal: nil, final_total_amount: nil, converted_final_total_amount: nil)
|
|
141
155
|
@organization_id = organization_id
|
|
142
156
|
@external_id = external_id
|
|
143
157
|
@date = date
|
|
@@ -145,21 +159,35 @@ module KintsugiSDK
|
|
|
145
159
|
@addresses = addresses
|
|
146
160
|
@transaction_items = transaction_items
|
|
147
161
|
@type = type
|
|
162
|
+
@currency = currency
|
|
163
|
+
@source = source
|
|
164
|
+
@status = status
|
|
165
|
+
@address_status = address_status
|
|
166
|
+
@processing_status = processing_status
|
|
167
|
+
@direction = direction
|
|
148
168
|
@requires_exemption = requires_exemption
|
|
149
169
|
@shop_date = shop_date
|
|
150
170
|
@shop_date_tz = shop_date_tz
|
|
151
171
|
@description = description
|
|
152
172
|
@refund_status = refund_status
|
|
173
|
+
@total_amount = total_amount
|
|
153
174
|
@customer_id = customer_id
|
|
175
|
+
@marketplace = marketplace
|
|
154
176
|
@exempt = exempt
|
|
155
177
|
@exemptions = exemptions
|
|
156
178
|
@related_to = related_to
|
|
157
179
|
@secondary_external_id = secondary_external_id
|
|
158
180
|
@secondary_source = secondary_source
|
|
159
181
|
@external_friendly_id = external_friendly_id
|
|
182
|
+
@total_tax_amount_imported = total_tax_amount_imported
|
|
183
|
+
@tax_rate_imported = tax_rate_imported
|
|
184
|
+
@total_tax_amount_calculated = total_tax_amount_calculated
|
|
185
|
+
@tax_rate_calculated = tax_rate_calculated
|
|
186
|
+
@total_tax_liability_amount = total_tax_liability_amount
|
|
160
187
|
@tax_liability_source = tax_liability_source
|
|
161
|
-
@
|
|
162
|
-
@
|
|
188
|
+
@taxable_amount = taxable_amount
|
|
189
|
+
@is_tax_inclusive = is_tax_inclusive
|
|
190
|
+
@locked = locked
|
|
163
191
|
@connection_id = connection_id
|
|
164
192
|
@filing_id = filing_id
|
|
165
193
|
@city = city
|
|
@@ -168,9 +196,9 @@ module KintsugiSDK
|
|
|
168
196
|
@country = country
|
|
169
197
|
@postal_code = postal_code
|
|
170
198
|
@tax_id = tax_id
|
|
171
|
-
@
|
|
172
|
-
@
|
|
173
|
-
@
|
|
199
|
+
@document_type = document_type
|
|
200
|
+
@created_from = created_from
|
|
201
|
+
@is_duplicate = is_duplicate
|
|
174
202
|
@destination_currency = destination_currency
|
|
175
203
|
@converted_total_amount = converted_total_amount
|
|
176
204
|
@converted_total_tax_amount_imported = converted_total_tax_amount_imported
|
|
@@ -180,20 +208,16 @@ module KintsugiSDK
|
|
|
180
208
|
@converted_total_discount = converted_total_discount
|
|
181
209
|
@converted_subtotal = converted_subtotal
|
|
182
210
|
@converted_total_tax_liability_amount = converted_total_tax_liability_amount
|
|
211
|
+
@store_name = store_name
|
|
212
|
+
@is_deferred_transaction = is_deferred_transaction
|
|
213
|
+
@total_recoverable_input_vat = total_recoverable_input_vat
|
|
214
|
+
@converted_total_recoverable_input_vat = converted_total_recoverable_input_vat
|
|
215
|
+
@input_vat_recovery_rate = input_vat_recovery_rate
|
|
183
216
|
@customer = customer
|
|
184
217
|
@total_discount = total_discount
|
|
185
218
|
@subtotal = subtotal
|
|
186
219
|
@final_total_amount = final_total_amount
|
|
187
220
|
@converted_final_total_amount = converted_final_total_amount
|
|
188
|
-
@total_amount = total_amount
|
|
189
|
-
@marketplace = marketplace
|
|
190
|
-
@total_tax_amount_imported = total_tax_amount_imported
|
|
191
|
-
@tax_rate_imported = tax_rate_imported
|
|
192
|
-
@total_tax_amount_calculated = total_tax_amount_calculated
|
|
193
|
-
@tax_rate_calculated = tax_rate_calculated
|
|
194
|
-
@total_tax_liability_amount = total_tax_liability_amount
|
|
195
|
-
@taxable_amount = taxable_amount
|
|
196
|
-
@locked = locked
|
|
197
221
|
end
|
|
198
222
|
|
|
199
223
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -206,21 +230,35 @@ module KintsugiSDK
|
|
|
206
230
|
return false unless @addresses == other.addresses
|
|
207
231
|
return false unless @transaction_items == other.transaction_items
|
|
208
232
|
return false unless @type == other.type
|
|
233
|
+
return false unless @currency == other.currency
|
|
234
|
+
return false unless @source == other.source
|
|
235
|
+
return false unless @status == other.status
|
|
236
|
+
return false unless @address_status == other.address_status
|
|
237
|
+
return false unless @processing_status == other.processing_status
|
|
238
|
+
return false unless @direction == other.direction
|
|
209
239
|
return false unless @requires_exemption == other.requires_exemption
|
|
210
240
|
return false unless @shop_date == other.shop_date
|
|
211
241
|
return false unless @shop_date_tz == other.shop_date_tz
|
|
212
242
|
return false unless @description == other.description
|
|
213
243
|
return false unless @refund_status == other.refund_status
|
|
244
|
+
return false unless @total_amount == other.total_amount
|
|
214
245
|
return false unless @customer_id == other.customer_id
|
|
246
|
+
return false unless @marketplace == other.marketplace
|
|
215
247
|
return false unless @exempt == other.exempt
|
|
216
248
|
return false unless @exemptions == other.exemptions
|
|
217
249
|
return false unless @related_to == other.related_to
|
|
218
250
|
return false unless @secondary_external_id == other.secondary_external_id
|
|
219
251
|
return false unless @secondary_source == other.secondary_source
|
|
220
252
|
return false unless @external_friendly_id == other.external_friendly_id
|
|
253
|
+
return false unless @total_tax_amount_imported == other.total_tax_amount_imported
|
|
254
|
+
return false unless @tax_rate_imported == other.tax_rate_imported
|
|
255
|
+
return false unless @total_tax_amount_calculated == other.total_tax_amount_calculated
|
|
256
|
+
return false unless @tax_rate_calculated == other.tax_rate_calculated
|
|
257
|
+
return false unless @total_tax_liability_amount == other.total_tax_liability_amount
|
|
221
258
|
return false unless @tax_liability_source == other.tax_liability_source
|
|
222
|
-
return false unless @
|
|
223
|
-
return false unless @
|
|
259
|
+
return false unless @taxable_amount == other.taxable_amount
|
|
260
|
+
return false unless @is_tax_inclusive == other.is_tax_inclusive
|
|
261
|
+
return false unless @locked == other.locked
|
|
224
262
|
return false unless @connection_id == other.connection_id
|
|
225
263
|
return false unless @filing_id == other.filing_id
|
|
226
264
|
return false unless @city == other.city
|
|
@@ -229,9 +267,9 @@ module KintsugiSDK
|
|
|
229
267
|
return false unless @country == other.country
|
|
230
268
|
return false unless @postal_code == other.postal_code
|
|
231
269
|
return false unless @tax_id == other.tax_id
|
|
232
|
-
return false unless @
|
|
233
|
-
return false unless @
|
|
234
|
-
return false unless @
|
|
270
|
+
return false unless @document_type == other.document_type
|
|
271
|
+
return false unless @created_from == other.created_from
|
|
272
|
+
return false unless @is_duplicate == other.is_duplicate
|
|
235
273
|
return false unless @destination_currency == other.destination_currency
|
|
236
274
|
return false unless @converted_total_amount == other.converted_total_amount
|
|
237
275
|
return false unless @converted_total_tax_amount_imported == other.converted_total_tax_amount_imported
|
|
@@ -241,20 +279,16 @@ module KintsugiSDK
|
|
|
241
279
|
return false unless @converted_total_discount == other.converted_total_discount
|
|
242
280
|
return false unless @converted_subtotal == other.converted_subtotal
|
|
243
281
|
return false unless @converted_total_tax_liability_amount == other.converted_total_tax_liability_amount
|
|
282
|
+
return false unless @store_name == other.store_name
|
|
283
|
+
return false unless @is_deferred_transaction == other.is_deferred_transaction
|
|
284
|
+
return false unless @total_recoverable_input_vat == other.total_recoverable_input_vat
|
|
285
|
+
return false unless @converted_total_recoverable_input_vat == other.converted_total_recoverable_input_vat
|
|
286
|
+
return false unless @input_vat_recovery_rate == other.input_vat_recovery_rate
|
|
244
287
|
return false unless @customer == other.customer
|
|
245
288
|
return false unless @total_discount == other.total_discount
|
|
246
289
|
return false unless @subtotal == other.subtotal
|
|
247
290
|
return false unless @final_total_amount == other.final_total_amount
|
|
248
291
|
return false unless @converted_final_total_amount == other.converted_final_total_amount
|
|
249
|
-
return false unless @total_amount == other.total_amount
|
|
250
|
-
return false unless @marketplace == other.marketplace
|
|
251
|
-
return false unless @total_tax_amount_imported == other.total_tax_amount_imported
|
|
252
|
-
return false unless @tax_rate_imported == other.tax_rate_imported
|
|
253
|
-
return false unless @total_tax_amount_calculated == other.total_tax_amount_calculated
|
|
254
|
-
return false unless @tax_rate_calculated == other.tax_rate_calculated
|
|
255
|
-
return false unless @total_tax_liability_amount == other.total_tax_liability_amount
|
|
256
|
-
return false unless @taxable_amount == other.taxable_amount
|
|
257
|
-
return false unless @locked == other.locked
|
|
258
292
|
true
|
|
259
293
|
end
|
|
260
294
|
end
|
|
@@ -22,6 +22,18 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
22
22
|
def transaction_items=(str_); end
|
|
23
23
|
def type(); end
|
|
24
24
|
def type=(str_); end
|
|
25
|
+
def currency(); end
|
|
26
|
+
def currency=(str_); end
|
|
27
|
+
def source(); end
|
|
28
|
+
def source=(str_); end
|
|
29
|
+
def status(); end
|
|
30
|
+
def status=(str_); end
|
|
31
|
+
def address_status(); end
|
|
32
|
+
def address_status=(str_); end
|
|
33
|
+
def processing_status(); end
|
|
34
|
+
def processing_status=(str_); end
|
|
35
|
+
def direction(); end
|
|
36
|
+
def direction=(str_); end
|
|
25
37
|
def requires_exemption(); end
|
|
26
38
|
def requires_exemption=(str_); end
|
|
27
39
|
def shop_date(); end
|
|
@@ -32,8 +44,12 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
32
44
|
def description=(str_); end
|
|
33
45
|
def refund_status(); end
|
|
34
46
|
def refund_status=(str_); end
|
|
47
|
+
def total_amount(); end
|
|
48
|
+
def total_amount=(str_); end
|
|
35
49
|
def customer_id(); end
|
|
36
50
|
def customer_id=(str_); end
|
|
51
|
+
def marketplace(); end
|
|
52
|
+
def marketplace=(str_); end
|
|
37
53
|
def exempt(); end
|
|
38
54
|
def exempt=(str_); end
|
|
39
55
|
def exemptions(); end
|
|
@@ -46,12 +62,24 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
46
62
|
def secondary_source=(str_); end
|
|
47
63
|
def external_friendly_id(); end
|
|
48
64
|
def external_friendly_id=(str_); end
|
|
65
|
+
def total_tax_amount_imported(); end
|
|
66
|
+
def total_tax_amount_imported=(str_); end
|
|
67
|
+
def tax_rate_imported(); end
|
|
68
|
+
def tax_rate_imported=(str_); end
|
|
69
|
+
def total_tax_amount_calculated(); end
|
|
70
|
+
def total_tax_amount_calculated=(str_); end
|
|
71
|
+
def tax_rate_calculated(); end
|
|
72
|
+
def tax_rate_calculated=(str_); end
|
|
73
|
+
def total_tax_liability_amount(); end
|
|
74
|
+
def total_tax_liability_amount=(str_); end
|
|
49
75
|
def tax_liability_source(); end
|
|
50
76
|
def tax_liability_source=(str_); end
|
|
51
|
-
def
|
|
52
|
-
def
|
|
53
|
-
def
|
|
54
|
-
def
|
|
77
|
+
def taxable_amount(); end
|
|
78
|
+
def taxable_amount=(str_); end
|
|
79
|
+
def is_tax_inclusive(); end
|
|
80
|
+
def is_tax_inclusive=(str_); end
|
|
81
|
+
def locked(); end
|
|
82
|
+
def locked=(str_); end
|
|
55
83
|
def connection_id(); end
|
|
56
84
|
def connection_id=(str_); end
|
|
57
85
|
def filing_id(); end
|
|
@@ -68,12 +96,12 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
68
96
|
def postal_code=(str_); end
|
|
69
97
|
def tax_id(); end
|
|
70
98
|
def tax_id=(str_); end
|
|
71
|
-
def
|
|
72
|
-
def
|
|
73
|
-
def
|
|
74
|
-
def
|
|
75
|
-
def
|
|
76
|
-
def
|
|
99
|
+
def document_type(); end
|
|
100
|
+
def document_type=(str_); end
|
|
101
|
+
def created_from(); end
|
|
102
|
+
def created_from=(str_); end
|
|
103
|
+
def is_duplicate(); end
|
|
104
|
+
def is_duplicate=(str_); end
|
|
77
105
|
def destination_currency(); end
|
|
78
106
|
def destination_currency=(str_); end
|
|
79
107
|
def converted_total_amount(); end
|
|
@@ -92,6 +120,16 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
92
120
|
def converted_subtotal=(str_); end
|
|
93
121
|
def converted_total_tax_liability_amount(); end
|
|
94
122
|
def converted_total_tax_liability_amount=(str_); end
|
|
123
|
+
def store_name(); end
|
|
124
|
+
def store_name=(str_); end
|
|
125
|
+
def is_deferred_transaction(); end
|
|
126
|
+
def is_deferred_transaction=(str_); end
|
|
127
|
+
def total_recoverable_input_vat(); end
|
|
128
|
+
def total_recoverable_input_vat=(str_); end
|
|
129
|
+
def converted_total_recoverable_input_vat(); end
|
|
130
|
+
def converted_total_recoverable_input_vat=(str_); end
|
|
131
|
+
def input_vat_recovery_rate(); end
|
|
132
|
+
def input_vat_recovery_rate=(str_); end
|
|
95
133
|
def customer(); end
|
|
96
134
|
def customer=(str_); end
|
|
97
135
|
def total_discount(); end
|
|
@@ -102,22 +140,4 @@ class KintsugiSDK::Models::Shared::TransactionRead
|
|
|
102
140
|
def final_total_amount=(str_); end
|
|
103
141
|
def converted_final_total_amount(); end
|
|
104
142
|
def converted_final_total_amount=(str_); end
|
|
105
|
-
def total_amount(); end
|
|
106
|
-
def total_amount=(str_); end
|
|
107
|
-
def marketplace(); end
|
|
108
|
-
def marketplace=(str_); end
|
|
109
|
-
def total_tax_amount_imported(); end
|
|
110
|
-
def total_tax_amount_imported=(str_); end
|
|
111
|
-
def tax_rate_imported(); end
|
|
112
|
-
def tax_rate_imported=(str_); end
|
|
113
|
-
def total_tax_amount_calculated(); end
|
|
114
|
-
def total_tax_amount_calculated=(str_); end
|
|
115
|
-
def tax_rate_calculated(); end
|
|
116
|
-
def tax_rate_calculated=(str_); end
|
|
117
|
-
def total_tax_liability_amount(); end
|
|
118
|
-
def total_tax_liability_amount=(str_); end
|
|
119
|
-
def taxable_amount(); end
|
|
120
|
-
def taxable_amount=(str_); end
|
|
121
|
-
def locked(); end
|
|
122
|
-
def locked=(str_); end
|
|
123
143
|
end
|