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 bda439b commit 76c4f78
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 @@ -1618,10 +1618,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 @@ -1640,10 +1640,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 @@ -1662,10 +1662,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 @@ -1689,10 +1689,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 @@ -1711,10 +1711,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 @@ -270,10 +270,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 @@ -291,10 +291,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 @@ -312,10 +312,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 @@ -333,10 +333,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 76c4f78

Please sign in to comment.