-
Notifications
You must be signed in to change notification settings - Fork 128
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 #918 from recurly/v3-v2021-02-25-12325353567
Generated Latest Changes for v2021-02-25
- Loading branch information
Showing
19 changed files
with
718 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Requests | ||
class AccountExternalSubscription < Request | ||
|
||
# @!attribute account_code | ||
# @return [String] The account code of a new or existing account to be used when creating the external subscription. | ||
define_attribute :account_code, String | ||
end | ||
end | ||
end |
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
10 changes: 10 additions & 0 deletions
10
lib/recurly/requests/external_product_reference_connection_type.rb
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,10 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Requests | ||
class ExternalProductReferenceConnectionType < Request | ||
end | ||
end | ||
end |
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,18 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Requests | ||
class ExternalProductReferenceUpdate < Request | ||
|
||
# @!attribute external_connection_type | ||
# @return [ExternalProductReferenceConnectionType] Represents the connection type. One of the connection types of your enabled App Connectors | ||
define_attribute :external_connection_type, :ExternalProductReferenceConnectionType | ||
|
||
# @!attribute reference_code | ||
# @return [String] A code which associates the external product to a corresponding object or resource in an external platform like the Apple App Store or Google Play Store. | ||
define_attribute :reference_code, String | ||
end | ||
end | ||
end |
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,62 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Requests | ||
class ExternalSubscriptionCreate < Request | ||
|
||
# @!attribute account | ||
# @return [AccountExternalSubscription] | ||
define_attribute :account, :AccountExternalSubscription | ||
|
||
# @!attribute activated_at | ||
# @return [DateTime] When the external subscription was activated in the external platform. | ||
define_attribute :activated_at, DateTime | ||
|
||
# @!attribute app_identifier | ||
# @return [String] Identifier of the app that generated the external subscription. | ||
define_attribute :app_identifier, String | ||
|
||
# @!attribute auto_renew | ||
# @return [Boolean] An indication of whether or not the external subscription will auto-renew at the expiration date. | ||
define_attribute :auto_renew, :Boolean | ||
|
||
# @!attribute expires_at | ||
# @return [DateTime] When the external subscription expires in the external platform. | ||
define_attribute :expires_at, DateTime | ||
|
||
# @!attribute external_id | ||
# @return [String] Id of the subscription in the external system, i.e. Apple App Store or Google Play Store. | ||
define_attribute :external_id, String | ||
|
||
# @!attribute external_product_reference | ||
# @return [ExternalProductReferenceCreate] | ||
define_attribute :external_product_reference, :ExternalProductReferenceCreate | ||
|
||
# @!attribute imported | ||
# @return [Boolean] An indication of whether or not the external subscription was being created by a historical data import. | ||
define_attribute :imported, :Boolean | ||
|
||
# @!attribute last_purchased | ||
# @return [DateTime] When a new billing event occurred on the external subscription in conjunction with a recent billing period, reactivation or upgrade/downgrade. | ||
define_attribute :last_purchased, DateTime | ||
|
||
# @!attribute quantity | ||
# @return [Integer] An indication of the quantity of a subscribed item's quantity. | ||
define_attribute :quantity, Integer | ||
|
||
# @!attribute state | ||
# @return [String] External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. | ||
define_attribute :state, String | ||
|
||
# @!attribute trial_ends_at | ||
# @return [DateTime] When the external subscription trial period ends in the external platform. | ||
define_attribute :trial_ends_at, DateTime | ||
|
||
# @!attribute trial_started_at | ||
# @return [DateTime] When the external subscription trial period started in the external platform. | ||
define_attribute :trial_started_at, DateTime | ||
end | ||
end | ||
end |
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,58 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Requests | ||
class ExternalSubscriptionUpdate < Request | ||
|
||
# @!attribute activated_at | ||
# @return [DateTime] When the external subscription was activated in the external platform. | ||
define_attribute :activated_at, DateTime | ||
|
||
# @!attribute app_identifier | ||
# @return [String] Identifier of the app that generated the external subscription. | ||
define_attribute :app_identifier, String | ||
|
||
# @!attribute auto_renew | ||
# @return [Boolean] An indication of whether or not the external subscription will auto-renew at the expiration date. | ||
define_attribute :auto_renew, :Boolean | ||
|
||
# @!attribute expires_at | ||
# @return [DateTime] When the external subscription expires in the external platform. | ||
define_attribute :expires_at, DateTime | ||
|
||
# @!attribute external_id | ||
# @return [String] Id of the subscription in the external system, i.e. Apple App Store or Google Play Store. | ||
define_attribute :external_id, String | ||
|
||
# @!attribute external_product_reference | ||
# @return [ExternalProductReferenceUpdate] | ||
define_attribute :external_product_reference, :ExternalProductReferenceUpdate | ||
|
||
# @!attribute imported | ||
# @return [Boolean] An indication of whether or not the external subscription was being created by a historical data import. | ||
define_attribute :imported, :Boolean | ||
|
||
# @!attribute last_purchased | ||
# @return [DateTime] When a new billing event occurred on the external subscription in conjunction with a recent billing period, reactivation or upgrade/downgrade. | ||
define_attribute :last_purchased, DateTime | ||
|
||
# @!attribute quantity | ||
# @return [Integer] An indication of the quantity of a subscribed item's quantity. | ||
define_attribute :quantity, Integer | ||
|
||
# @!attribute state | ||
# @return [String] External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused. | ||
define_attribute :state, String | ||
|
||
# @!attribute trial_ends_at | ||
# @return [DateTime] When the external subscription trial period ends in the external platform. | ||
define_attribute :trial_ends_at, DateTime | ||
|
||
# @!attribute trial_started_at | ||
# @return [DateTime] When the external subscription trial period started in the external platform. | ||
define_attribute :trial_started_at, DateTime | ||
end | ||
end | ||
end |
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,26 @@ | ||
# This file is automatically created by Recurly's OpenAPI generation process | ||
# and thus any edits you make by hand will be lost. If you wish to make a | ||
# change to this file, please create a Github issue explaining the changes you | ||
# need and we will usher them to the appropriate places. | ||
module Recurly | ||
module Resources | ||
class BusinessEntityMini < Resource | ||
|
||
# @!attribute code | ||
# @return [String] The entity code of the business entity. | ||
define_attribute :code, String | ||
|
||
# @!attribute id | ||
# @return [String] Business entity ID | ||
define_attribute :id, String | ||
|
||
# @!attribute name | ||
# @return [String] This name describes your business entity and will appear on the invoice. | ||
define_attribute :name, String | ||
|
||
# @!attribute object | ||
# @return [String] Object type | ||
define_attribute :object, String | ||
end | ||
end | ||
end |
Oops, something went wrong.