nordlet 0.6.0 → 0.6.4
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/nordlet/account/client.rb +133 -16
- data/lib/nordlet/account/types/api_keys_list_account_response_rows_item.rb +0 -2
- data/lib/nordlet/account/types/companies_create_account_request_default_invoice_locale.rb +1 -0
- data/lib/nordlet/account/types/companies_update_account_request_default_invoice_locale.rb +1 -0
- data/lib/nordlet/account/types/email_change_request_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/export_account_response.rb +2 -0
- data/lib/nordlet/account/types/export_account_response_billing_accounts_item.rb +21 -0
- data/lib/nordlet/account/types/export_account_response_billing_accounts_item_site.rb +14 -0
- data/lib/nordlet/account/types/export_account_response_credit_transactions_item.rb +2 -0
- data/lib/nordlet/account/types/export_account_response_credit_transactions_item_site.rb +14 -0
- data/lib/nordlet/account/types/invites_accept_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/invites_create_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/locale_set_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/login_link_request_account_request_locale.rb +30 -0
- data/lib/nordlet/account/types/oauth_authorize_approve_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_approve_account_response.rb +11 -0
- data/lib/nordlet/account/types/oauth_authorize_deny_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_deny_account_response.rb +11 -0
- data/lib/nordlet/account/types/oauth_authorize_describe_account_request.rb +25 -0
- data/lib/nordlet/account/types/oauth_authorize_describe_account_response.rb +17 -0
- data/lib/nordlet/agreements/types/agreements_create_agreements_request_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_create_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_get_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/agreements/types/agreements_update_agreements_response_items_item.rb +2 -0
- data/lib/nordlet/bank/client.rb +23 -19
- data/lib/nordlet/bank/types/import_templates_create_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_create_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_get_bank_response.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_list_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_list_builtin_bank_response_rows_item.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_request.rb +2 -0
- data/lib/nordlet/bank/types/import_templates_update_bank_response.rb +2 -0
- data/lib/nordlet/billing/client.rb +44 -31
- data/lib/nordlet/billing/types/account_get_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_get_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_account_type_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_auto_top_up_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_overdraft_cap_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/account_set_plan_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/flat_rate_confirm_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/flat_rate_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/portal_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/subscription_cancel_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response.rb +2 -0
- data/lib/nordlet/billing/types/topup_confirm_billing_response_site.rb +14 -0
- data/lib/nordlet/billing/types/topup_create_billing_request_locale.rb +30 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item.rb +2 -0
- data/lib/nordlet/billing/types/usage_list_billing_response_rows_item_site.rb +14 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/create_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/get_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submission.rb +2 -0
- data/lib/nordlet/calendar/types/list_calendar_response_rows_item_submissions_item.rb +2 -0
- data/lib/nordlet/calendar/types/submit_calendar_response.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submission.rb +2 -0
- data/lib/nordlet/calendar/types/update_calendar_response_submissions_item.rb +2 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_lines_item.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_request_opposite_lines_item.rb +4 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_invoice_lines_item.rb +8 -0
- data/lib/nordlet/capture/types/documents_confirm_capture_response_opposite_invoice_lines_item.rb +8 -0
- data/lib/nordlet/cash/client.rb +7 -6
- data/lib/nordlet/catalog/client.rb +145 -2
- data/lib/nordlet/catalog/types/items_create_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_create_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_get_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_get_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_list_catalog_response_rows_item.rb +2 -0
- data/lib/nordlet/catalog/types/items_list_catalog_response_rows_item_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/items_units_create_catalog_request.rb +21 -0
- data/lib/nordlet/catalog/types/items_units_create_catalog_response.rb +27 -0
- data/lib/nordlet/catalog/types/items_units_delete_catalog_request.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_delete_catalog_response.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_request.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_response.rb +11 -0
- data/lib/nordlet/catalog/types/items_units_list_catalog_response_rows_item.rb +27 -0
- data/lib/nordlet/catalog/types/items_units_update_catalog_request.rb +19 -0
- data/lib/nordlet/catalog/types/items_units_update_catalog_response.rb +27 -0
- data/lib/nordlet/catalog/types/items_update_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/items_update_catalog_response_alternative_units_item.rb +21 -0
- data/lib/nordlet/catalog/types/units_create_catalog_request.rb +2 -0
- data/lib/nordlet/catalog/types/units_create_catalog_response.rb +2 -0
- data/lib/nordlet/catalog/types/units_list_catalog_response_rows_item.rb +2 -0
- data/lib/nordlet/catalog/types/units_options_catalog_request_locale.rb +30 -0
- data/lib/nordlet/catalog/types/units_update_catalog_request.rb +2 -0
- data/lib/nordlet/catalog/types/units_update_catalog_response.rb +2 -0
- data/lib/nordlet/declarations/client.rb +46 -5
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request.rb +2 -0
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request_corrections_item.rb +25 -0
- data/lib/nordlet/declarations/types/lt_ivaz_amend_declarations_request_corrections_item_lines_item.rb +13 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_request.rb +11 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response.rb +71 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_environment.rb +14 -0
- data/lib/nordlet/declarations/types/submissions_confirm_declarations_response_status.rb +16 -0
- data/lib/nordlet/declarations/types/submissions_create_declarations_response.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_list_declarations_response_rows_item.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_mark_declarations_response.rb +2 -0
- data/lib/nordlet/declarations/types/submissions_retry_declarations_response.rb +2 -0
- data/lib/nordlet/ecommerce/client.rb +12 -9
- data/lib/nordlet/ecommerce/types/orders_cancel_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_create_ecommerce_request_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_create_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_fulfill_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_get_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/ecommerce/types/orders_reserve_ecommerce_response_lines_item.rb +2 -0
- data/lib/nordlet/fleet/client.rb +8 -4
- data/lib/nordlet/fleet/types/vehicles_create_fleet_request.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_create_fleet_response.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_get_fleet_response.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_list_fleet_response_rows_item.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_update_fleet_request.rb +2 -0
- data/lib/nordlet/fleet/types/vehicles_update_fleet_response.rb +2 -0
- data/lib/nordlet/inventory/client.rb +28 -23
- data/lib/nordlet/ledger/types/posting_rules_update_ledger_request_rules_item_key.rb +2 -0
- data/lib/nordlet/partners/types/create_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/partners/types/debt_reminders_preview_partners_response_rows_item_locale.rb +30 -0
- data/lib/nordlet/partners/types/find_or_create_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/partners/types/update_partners_request_invoice_locale.rb +1 -0
- data/lib/nordlet/payroll/client.rb +16 -12
- data/lib/nordlet/payroll/types/payments_export_payroll_request_locale.rb +30 -0
- data/lib/nordlet/pos/client.rb +126 -9
- data/lib/nordlet/pos/types/refunds_create_pos_request.rb +17 -0
- data/lib/nordlet/pos/types/refunds_create_pos_request_lines_item.rb +13 -0
- data/lib/nordlet/pos/types/refunds_create_pos_response.rb +33 -0
- data/lib/nordlet/pos/types/refunds_create_pos_response_lines_item.rb +23 -0
- data/lib/nordlet/pos/types/refunds_get_pos_request.rb +11 -0
- data/lib/nordlet/pos/types/refunds_get_pos_response.rb +33 -0
- data/lib/nordlet/pos/types/refunds_get_pos_response_lines_item.rb +23 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request.rb +19 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item.rb +15 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_op.rb +18 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_value.rb +19 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_filter_item_value_three_item.rb +15 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_sort_item.rb +13 -0
- data/lib/nordlet/pos/types/refunds_list_pos_request_sort_item_dir.rb +14 -0
- data/lib/nordlet/pos/types/refunds_list_pos_response.rb +21 -0
- data/lib/nordlet/pos/types/refunds_list_pos_response_rows_item.rb +31 -0
- data/lib/nordlet/production/client.rb +20 -14
- data/lib/nordlet/production/types/maintenance_cancel_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_complete_production_request.rb +2 -0
- data/lib/nordlet/production/types/maintenance_complete_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_create_production_request.rb +2 -0
- data/lib/nordlet/production/types/maintenance_create_production_response.rb +2 -0
- data/lib/nordlet/production/types/maintenance_list_production_response_rows_item.rb +2 -0
- data/lib/nordlet/public/client.rb +6 -5
- data/lib/nordlet/public/types/invoices_get_public_response.rb +2 -0
- data/lib/nordlet/purchases/client.rb +12 -9
- data/lib/nordlet/purchases/types/invoices_create_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/invoices_create_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_get_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_register_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/invoices_update_purchases_response_lines_item.rb +8 -0
- data/lib/nordlet/purchases/types/orders_approve_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_cancel_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_close_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_create_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_create_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_get_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_reject_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_submit_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_update_purchases_request_lines_item.rb +4 -0
- data/lib/nordlet/purchases/types/orders_update_purchases_response_lines_item.rb +4 -0
- data/lib/nordlet/reference/client.rb +5 -2
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item.rb +8 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_rate_from_line.rb +13 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_scheme.rb +21 -0
- data/lib/nordlet/reference/types/vat_classifiers_list_reference_response_rows_item_side.rb +15 -0
- data/lib/nordlet/reports/client.rb +3 -3
- data/lib/nordlet/sales/client.rb +29 -21
- data/lib/nordlet/sales/types/acts_create_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_get_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_issue_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/acts_pdf_sales_request_locale.rb +30 -0
- data/lib/nordlet/sales/types/acts_update_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_create_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_get_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_list_sales_response_rows_item_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_request_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoice_templates_update_sales_response_lines_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_apply_advance_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_create_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_create_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_get_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_issue_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_list_sales_response_rows_item.rb +2 -0
- data/lib/nordlet/sales/types/invoices_lock_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_pdf_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_send_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_unlock_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_update_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/invoices_update_sales_response_lines_item.rb +4 -0
- data/lib/nordlet/sales/types/invoices_view_sales_response.rb +2 -0
- data/lib/nordlet/sales/types/recurring_invoices_create_sales_request_locale.rb +1 -0
- data/lib/nordlet/sales/types/recurring_invoices_update_sales_request_locale.rb +1 -0
- data/lib/nordlet/transport/types/waybills_create_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_get_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_issue_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/transport/types/waybills_update_transport_response_lines_item.rb +4 -0
- data/lib/nordlet/version.rb +1 -1
- data/lib/nordlet.rb +56 -0
- data/reference.md +1329 -268
- metadata +58 -2
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :unit_price, -> { String }, optional: false, nullable: true, api_name: "unitPrice"
|
|
16
16
|
|
|
17
17
|
field :vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "vatRatePercent"
|
|
18
|
+
|
|
19
|
+
field :vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "vatClassifierCode"
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
|
@@ -15,6 +15,8 @@ module Nordlet
|
|
|
15
15
|
field :unit_price, -> { String }, optional: false, nullable: true, api_name: "unitPrice"
|
|
16
16
|
|
|
17
17
|
field :vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "vatRatePercent"
|
|
18
|
+
|
|
19
|
+
field :vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "vatClassifierCode"
|
|
18
20
|
end
|
|
19
21
|
end
|
|
20
22
|
end
|
data/lib/nordlet/bank/client.rb
CHANGED
|
@@ -234,12 +234,15 @@ module Nordlet
|
|
|
234
234
|
|
|
235
235
|
# Match one new bank transaction to a document: an issued sale invoice or advance for incoming money; an issued
|
|
236
236
|
# sale credit note, a registered purchase invoice or an approved payroll run (company currency only) for outgoing
|
|
237
|
-
# money. Posts the payment journal transaction between the bank account and the receivable
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
237
|
+
# money. Posts the payment journal transaction between the bank account and the receivable or payable account the
|
|
238
|
+
# invoice was posted to (the account of its operation type, else the posting rule) or the net payable account,
|
|
239
|
+
# with any exchange difference on the gain or loss account, raises the paid amount of the document and sets the
|
|
240
|
+
# line to matched. A payment in another currency is converted into the invoice currency at the rate of the line
|
|
241
|
+
# date, and the difference against the invoice's own rate is the exchange difference; `invoiceAmount` states the
|
|
242
|
+
# amount settled instead; in the same currency it must equal the payment (422). Answers 409 when the line is
|
|
243
|
+
# already matched, when the amount (converted, beyond one cent of the payment) exceeds the remaining balance of
|
|
244
|
+
# the document or when the accounting period of the line date is locked. A document that becomes fully paid is
|
|
245
|
+
# announced as `sale_invoice.paid` or `purchase_invoice.paid`.
|
|
243
246
|
#
|
|
244
247
|
# @param request_options [Hash]
|
|
245
248
|
# @param params [Nordlet::Bank::Types::TransactionsMatchBankRequest]
|
|
@@ -427,9 +430,10 @@ module Nordlet
|
|
|
427
430
|
# A template of type stripe, iso20022, revolut or bank_connection names the fields of the file or feed: a field
|
|
428
431
|
# with an `accountCode` is posted to that ledger account on import, a field with `createPartner` creates the
|
|
429
432
|
# customer, supplier or fee partner. `invoiceMetaField` is the Stripe metadata key (stripe) or the reference field
|
|
430
|
-
# (other types) by which payments are linked to invoices; with it `
|
|
431
|
-
# outside Stripe, `advanceInvoices` apply. `companyMetaField`,
|
|
432
|
-
# refund labels are for Stripe templates only. A template with the
|
|
433
|
+
# (other types) by which payments are linked to invoices; with it `invoiceVatClassifierCode`,
|
|
434
|
+
# `invoiceVatRatePercent`, `invoiceItemId` and, outside Stripe, `advanceInvoices` apply. `companyMetaField`,
|
|
435
|
+
# `lenderMetaField`, the operation types and the refund labels are for Stripe templates only. A template with the
|
|
436
|
+
# same name already existing answers 409.
|
|
433
437
|
#
|
|
434
438
|
# @param request_options [Hash]
|
|
435
439
|
# @param params [Nordlet::Bank::Types::ImportTemplatesCreateBankRequest]
|
|
@@ -1324,16 +1328,16 @@ module Nordlet
|
|
|
1324
1328
|
end
|
|
1325
1329
|
|
|
1326
1330
|
# Post a settlement batch dated `date` (default: the payout date, else today): the bank account receives the net
|
|
1327
|
-
# payout, the matched sale invoices are settled against the receivable
|
|
1328
|
-
#
|
|
1329
|
-
#
|
|
1330
|
-
#
|
|
1331
|
-
#
|
|
1332
|
-
#
|
|
1333
|
-
#
|
|
1334
|
-
# payout is linked to the bank line a match rule
|
|
1335
|
-
#
|
|
1336
|
-
# liability.
|
|
1331
|
+
# payout, the matched sale invoices are settled against the receivable account each was posted to (its operation
|
|
1332
|
+
# type's account, else the posting rule; the receivable of each partner in a journal transaction of its own when
|
|
1333
|
+
# invoices of several partners are settled), the provider fees, the marketplace commission and the seller payable
|
|
1334
|
+
# are booked, and a payout in another currency is converted at the rate of that date with the exchange difference
|
|
1335
|
+
# against each invoice's own rate on the gain or loss account. A line without a matched invoice is split by its
|
|
1336
|
+
# own rate or amount, else by `commissionPercent`, else parked on the suspense account; a line already imported as
|
|
1337
|
+
# a movement of a bank account is posted against that account instead. Answers 409 when the batch is already
|
|
1338
|
+
# posted or the period is locked, 422 when it has no lines. The payout is linked to the bank line a match rule
|
|
1339
|
+
# recognises. Emits `settlement.posted`, `sale_invoice.paid` for each invoice that becomes paid and
|
|
1340
|
+
# `refund_liability.actual` for refunds of invoices carrying a refund liability.
|
|
1337
1341
|
#
|
|
1338
1342
|
# @param request_options [Hash]
|
|
1339
1343
|
# @param params [Nordlet::Bank::Types::SettlementsPostBankRequest]
|
|
@@ -16,6 +16,8 @@ module Nordlet
|
|
|
16
16
|
|
|
17
17
|
field :invoice_vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "invoiceVatRatePercent"
|
|
18
18
|
|
|
19
|
+
field :invoice_vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "invoiceVatClassifierCode"
|
|
20
|
+
|
|
19
21
|
field :company_meta_field, -> { String }, optional: true, nullable: false, api_name: "companyMetaField"
|
|
20
22
|
|
|
21
23
|
field :invoice_item_id, -> { String }, optional: true, nullable: false, api_name: "invoiceItemId"
|
|
@@ -18,6 +18,8 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
20
|
|
|
21
|
+
field :invoice_vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "invoiceVatClassifierCode"
|
|
22
|
+
|
|
21
23
|
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
24
|
|
|
23
25
|
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
@@ -18,6 +18,8 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
20
|
|
|
21
|
+
field :invoice_vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "invoiceVatClassifierCode"
|
|
22
|
+
|
|
21
23
|
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
24
|
|
|
23
25
|
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
@@ -18,6 +18,8 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
20
|
|
|
21
|
+
field :invoice_vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "invoiceVatClassifierCode"
|
|
22
|
+
|
|
21
23
|
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
24
|
|
|
23
25
|
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
@@ -18,6 +18,8 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
20
|
|
|
21
|
+
field :invoice_vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "invoiceVatClassifierCode"
|
|
22
|
+
|
|
21
23
|
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
24
|
|
|
23
25
|
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
@@ -16,6 +16,8 @@ module Nordlet
|
|
|
16
16
|
|
|
17
17
|
field :invoice_vat_rate_percent, -> { String }, optional: true, nullable: false, api_name: "invoiceVatRatePercent"
|
|
18
18
|
|
|
19
|
+
field :invoice_vat_classifier_code, -> { String }, optional: true, nullable: false, api_name: "invoiceVatClassifierCode"
|
|
20
|
+
|
|
19
21
|
field :company_meta_field, -> { String }, optional: true, nullable: false, api_name: "companyMetaField"
|
|
20
22
|
|
|
21
23
|
field :invoice_item_id, -> { String }, optional: true, nullable: false, api_name: "invoiceItemId"
|
|
@@ -18,6 +18,8 @@ module Nordlet
|
|
|
18
18
|
|
|
19
19
|
field :invoice_vat_rate_percent, -> { String }, optional: false, nullable: true, api_name: "invoiceVatRatePercent"
|
|
20
20
|
|
|
21
|
+
field :invoice_vat_classifier_code, -> { String }, optional: false, nullable: true, api_name: "invoiceVatClassifierCode"
|
|
22
|
+
|
|
21
23
|
field :company_meta_field, -> { String }, optional: false, nullable: true, api_name: "companyMetaField"
|
|
22
24
|
|
|
23
25
|
field :invoice_item_id, -> { String }, optional: false, nullable: true, api_name: "invoiceItemId"
|
|
@@ -10,9 +10,10 @@ module Nordlet
|
|
|
10
10
|
@client = client
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
# Return the signed-in user's billing account
|
|
14
|
-
#
|
|
15
|
-
#
|
|
13
|
+
# Return the signed-in user's billing account of the site named by the `x-nordlet-site` header (`app` when
|
|
14
|
+
# absent): plan, account type, status, balance, trial and payment state, the month-to-date usage of that site in
|
|
15
|
+
# the companies the user pays for with an estimate of today's charge, the plan catalogue, and the top-up,
|
|
16
|
+
# automatic top-up and overdraft settings. Each site has its own account and plan.
|
|
16
17
|
#
|
|
17
18
|
# @param request_options [Hash]
|
|
18
19
|
# @param params [Nordlet::Billing::Types::AccountGetBillingRequest]
|
|
@@ -46,8 +47,11 @@ module Nordlet
|
|
|
46
47
|
end
|
|
47
48
|
end
|
|
48
49
|
|
|
49
|
-
# Change the plan of the user's flat-rate billing account; answers
|
|
50
|
-
#
|
|
50
|
+
# Change the plan of the user's flat-rate billing account of the request's site; answers 422 when the plan is not
|
|
51
|
+
# one of that site's plans and 409 when the account type is not `flat_rate`. With a Stripe subscription and
|
|
52
|
+
# payments configured, the subscription is moved to the new plan. On the day of the change, the plan fee (without
|
|
53
|
+
# a subscription) and the storage are split by hour, each hour at the plan in force when the hour starts, and the
|
|
54
|
+
# sale invoices of the day count against the plan in force when they were made.
|
|
51
55
|
#
|
|
52
56
|
# @param request_options [Hash]
|
|
53
57
|
# @param params [Nordlet::Billing::Types::AccountSetPlanBillingRequest]
|
|
@@ -81,10 +85,11 @@ module Nordlet
|
|
|
81
85
|
end
|
|
82
86
|
end
|
|
83
87
|
|
|
84
|
-
# Switch the user's billing account between `flat_rate` and `per_request
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
+
# Switch the user's billing account of the request's site between `flat_rate` and `per_request`; answers 422 for
|
|
89
|
+
# an account type the site does not offer (the `invoice` site has `flat_rate` only). With a Stripe subscription
|
|
90
|
+
# and payments configured, the subscription is moved to the plan's price for `flat_rate`; for `per_request` the
|
|
91
|
+
# plan is taken off the subscription, and a subscription that carried only the plan is cancelled, leaving the
|
|
92
|
+
# account without one. When Stripe refuses the change, the previous account type is restored.
|
|
88
93
|
#
|
|
89
94
|
# @param request_options [Hash]
|
|
90
95
|
# @param params [Nordlet::Billing::Types::AccountSetAccountTypeBillingRequest]
|
|
@@ -118,9 +123,10 @@ module Nordlet
|
|
|
118
123
|
end
|
|
119
124
|
end
|
|
120
125
|
|
|
121
|
-
# Switch automatic top-ups on or off and set their amount
|
|
122
|
-
# first card top-up creates (400 otherwise); when switched on, a top-up is
|
|
123
|
-
# below zero, no payment has failed and no top-up was requested in the
|
|
126
|
+
# Switch automatic top-ups on or off and set their amount; answers 409 on a site without top-ups. Switching them
|
|
127
|
+
# on needs a Stripe customer, which the first card top-up creates (400 otherwise); when switched on, a top-up is
|
|
128
|
+
# charged at once if the balance is at or below zero, no payment has failed and no top-up was requested in the
|
|
129
|
+
# last 24 hours.
|
|
124
130
|
#
|
|
125
131
|
# @param request_options [Hash]
|
|
126
132
|
# @param params [Nordlet::Billing::Types::AccountSetAutoTopUpBillingRequest]
|
|
@@ -156,6 +162,7 @@ module Nordlet
|
|
|
156
162
|
|
|
157
163
|
# Set the overdraft cap of the user's billing account: how far usage charges may take the balance below zero
|
|
158
164
|
# before the account is suspended. A suspended account whose balance is within the new cap is activated again.
|
|
165
|
+
# Answers 409 on a site without top-ups.
|
|
159
166
|
#
|
|
160
167
|
# @param request_options [Hash]
|
|
161
168
|
# @param params [Nordlet::Billing::Types::AccountSetOverdraftCapBillingRequest]
|
|
@@ -191,7 +198,8 @@ module Nordlet
|
|
|
191
198
|
|
|
192
199
|
# Open a Stripe Checkout session for a one-time credit top-up of `amountCents` and return its URL; a Stripe
|
|
193
200
|
# customer is created for the user when there is none. `returnTo` chooses whether Checkout returns to the credits
|
|
194
|
-
# page or to the onboarding plan page, in `locale`. Answers
|
|
201
|
+
# page or to the onboarding plan page, in `locale`. Answers 409 on a site without top-ups and 503 when online
|
|
202
|
+
# payments are not configured.
|
|
195
203
|
#
|
|
196
204
|
# @param request_options [Hash]
|
|
197
205
|
# @param params [Nordlet::Billing::Types::TopupCreateBillingRequest]
|
|
@@ -227,7 +235,7 @@ module Nordlet
|
|
|
227
235
|
|
|
228
236
|
# Confirm a paid top-up Checkout session by `sessionId` and credit the account at once instead of waiting for the
|
|
229
237
|
# Stripe webhook; a session is credited only once. Answers 404 when the session is not the user's own or is not
|
|
230
|
-
# paid.
|
|
238
|
+
# paid, and 409 on a site without top-ups.
|
|
231
239
|
#
|
|
232
240
|
# @param request_options [Hash]
|
|
233
241
|
# @param params [Nordlet::Billing::Types::TopupConfirmBillingRequest]
|
|
@@ -261,11 +269,13 @@ module Nordlet
|
|
|
261
269
|
end
|
|
262
270
|
end
|
|
263
271
|
|
|
264
|
-
# Open a Stripe Checkout session for a flat-rate subscription on `plan
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
# invoice
|
|
268
|
-
#
|
|
272
|
+
# Open a Stripe Checkout session for a flat-rate subscription on `plan` (by default the first plan of the
|
|
273
|
+
# request's site) for the billing account of the request's site, with the trial period of `trialDays` days, and
|
|
274
|
+
# return its URL; a Stripe customer is created for that account when it has none. The `invoicing` plan of the
|
|
275
|
+
# `invoice` site takes its trial days from the server setting `INVOICE_PLAN_TRIAL_DAYS` and returns to the invoice
|
|
276
|
+
# app. Answers 422 when the plan is not one of the site's plans, 409 when the site's flat-rate subscription is
|
|
277
|
+
# already active and 503 when online payments are not configured, the plan has no price, or the Invoicing trial is
|
|
278
|
+
# not set.
|
|
269
279
|
#
|
|
270
280
|
# @param request_options [Hash]
|
|
271
281
|
# @param params [Nordlet::Billing::Types::FlatRateCreateBillingRequest]
|
|
@@ -299,9 +309,9 @@ module Nordlet
|
|
|
299
309
|
end
|
|
300
310
|
end
|
|
301
311
|
|
|
302
|
-
# Confirm a completed flat-rate Checkout session by `sessionId`: the account
|
|
303
|
-
# plan with status `active` and the subscription attached, unless the Stripe
|
|
304
|
-
# when the session is not the user's own or not completed.
|
|
312
|
+
# Confirm a completed flat-rate Checkout session by `sessionId`: the billing account of the site of the session's
|
|
313
|
+
# plan becomes `flat_rate` on that plan with status `active` and the subscription attached, unless the Stripe
|
|
314
|
+
# webhook already did this. Answers 404 when the session is not the user's own or not completed.
|
|
305
315
|
#
|
|
306
316
|
# @param request_options [Hash]
|
|
307
317
|
# @param params [Nordlet::Billing::Types::FlatRateConfirmBillingRequest]
|
|
@@ -335,9 +345,10 @@ module Nordlet
|
|
|
335
345
|
end
|
|
336
346
|
end
|
|
337
347
|
|
|
338
|
-
# Cancel the
|
|
339
|
-
# `subscriptionCancelAt`, and Stripe then ends the subscription, which
|
|
340
|
-
# records. Answers 503 when online payments are not configured and 409
|
|
348
|
+
# Cancel the Stripe subscription of the user's billing account of the request's site at the end of the period
|
|
349
|
+
# already paid: the plan stays active until `subscriptionCancelAt`, and Stripe then ends the subscription, which
|
|
350
|
+
# its `customer.subscription.deleted` webhook records. Answers 503 when online payments are not configured and 409
|
|
351
|
+
# when the account has no subscription.
|
|
341
352
|
#
|
|
342
353
|
# @param request_options [Hash]
|
|
343
354
|
# @param params [Nordlet::Billing::Types::SubscriptionCancelBillingRequest]
|
|
@@ -371,8 +382,9 @@ module Nordlet
|
|
|
371
382
|
end
|
|
372
383
|
end
|
|
373
384
|
|
|
374
|
-
# Open a Stripe customer portal session
|
|
375
|
-
#
|
|
385
|
+
# Open a Stripe customer portal session for the billing account of the request's site that returns to that site's
|
|
386
|
+
# credits page (the plan page on the `invoice` site) in `locale`, and return its URL. Answers 503 when online
|
|
387
|
+
# payments are not configured and 400 when the account has no Stripe customer yet.
|
|
376
388
|
#
|
|
377
389
|
# @param request_options [Hash]
|
|
378
390
|
# @param params [Nordlet::Billing::Types::PortalCreateBillingRequest]
|
|
@@ -406,8 +418,8 @@ module Nordlet
|
|
|
406
418
|
end
|
|
407
419
|
end
|
|
408
420
|
|
|
409
|
-
# List the newest credit transactions of the user's billing account, up to `limit`: trial
|
|
410
|
-
# charges, activations and adjustments, each with the balance after it.
|
|
421
|
+
# List the newest credit transactions of the user's billing account of the request's site, up to `limit`: trial
|
|
422
|
+
# grants, top-ups, usage charges, activations and adjustments, each with the balance after it.
|
|
411
423
|
#
|
|
412
424
|
# @param request_options [Hash]
|
|
413
425
|
# @param params [Nordlet::Billing::Types::TransactionsListBillingRequest]
|
|
@@ -441,8 +453,9 @@ module Nordlet
|
|
|
441
453
|
end
|
|
442
454
|
end
|
|
443
455
|
|
|
444
|
-
# List the daily usage records of the companies the user pays for, from `from` to `to`: one
|
|
445
|
-
# and metric (API requests, OCR pages, file storage bytes, database bytes, sale invoices).
|
|
456
|
+
# List the daily usage records of the request's site in the companies the user pays for, from `from` to `to`: one
|
|
457
|
+
# row per company, date and metric (API requests, OCR pages, file storage bytes, database bytes, sale invoices).
|
|
458
|
+
# Requests, OCR pages and invoices count on the site the request came from; storage counts on the `app` site.
|
|
446
459
|
#
|
|
447
460
|
# @param request_options [Hash]
|
|
448
461
|
# @param params [Nordlet::Billing::Types::UsageListBillingRequest]
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class AccountGetBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::AccountGetBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::AccountGetBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::AccountGetBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class AccountSetAccountTypeBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::AccountSetAccountTypeBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::AccountSetAccountTypeBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::AccountSetAccountTypeBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class AccountSetAutoTopUpBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::AccountSetAutoTopUpBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class AccountSetOverdraftCapBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::AccountSetOverdraftCapBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class AccountSetPlanBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::AccountSetPlanBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class FlatRateConfirmBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::FlatRateConfirmBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -9,6 +9,36 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
41
|
+
UK = "uk"
|
|
12
42
|
end
|
|
13
43
|
end
|
|
14
44
|
end
|
|
@@ -9,6 +9,36 @@ module Nordlet
|
|
|
9
9
|
EN = "en"
|
|
10
10
|
LT = "lt"
|
|
11
11
|
DE = "de"
|
|
12
|
+
FR = "fr"
|
|
13
|
+
ES = "es"
|
|
14
|
+
IT = "it"
|
|
15
|
+
PT = "pt"
|
|
16
|
+
NL = "nl"
|
|
17
|
+
PL = "pl"
|
|
18
|
+
SV = "sv"
|
|
19
|
+
DA = "da"
|
|
20
|
+
NO = "no"
|
|
21
|
+
FI = "fi"
|
|
22
|
+
ET = "et"
|
|
23
|
+
LV = "lv"
|
|
24
|
+
CS = "cs"
|
|
25
|
+
SK = "sk"
|
|
26
|
+
HU = "hu"
|
|
27
|
+
RO = "ro"
|
|
28
|
+
BG = "bg"
|
|
29
|
+
HR = "hr"
|
|
30
|
+
SL = "sl"
|
|
31
|
+
EL = "el"
|
|
32
|
+
MT = "mt"
|
|
33
|
+
IS = "is"
|
|
34
|
+
GA = "ga"
|
|
35
|
+
ZH = "zh"
|
|
36
|
+
JA = "ja"
|
|
37
|
+
AR = "ar"
|
|
38
|
+
HI = "hi"
|
|
39
|
+
RU = "ru"
|
|
40
|
+
TR = "tr"
|
|
41
|
+
UK = "uk"
|
|
12
42
|
end
|
|
13
43
|
end
|
|
14
44
|
end
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class SubscriptionCancelBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::SubscriptionCancelBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|
|
@@ -4,6 +4,8 @@ module Nordlet
|
|
|
4
4
|
module Billing
|
|
5
5
|
module Types
|
|
6
6
|
class TopupConfirmBillingResponse < Internal::Types::Model
|
|
7
|
+
field :site, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseSite }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :plan, -> { Nordlet::Billing::Types::TopupConfirmBillingResponsePlan }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :account_type, -> { Nordlet::Billing::Types::TopupConfirmBillingResponseAccountType }, optional: false, nullable: false, api_name: "accountType"
|