Skip to content

Generated Latest Changes for v2021-02-25#307

Merged
d14z-tech merged 1 commit into
v3-v2021-02-25from
v3-v2021-02-25-18349657340
Oct 8, 2025
Merged

Generated Latest Changes for v2021-02-25#307
d14z-tech merged 1 commit into
v3-v2021-02-25from
v3-v2021-02-25-18349657340

Conversation

@recurly-integrations
Copy link
Copy Markdown

@recurly-integrations recurly-integrations commented Oct 8, 2025

This pull request adds several enhancements and new features to the API and Java client, primarily focused on account notes, proration settings, and product classification codes. The most significant changes include new endpoints and models for creating and deleting account notes, support for proration settings when creating or updating subscriptions, and the addition of the Harmonized System code field for better product classification. Below are the key changes grouped by theme:

Account Notes API Enhancements

  • Added a new POST endpoint /accounts/{account_id}/notes to create account notes, including the necessary request and response schemas in the OpenAPI spec.
  • Introduced a new DELETE endpoint /accounts/{account_id}/notes/{account_note_id} for deleting account notes, along with error response handling.
  • Refactored the account_note_id parameter to use a reusable OpenAPI component.
  • Added corresponding methods in the Java client: createAccountNote and removeAccountNote in Client.java.

Subscription Proration Settings

  • Introduced new OpenAPI schemas for SubscriptionCreateProrationSettings and its charge enum, allowing more control over proration when creating or updating subscriptions.
  • Updated SubscriptionCreate and SubscriptionUpdate schemas to include the new proration_settings property.
  • Added the corresponding enum SubscriptionCreateProrationSettingsCharge in the Java client constants.

Product Classification Enhancements

  • Added a harmonized_system_code property to various product-related schemas (e.g., Plan, AddOn, Item, Purchase, etc.) for international product classification, including validation rules.

Account Model Improvements

  • Added a bill_date field to both AccountCreate and AccountUpdate schemas, allowing users to specify a preferred billing date for new subscriptions.
  • Imported DateTime in the Java AccountCreate request model to support the new bill_date property.

These changes collectively improve the flexibility and internationalization of the API, while also expanding the capabilities of the Java client library.

@recurly-integrations recurly-integrations added the V5 v2021-02-25 Client label Oct 8, 2025
@d14z-tech d14z-tech merged commit 58242d0 into v3-v2021-02-25 Oct 8, 2025
11 of 12 checks passed
@d14z-tech d14z-tech deleted the v3-v2021-02-25-18349657340 branch October 8, 2025 21:09
recurly-integrations pushed a commit that referenced this pull request Oct 9, 2025
[Full Changelog](5.5.0...5.6.0)

**Merged Pull Requests**

- Generated Latest Changes for v2021-02-25 [#307](#307) ([recurly-integrations](https://github.com/recurly-integrations))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V5 v2021-02-25 Client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants