diff --git a/.gitignore b/.gitignore index 3b92fe76..3534bb66 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,11 @@ /test/tmp/ /test/version_tmp/ /tmp/ +.ruby-gemset +.ruby-version # Used by dotenv library to load environment variables. -# .env +.env ## Specific to RubyMotion: .dat* diff --git a/docs/accounting/AccountingApi.md b/docs/accounting/AccountingApi.md index e81dfa2f..f8b18ae3 100644 --- a/docs/accounting/AccountingApi.md +++ b/docs/accounting/AccountingApi.md @@ -90,7 +90,7 @@ Method | HTTP request | Description [**get_branding_theme**](AccountingApi.md#get_branding_theme) | **GET** /BrandingThemes/{BrandingThemeID} | Retrieves a specific branding theme using a unique branding theme Id [**get_branding_theme_payment_services**](AccountingApi.md#get_branding_theme_payment_services) | **GET** /BrandingThemes/{BrandingThemeID}/PaymentServices | Retrieves the payment services for a specific branding theme [**get_branding_themes**](AccountingApi.md#get_branding_themes) | **GET** /BrandingThemes | Retrieves all the branding themes -[**get_budget**](AccountingApi.md#get_budget) | **GET** /Budgets/{BudgetID} | Retrieves a specific budgets, which includes budget lines +[**get_budget**](AccountingApi.md#get_budget) | **GET** /Budgets/{BudgetID} | Retrieves a specific budget, which includes budget lines [**get_budgets**](AccountingApi.md#get_budgets) | **GET** /Budgets | Retrieve a list of budgets [**get_contact**](AccountingApi.md#get_contact) | **GET** /Contacts/{ContactID} | Retrieves a specific contacts in a Xero organisation using a unique contact Id [**get_contact_attachment_by_file_name**](AccountingApi.md#get_contact_attachment_by_file_name) | **GET** /Contacts/{ContactID}/Attachments/{FileName} | Retrieves a specific attachment from a specific contact by file name @@ -603,7 +603,7 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant -bank_transfers = { "BankTransfers": [ { "FromBankAccount": { "Code": "090", "Name": "My Savings", "AccountID": "00000000-0000-0000-0000-000000000000", "Type": "BANK", "BankAccountNumber": "123455", "Status": "ACTIVE", "BankAccountType": "BANK", "CurrencyCode": "USD", "TaxType": "NONE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "Class": "ASSET", "ReportingCode": "ASS", "ReportingCodeName": "Assets", "HasAttachments": false, "UpdatedDateUTC": "2016-10-17T13:45:33.993-07:00" }, "ToBankAccount": { "Code": "088", "Name": "Business Wells Fargo", "AccountID": "00000000-0000-0000-0000-000000000000", "Type": "BANK", "BankAccountNumber": "123455", "Status": "ACTIVE", "BankAccountType": "BANK", "CurrencyCode": "USD", "TaxType": "NONE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "Class": "ASSET", "ReportingCode": "ASS", "ReportingCodeName": "Assets", "HasAttachments": false, "UpdatedDateUTC": "2016-06-03T08:31:14.517-07:00" }, "Amount": "50.00" } ] } # BankTransfers | BankTransfers with array of BankTransfer objects in request body +bank_transfers = { "BankTransfers": [ { "FromBankAccount": { "Code": "090", "Name": "My Savings", "AccountID": "00000000-0000-0000-0000-000000000000", "Type": "BANK", "BankAccountNumber": "123455", "Status": "ACTIVE", "BankAccountType": "BANK", "CurrencyCode": "USD", "TaxType": "NONE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "Class": "ASSET", "ReportingCode": "ASS", "ReportingCodeName": "Assets", "HasAttachments": false, "UpdatedDateUTC": "2016-10-17T13:45:33.993-07:00" }, "ToBankAccount": { "Code": "088", "Name": "Business Wells Fargo", "AccountID": "00000000-0000-0000-0000-000000000000", "Type": "BANK", "BankAccountNumber": "123455", "Status": "ACTIVE", "BankAccountType": "BANK", "CurrencyCode": "USD", "TaxType": "NONE", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "Class": "ASSET", "ReportingCode": "ASS", "ReportingCodeName": "Assets", "HasAttachments": false, "UpdatedDateUTC": "2016-06-03T08:31:14.517-07:00" }, "Amount": "50.00", "FromIsReconciled": true, "ToIsReconciled": true, "Reference": "Sub 098801" } ] } # BankTransfers | BankTransfers with array of BankTransfer objects in request body begin #Creates a bank transfer result = api_instance.create_bank_transfer(xero_tenant_id, bank_transfers) @@ -5994,9 +5994,9 @@ Name | Type | Description | Notes ## get_budget -> Budgets get_budget(xero_tenant_id, budget_id) +> Budgets get_budget(xero_tenant_id, budget_id, opts) -Retrieves a specific budgets, which includes budget lines +Retrieves a specific budget, which includes budget lines ### Example @@ -6025,9 +6025,15 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant budget_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for Budgets +opts = { + date_to: Date.parse('2019-10-31'), # Date | Filter by start date + + date_from: Date.parse('2019-10-31') # Date | Filter by end date +} + begin - #Retrieves a specific budgets, which includes budget lines - result = api_instance.get_budget(xero_tenant_id, budget_id) + #Retrieves a specific budget, which includes budget lines + result = api_instance.get_budget(xero_tenant_id, budget_id, opts) p result rescue XeroRuby::Accounting::ApiError => e puts "Exception when calling AccountingApi->get_budget: #{e}" @@ -6041,6 +6047,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **xero_tenant_id** | **String**| Xero identifier for Tenant | **budget_id** | [**String**](.md)| Unique identifier for Budgets | + **date_to** | **Date**| Filter by start date | [optional] + **date_from** | **Date**| Filter by end date | [optional] ### Return type @@ -6091,9 +6099,9 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant opts = { i_ds: ['"00000000-0000-0000-0000-000000000000"'], # Array | Filter by BudgetID. Allows you to retrieve a specific individual budget. - date_to: Date.parse('2013-10-20'), # Date | Filter by start date + date_to: Date.parse('2019-10-31'), # Date | Filter by start date - date_from: Date.parse('2013-10-20') # Date | Filter by end date + date_from: Date.parse('2019-10-31') # Date | Filter by end date } begin @@ -6764,7 +6772,9 @@ opts = { include_archived: true, # Boolean | e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the response - summary_only: false # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. + summary_only: false, # Boolean | Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. + + search_term: 'searchTerm=Joe Bloggs' # String | Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields. } begin @@ -6789,6 +6799,7 @@ Name | Type | Description | Notes **page** | **Integer**| e.g. page=1 - Up to 100 contacts will be returned in a single API call. | [optional] **include_archived** | **Boolean**| e.g. includeArchived=true - Contacts with a status of ARCHIVED will be included in the response | [optional] **summary_only** | **Boolean**| Use summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient. | [optional] [default to false] + **search_term** | **String**| Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields. | [optional] ### Return type @@ -11040,13 +11051,13 @@ xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant opts = { if_modified_since: DateTime.parse('2020-02-06T12:17:43.202-08:00'), # DateTime | Only records created or modified since this timestamp will be returned - date_from: Date.parse('2013-10-20'), # Date | Filter for quotes after a particular date + date_from: Date.parse('2019-10-31'), # Date | Filter for quotes after a particular date - date_to: Date.parse('2013-10-20'), # Date | Filter for quotes before a particular date + date_to: Date.parse('2019-10-31'), # Date | Filter for quotes before a particular date - expiry_date_from: Date.parse('2013-10-20'), # Date | Filter for quotes expiring after a particular date + expiry_date_from: Date.parse('2019-10-31'), # Date | Filter for quotes expiring after a particular date - expiry_date_to: Date.parse('2013-10-20'), # Date | Filter for quotes before a particular date + expiry_date_to: Date.parse('2019-10-31'), # Date | Filter for quotes before a particular date contact_id: '00000000-0000-0000-0000-000000000000', # String | Filter for quotes belonging to a particular contact @@ -11940,11 +11951,11 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant contact_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for a Contact opts = { - date: Date.parse('2013-10-20'), # Date | The date of the Aged Payables By Contact report + date: Date.parse('2019-10-31'), # Date | The date of the Aged Payables By Contact report - from_date: Date.parse('2013-10-20'), # Date | filter by the from date of the report e.g. 2021-02-01 + from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01 - to_date: Date.parse('2013-10-20') # Date | filter by the to date of the report e.g. 2021-02-28 + to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28 } begin @@ -12015,11 +12026,11 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant contact_id = '00000000-0000-0000-0000-000000000000' # String | Unique identifier for a Contact opts = { - date: Date.parse('2013-10-20'), # Date | The date of the Aged Receivables By Contact report + date: Date.parse('2019-10-31'), # Date | The date of the Aged Receivables By Contact report - from_date: Date.parse('2013-10-20'), # Date | filter by the from date of the report e.g. 2021-02-01 + from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01 - to_date: Date.parse('2013-10-20') # Date | filter by the to date of the report e.g. 2021-02-28 + to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28 } begin @@ -12174,9 +12185,9 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant opts = { - from_date: Date.parse('2013-10-20'), # Date | filter by the from date of the report e.g. 2021-02-01 + from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01 - to_date: Date.parse('2013-10-20') # Date | filter by the to date of the report e.g. 2021-02-28 + to_date: Date.parse('2019-10-31') # Date | filter by the to date of the report e.g. 2021-02-28 } begin @@ -12448,9 +12459,9 @@ api_instance = xero_client. xero_tenant_id = 'YOUR_XERO_TENANT_ID' # String | Xero identifier for Tenant opts = { - from_date: Date.parse('2013-10-20'), # Date | filter by the from date of the report e.g. 2021-02-01 + from_date: Date.parse('2019-10-31'), # Date | filter by the from date of the report e.g. 2021-02-01 - to_date: Date.parse('2013-10-20'), # Date | filter by the to date of the report e.g. 2021-02-28 + to_date: Date.parse('2019-10-31'), # Date | filter by the to date of the report e.g. 2021-02-28 periods: 3, # Integer | The number of periods to compare (integer between 1 and 12) diff --git a/docs/accounting/BankTransfer.md b/docs/accounting/BankTransfer.md index 61fb0677..c1ab351f 100644 --- a/docs/accounting/BankTransfer.md +++ b/docs/accounting/BankTransfer.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **currency_rate** | **BigDecimal** | The currency rate | [optional] **from_bank_transaction_id** | **String** | The Bank Transaction ID for the source account | [optional] **to_bank_transaction_id** | **String** | The Bank Transaction ID for the destination account | [optional] +**from_is_reconciled** | **Boolean** | The Bank Transaction boolean to show if it is reconciled for the source account | [optional] [default to false] +**to_is_reconciled** | **Boolean** | The Bank Transaction boolean to show if it is reconciled for the destination account | [optional] [default to false] +**reference** | **String** | Reference for the transactions. | [optional] **has_attachments** | **Boolean** | Boolean to indicate if a Bank Transfer has an attachment | [optional] [default to false] **created_date_utc** | **DateTime** | UTC timestamp of creation date of bank transfer | [optional] **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Displays array of validation error messages from the API | [optional] @@ -29,6 +32,9 @@ instance = XeroRuby::Accounting::BankTransfer.new(from_bank_account: null, currency_rate: null, from_bank_transaction_id: null, to_bank_transaction_id: null, + from_is_reconciled: false, + to_is_reconciled: false, + reference: null, has_attachments: false, created_date_utc: /Date(1573755038314)/, validation_errors: null) diff --git a/docs/accounting/BudgetBalance.md b/docs/accounting/BudgetBalance.md index 324319d4..27cf9f29 100644 --- a/docs/accounting/BudgetBalance.md +++ b/docs/accounting/BudgetBalance.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **period** | **Date** | Period the amount applies to (e.g. “2019-08”) | [optional] -**amount** | **Integer** | LineItem Quantity | [optional] -**unit_amount** | **Integer** | Budgeted amount | [optional] +**amount** | **BigDecimal** | LineItem Quantity | [optional] +**unit_amount** | **BigDecimal** | Budgeted amount | [optional] **notes** | **String** | Any footnotes associated with this balance | [optional] ## Code Sample diff --git a/docs/accounting/index.html b/docs/accounting/index.html index adbb07ef..9b874a16 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -1512,6 +1512,22 @@ "format" : "uuid", "readOnly" : true }, + "FromIsReconciled" : { + "type" : "boolean", + "description" : "The Bank Transaction boolean to show if it is reconciled for the source account", + "example" : false, + "default" : false + }, + "ToIsReconciled" : { + "type" : "boolean", + "description" : "The Bank Transaction boolean to show if it is reconciled for the destination account", + "example" : false, + "default" : false + }, + "Reference" : { + "type" : "string", + "description" : "Reference for the transactions." + }, "HasAttachments" : { "type" : "boolean", "description" : "Boolean to indicate if a Bank Transfer has an attachment", @@ -1828,12 +1844,16 @@ "x-is-msdate" : true }, "Amount" : { - "type" : "integer", - "description" : "LineItem Quantity" + "type" : "number", + "description" : "LineItem Quantity", + "format" : "double", + "x-is-money" : true }, "UnitAmount" : { - "type" : "integer", - "description" : "Budgeted amount" + "type" : "number", + "description" : "Budgeted amount", + "format" : "double", + "x-is-money" : true }, "Notes" : { "maxLength" : 255, @@ -5901,7 +5921,7 @@ - +
@@ -5943,7 +5963,7 @@
+ + + +
Query parameters
+ + + + + + + + + + +
NameDescription
DateTo + + +
+
+
+ + date + + + (date) + + +
+Filter by start date +
+
+
+
+
DateFrom + + +
+
+
+ + date + + + (date) + + +
+Filter by end date +
+
+
+
+
@@ -19930,11 +20005,11 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' ids = ["00000000-0000-0000-0000-000000000000"] -dateTo = "2013-10-20" -dateFrom = "2013-10-20" +date_to = "2019-10-31" +date_from = "2019-10-31" begin - response = xero_client.accounting_api.get_budgets(xero_tenant_id, ids, dateTo, dateFrom) + response = xero_client.accounting_api.get_budgets(xero_tenant_id, ids, date_to, date_from) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_budgets: #{e}" @@ -21267,9 +21342,10 @@

Usage and SDK Samples

page = 1 include_archived = true summary_only = true +search_term = 'searchTerm=Joe Bloggs' begin - response = xero_client.accounting_api.get_contacts(xero_tenant_id, if_modified_since, where, order, ids, page, include_archived, summary_only) + response = xero_client.accounting_api.get_contacts(xero_tenant_id, if_modified_since, where, order, ids, page, include_archived, summary_only, search_term) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_contacts: #{e}" @@ -21472,6 +21548,26 @@

Parameters

+ + + searchTerm + + + +
+
+
+ + String + + +
+Search parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields. +
+
+
+
+ @@ -25167,10 +25263,10 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' if_modified_since = "2020-02-06T12:17:43.202-08:00" offset = 10 -paymentsOnly = true +payments_only = true begin - response = xero_client.accounting_api.get_journals(xero_tenant_id, if_modified_since, offset, paymentsOnly) + response = xero_client.accounting_api.get_journals(xero_tenant_id, if_modified_since, offset, payments_only) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_journals: #{e}" @@ -29056,13 +29152,13 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' if_modified_since = "2020-02-06T12:17:43.202-08:00" status = 'SUBMITTED' -dateFrom = '2019-12-01' -dateTo = '2019-12-31' +date_from = '2019-12-01' +date_to = '2019-12-31' order = 'PurchaseOrderNumber ASC' page = 1 begin - response = xero_client.accounting_api.get_purchase_orders(xero_tenant_id, if_modified_since, status, dateFrom, dateTo, order, page) + response = xero_client.accounting_api.get_purchase_orders(xero_tenant_id, if_modified_since, status, date_from, date_to, order, page) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_purchase_orders: #{e}" @@ -30248,10 +30344,10 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' if_modified_since = "2020-02-06T12:17:43.202-08:00" -date_from = "2013-10-20" -date_to = "2013-10-20" -expiry_date_from = "2013-10-20" -expiry_date_to = "2013-10-20" +date_from = "2019-10-31" +date_to = "2019-10-31" +expiry_date_from = "2019-10-31" +expiry_date_to = "2019-10-31" contact_id = '00000000-0000-0000-0000-000000000000' status = 'DRAFT' page = 1 @@ -32284,9 +32380,9 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' contact_id = '00000000-0000-0000-0000-000000000000' -date = "2013-10-20" -from_date = "2013-10-20" -to_date = "2013-10-20" +date = "2019-10-31" +from_date = "2019-10-31" +to_date = "2019-10-31" begin response = xero_client.accounting_api.get_report_aged_payables_by_contact(xero_tenant_id, contact_id, date, from_date, to_date) @@ -32469,9 +32565,9 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' contact_id = '00000000-0000-0000-0000-000000000000' -date = "2013-10-20" -from_date = "2013-10-20" -to_date = "2013-10-20" +date = "2019-10-31" +from_date = "2019-10-31" +to_date = "2019-10-31" begin response = xero_client.accounting_api.get_report_aged_receivables_by_contact(xero_tenant_id, contact_id, date, from_date, to_date) @@ -32655,14 +32751,14 @@

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' date = "2019-11-01" periods = 3 -time_frame = 'MONTH' +timeframe = 'MONTH' tracking_option_id_1 = '00000000-0000-0000-0000-000000000000' tracking_option_id_2 = '00000000-0000-0000-0000-000000000000' standard_layout = true payments_only = false begin - response = xero_client.accounting_api.get_report_balance_sheet(xero_tenant_id, date, periods, time_frame, tracking_option_id_1, tracking_option_id_2, standard_layout, payments_only) + response = xero_client.accounting_api.get_report_balance_sheet(xero_tenant_id, date, periods, timeframe, tracking_option_id_1, tracking_option_id_2, standard_layout, payments_only) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_report_balance_sheet: #{e}" @@ -32889,8 +32985,8 @@

Usage and SDK Samples

xero_client.set_token_set(user.token_set)
 
 xero_tenant_id = 'YOUR_XERO_TENANT_ID'
-from_date = "2013-10-20"
-to_date = "2013-10-20"
+from_date = "2019-10-31"
+to_date = "2019-10-31"
 
 begin
   response = xero_client.accounting_api.get_report_bank_summary(xero_tenant_id, from_date, to_date)
@@ -33025,10 +33121,10 @@ 

Usage and SDK Samples

xero_tenant_id = 'YOUR_XERO_TENANT_ID' date = "2019-03-31" periods = 2 -time_frame = 3 +timeframe = 3 begin - response = xero_client.accounting_api.get_report_budget_summary(xero_tenant_id, date, periods, time_frame) + response = xero_client.accounting_api.get_report_budget_summary(xero_tenant_id, date, periods, timeframe) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_report_budget_summary: #{e}" @@ -33395,10 +33491,10 @@

Usage and SDK Samples

xero_client.set_token_set(user.token_set)
 
 xero_tenant_id = 'YOUR_XERO_TENANT_ID'
-from_date = "2013-10-20"
-to_date = "2013-10-20"
+from_date = "2019-10-31"
+to_date = "2019-10-31"
 periods = 3
-time_frame = 'MONTH'
+timeframe = 'MONTH'
 tracking_category_id = '00000000-0000-0000-0000-000000000000'
 tracking_category_id_2 = '00000000-0000-0000-0000-000000000000'
 tracking_option_id = '00000000-0000-0000-0000-000000000000'
@@ -33407,7 +33503,7 @@ 

Usage and SDK Samples

payments_only = false begin - response = xero_client.accounting_api.get_report_profit_and_loss(xero_tenant_id, from_date, to_date, periods, time_frame, tracking_category_id, tracking_category_id_2, tracking_option_id, tracking_option_id_2, standard_layout, payments_only) + response = xero_client.accounting_api.get_report_profit_and_loss(xero_tenant_id, from_date, to_date, periods, timeframe, tracking_category_id, tracking_category_id_2, tracking_option_id, tracking_option_id_2, standard_layout, payments_only) return response rescue XeroRuby::ApiError => e puts "Exception when calling get_report_profit_and_loss: #{e}" diff --git a/docs/app_store/Product.md b/docs/app_store/Product.md index ad49d1b0..ee649b85 100644 --- a/docs/app_store/Product.md +++ b/docs/app_store/Product.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **String** | The unique identifier for the product | [optional] **name** | **String** | The name of the product | [optional] **type** | **String** | The pricing model of the product: * FIXED: Customers are charged a fixed amount for each billing period * PER_SEAT: Customers are charged based on the number of units they purchase | [optional] +**seat_unit** | **String** | The unit of the per seat product. e.g. \"user\", \"organisation\", \"SMS\", etc | [optional] ## Code Sample @@ -15,7 +16,8 @@ require 'XeroRuby::AppStore' instance = XeroRuby::AppStore::Product.new(id: null, name: null, - type: null) + type: null, + seat_unit: null) ``` diff --git a/docs/app_store/index.html b/docs/app_store/index.html index 4759b1a3..9788d817 100644 --- a/docs/app_store/index.html +++ b/docs/app_store/index.html @@ -955,6 +955,10 @@ "type" : "string", "description" : "The pricing model of the product:\n* FIXED: Customers are charged a fixed amount for each billing period\n* PER_SEAT: Customers are charged based on the number of units they purchase\n", "enum" : [ "FIXED", "PER_SEAT" ] + }, + "seatUnit" : { + "type" : "string", + "description" : "The unit of the per seat product. e.g. \"user\", \"organisation\", \"SMS\", etc" } }, "description" : "" @@ -1080,7 +1084,7 @@ - +
@@ -1122,7 +1126,7 @@