-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from XeroAPI/xero-ruby-3.7.0
generates xero-ruby-3.7.0 from OAS 2.19.1
- Loading branch information
Showing
44 changed files
with
4,395 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# XeroRuby::Accounting::LineItemItem | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**code** | **String** | User defined item code (max length = 30) | [optional] | ||
**name** | **String** | The name of the item (max length = 50) | [optional] | ||
**item_id** | **String** | The Xero identifier for an Item | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Accounting' | ||
|
||
instance = XeroRuby::Accounting::LineItemItem.new(code: null, | ||
name: null, | ||
item_id: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Finance::BankStatementAccountingResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**bank_account_id** | **String** | Xero Identifier of bank account | [optional] | ||
**bank_account_name** | **String** | Name of bank account | [optional] | ||
**bank_account_currency_code** | **String** | Currency code of the bank account | [optional] | ||
**statements** | [**Array<StatementResponse>**](StatementResponse.md) | List of bank statements and linked accounting data for the requested period | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::BankStatementAccountingResponse.new(bank_account_id: null, | ||
bank_account_name: null, | ||
bank_account_currency_code: null, | ||
statements: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# XeroRuby::Finance::BankTransactionResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**bank_transaction_id** | **String** | Xero Identifier of transaction | [optional] | ||
**batch_payment_id** | **String** | Xero Identifier of batch payment. Present if the transaction is part of a batch. | [optional] | ||
**contact** | [**ContactResponse**](ContactResponse.md) | | [optional] | ||
**date** | **DateTime** | Date of transaction - YYYY-MM-DD | [optional] | ||
**amount** | **BigDecimal** | Amount of transaction | [optional] | ||
**line_items** | [**Array<LineItemResponse>**](LineItemResponse.md) | The LineItems element can contain any number of individual LineItem sub-elements. Not included in summary mode | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::BankTransactionResponse.new(bank_transaction_id: null, | ||
batch_payment_id: null, | ||
contact: null, | ||
date: null, | ||
amount: null, | ||
line_items: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# XeroRuby::Finance::ContactResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**contact_id** | **String** | Xero Identifier of contact | [optional] | ||
**contact_name** | **String** | Full name of contact/organisation | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::ContactResponse.new(contact_id: null, | ||
contact_name: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Finance::CreditNoteResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**credit_note_id** | **String** | Xero Identifier of credit note | [optional] | ||
**contact** | [**ContactResponse**](ContactResponse.md) | | [optional] | ||
**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax); Not included in summary mode | [optional] | ||
**line_items** | [**Array<LineItemResponse>**](LineItemResponse.md) | Not included in summary mode | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::CreditNoteResponse.new(credit_note_id: null, | ||
contact: null, | ||
total: null, | ||
line_items: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Finance::InvoiceResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**invoice_id** | **String** | Xero Identifier of invoice | [optional] | ||
**contact** | [**ContactResponse**](ContactResponse.md) | | [optional] | ||
**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax); Not included in summary mode | [optional] | ||
**line_items** | [**Array<LineItemResponse>**](LineItemResponse.md) | Not included in summary mode | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::InvoiceResponse.new(invoice_id: null, | ||
contact: null, | ||
total: null, | ||
line_items: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Finance::LineItemResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**account_id** | **String** | Xero Identifier of account | [optional] | ||
**reporting_code** | **String** | Shown if set | [optional] | ||
**line_amount** | **BigDecimal** | Amount of line item | [optional] | ||
**account_type** | **String** | Account type | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::LineItemResponse.new(account_id: null, | ||
reporting_code: null, | ||
line_amount: null, | ||
account_type: null) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# XeroRuby::Finance::OverpaymentResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**overpayment_id** | **String** | Xero Identifier of overpayment | [optional] | ||
**contact** | [**ContactResponse**](ContactResponse.md) | | [optional] | ||
**total** | **BigDecimal** | Total of Invoice tax inclusive (i.e. SubTotal + TotalTax); Not included in summary mode | [optional] | ||
**line_items** | [**Array<LineItemResponse>**](LineItemResponse.md) | Not included in summary mode | [optional] | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::Finance' | ||
|
||
instance = XeroRuby::Finance::OverpaymentResponse.new(overpayment_id: null, | ||
contact: null, | ||
total: null, | ||
line_items: null) | ||
``` | ||
|
||
|
Oops, something went wrong.