-
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 #238 from XeroAPI/xero-ruby-3.15.0
generates xero-ruby 3.15.0 from OAS 2.31.0
- Loading branch information
Showing
23 changed files
with
2,078 additions
and
17 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
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,19 @@ | ||
# XeroRuby::AppStore::CreateUsageRecord | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**quantity** | **Integer** | The initial quantity for the usage record. Must be a whole number that is greater than or equal to 0 | | ||
**timestamp** | **DateTime** | DateTime in UTC of when the the product was consumed/used | | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::AppStore' | ||
|
||
instance = XeroRuby::AppStore::CreateUsageRecord.new(quantity: null, | ||
timestamp: 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,17 @@ | ||
# XeroRuby::AppStore::UpdateUsageRecord | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**quantity** | **Integer** | The new quantity for the usage record. Must be a whole number that is greater than or equal to 0 | | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::AppStore' | ||
|
||
instance = XeroRuby::AppStore::UpdateUsageRecord.new(quantity: 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,31 @@ | ||
# XeroRuby::AppStore::UsageRecord | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**quantity** | **Integer** | The quantity recorded | | ||
**subscription_id** | **String** | The unique identifier of the Subscription. | | ||
**subscription_item_id** | **String** | The unique identifier of the SubscriptionItem. | | ||
**test_mode** | **Boolean** | If the subscription is a test subscription | | ||
**recorded_at** | **DateTime** | The time when this usage was recorded in UTC | | ||
**usage_record_id** | **String** | The unique identifier of the usageRecord. | | ||
**price_per_unit** | **Float** | The price per unit | | ||
**product_id** | **String** | The unique identifier of the linked Product | | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::AppStore' | ||
|
||
instance = XeroRuby::AppStore::UsageRecord.new(quantity: null, | ||
subscription_id: null, | ||
subscription_item_id: null, | ||
test_mode: null, | ||
recorded_at: null, | ||
usage_record_id: null, | ||
price_per_unit: null, | ||
product_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# XeroRuby::AppStore::UsageRecordsList | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**usage_records** | [**Array<UsageRecord>**](UsageRecord.md) | A collection of usage records | | ||
|
||
## Code Sample | ||
|
||
```ruby | ||
require 'XeroRuby::AppStore' | ||
|
||
instance = XeroRuby::AppStore::UsageRecordsList.new(usage_records: null) | ||
``` | ||
|
||
|
Oops, something went wrong.