Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 (add UUID to external subscriptions) #279

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16743,8 +16743,9 @@ components:
external_subscription_id_fetch:
name: external_subscription_id
in: path
description: External subscription ID or external_id. For ID no prefix is used
e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456`.
description: External subscription ID, external_id or uuid. For ID no prefix
is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
`external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
required: true
schema:
type: string
Expand Down Expand Up @@ -25100,6 +25101,10 @@ components:
title: External Id
description: The id of the subscription in the external systems., I.e. Apple
App Store or Google Play Store.
uuid:
type: string
title: Uuid
description: Universally Unique Identifier created automatically.
last_purchased:
type: string
format: date-time
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/recurly/v3/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ public Pager<ExternalSubscription> listExternalSubscriptions(QueryParams queryPa
* Fetch an external subscription
*
* @see <a href="https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription">get_external_subscription api documentation</a>
* @param externalSubscriptionId External subscription ID or external_id. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456`.
* @param externalSubscriptionId External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
* @return Settings for an external subscription.
*/
public ExternalSubscription getExternalSubscription(String externalSubscriptionId) {
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/com/recurly/v3/resources/ExternalSubscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ public class ExternalSubscription extends Resource {
@Expose
private DateTime updatedAt;

/** Universally Unique Identifier created automatically. */
@SerializedName("uuid")
@Expose
private String uuid;

/** Account mini details */
public AccountMini getAccount() {
return this.account;
Expand Down Expand Up @@ -389,4 +394,14 @@ public DateTime getUpdatedAt() {
public void setUpdatedAt(final DateTime updatedAt) {
this.updatedAt = updatedAt;
}

/** Universally Unique Identifier created automatically. */
public String getUuid() {
return this.uuid;
}

/** @param uuid Universally Unique Identifier created automatically. */
public void setUuid(final String uuid) {
this.uuid = uuid;
}
}
Loading