Skip to content

Commit

Permalink
Update generated code for v989
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 24, 2024
1 parent 51b7b45 commit 8ff01c3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v988
v989
40 changes: 20 additions & 20 deletions src/main/java/com/stripe/model/Invoice.java
Original file line number Diff line number Diff line change
Expand Up @@ -1867,10 +1867,10 @@ public Invoice sendInvoice(InvoiceSendInvoiceParams params, RequestOptions optio
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public static Invoice upcoming() throws StripeException {
return upcoming((Map<String, Object>) null, (RequestOptions) null);
Expand All @@ -1889,10 +1889,10 @@ public static Invoice upcoming() throws StripeException {
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public static Invoice upcoming(Map<String, Object> params) throws StripeException {
return upcoming(params, (RequestOptions) null);
Expand All @@ -1911,10 +1911,10 @@ public static Invoice upcoming(Map<String, Object> params) throws StripeExceptio
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public static Invoice upcoming(Map<String, Object> params, RequestOptions options)
throws StripeException {
Expand All @@ -1938,10 +1938,10 @@ public static Invoice upcoming(Map<String, Object> params, RequestOptions option
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public static Invoice upcoming(InvoiceUpcomingParams params) throws StripeException {
return upcoming(params, (RequestOptions) null);
Expand All @@ -1960,10 +1960,10 @@ public static Invoice upcoming(InvoiceUpcomingParams params) throws StripeExcept
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public static Invoice upcoming(InvoiceUpcomingParams params, RequestOptions options)
throws StripeException {
Expand Down
32 changes: 16 additions & 16 deletions src/main/java/com/stripe/service/InvoiceService.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ public StripeSearchResult<Invoice> search(InvoiceSearchParams params, RequestOpt
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public Invoice upcoming(InvoiceUpcomingParams params) throws StripeException {
return upcoming(params, (RequestOptions) null);
Expand All @@ -295,10 +295,10 @@ public Invoice upcoming(InvoiceUpcomingParams params) throws StripeException {
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public Invoice upcoming(RequestOptions options) throws StripeException {
return upcoming((InvoiceUpcomingParams) null, options);
Expand All @@ -316,10 +316,10 @@ public Invoice upcoming(RequestOptions options) throws StripeException {
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public Invoice upcoming() throws StripeException {
return upcoming((InvoiceUpcomingParams) null, (RequestOptions) null);
Expand All @@ -337,10 +337,10 @@ public Invoice upcoming() throws StripeException {
*
* <p>You can preview the effects of updating a subscription, including a preview of what
* proration will take place. To ensure that the actual proration is calculated exactly the same
* as the previewed proration, you should pass the {@code subscription_proration_date} parameter
* when doing the actual subscription update. The recommended way to get only the prorations being
* previewed is to consider only proration line items where {@code period[start]} is equal to the
* {@code subscription_proration_date} value passed in the request.
* as the previewed proration, you should pass the {@code subscription_details.proration_date}
* parameter when doing the actual subscription update. The recommended way to get only the
* prorations being previewed is to consider only proration line items where {@code period[start]}
* is equal to the {@code subscription_details.proration_date} value passed in the request.
*/
public Invoice upcoming(InvoiceUpcomingParams params, RequestOptions options)
throws StripeException {
Expand Down

0 comments on commit 8ff01c3

Please sign in to comment.