Skip to content

Commit

Permalink
Update generated code for v1076
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 11, 2024
1 parent 189601a commit fc1b9f9
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 31 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1073
v1076
7 changes: 5 additions & 2 deletions src/main/java/com/stripe/model/QuoteLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ public class QuoteLine extends StripeObject implements HasId {
AppliesTo appliesTo;

/**
* For a point-in-time operation, this attribute lets you set or update whether the subscription's
* billing cycle anchor is reset at the {@code starts_at} timestamp.
* For point-in-time quote lines (having no {@code ends_at} timestamp), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the Quote Line {@code
* starts_at} timestamp.For time-span based quote lines (having both {@code starts_at} and {@code
* ends_at}), the only valid value is {@code automatic}, which removes any previously configured
* billing cycle anchor resets during the window of time spanning the quote line.
*
* <p>One of {@code automatic}, or {@code line_starts_at}.
*/
Expand Down
16 changes: 12 additions & 4 deletions src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -3595,8 +3595,12 @@ public static class Amendment {
AmendmentStart amendmentStart;

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -3746,8 +3750,12 @@ public Builder setAmendmentStart(
}

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
public Builder setBillingCycleAnchor(
InvoiceCreatePreviewParams.ScheduleDetails.Amendment.BillingCycleAnchor
Expand Down
16 changes: 12 additions & 4 deletions src/main/java/com/stripe/param/InvoiceUpcomingLinesListParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -4122,8 +4122,12 @@ public static class Amendment {
AmendmentStart amendmentStart;

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -4277,8 +4281,12 @@ public Builder setAmendmentStart(
}

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
public Builder setBillingCycleAnchor(
InvoiceUpcomingLinesListParams.ScheduleDetails.Amendment.BillingCycleAnchor
Expand Down
16 changes: 12 additions & 4 deletions src/main/java/com/stripe/param/InvoiceUpcomingLinesParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -4100,8 +4100,12 @@ public static class Amendment {
AmendmentStart amendmentStart;

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -4251,8 +4255,12 @@ public Builder setAmendmentStart(
}

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
public Builder setBillingCycleAnchor(
InvoiceUpcomingLinesParams.ScheduleDetails.Amendment.BillingCycleAnchor
Expand Down
16 changes: 12 additions & 4 deletions src/main/java/com/stripe/param/InvoiceUpcomingParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -4011,8 +4011,12 @@ public static class Amendment {
AmendmentStart amendmentStart;

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -4162,8 +4166,12 @@ public Builder setAmendmentStart(
}

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
public Builder setBillingCycleAnchor(
InvoiceUpcomingParams.ScheduleDetails.Amendment.BillingCycleAnchor billingCycleAnchor) {
Expand Down
15 changes: 11 additions & 4 deletions src/main/java/com/stripe/param/QuoteCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1627,8 +1627,11 @@ public static class Line {
AppliesTo appliesTo;

/**
* For a point-in-time operation, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code starts_at} timestamp.
* For point-in-time quote lines (having no {@code ends_at} timestamp), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the Quote Line
* {@code starts_at} timestamp.For time-span based quote lines (having both {@code starts_at}
* and {@code ends_at}), the only valid value is {@code automatic}, which removes any previously
* configured billing cycle anchor resets during the window of time spanning the quote line.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -1791,8 +1794,12 @@ public Builder setAppliesTo(QuoteCreateParams.Line.AppliesTo appliesTo) {
}

/**
* For a point-in-time operation, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code starts_at} timestamp.
* For point-in-time quote lines (having no {@code ends_at} timestamp), this attribute lets
* you set or remove whether the subscription's billing cycle anchor is reset at the Quote
* Line {@code starts_at} timestamp.For time-span based quote lines (having both {@code
* starts_at} and {@code ends_at}), the only valid value is {@code automatic}, which removes
* any previously configured billing cycle anchor resets during the window of time spanning
* the quote line.
*/
public Builder setBillingCycleAnchor(
QuoteCreateParams.Line.BillingCycleAnchor billingCycleAnchor) {
Expand Down
15 changes: 11 additions & 4 deletions src/main/java/com/stripe/param/QuoteUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1532,8 +1532,11 @@ public static class Line {
AppliesTo appliesTo;

/**
* For a point-in-time operation, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code starts_at} timestamp.
* For point-in-time quote lines (having no {@code ends_at} timestamp), this attribute lets you
* set or remove whether the subscription's billing cycle anchor is reset at the Quote Line
* {@code starts_at} timestamp.For time-span based quote lines (having both {@code starts_at}
* and {@code ends_at}), the only valid value is {@code automatic}, which removes any previously
* configured billing cycle anchor resets during the window of time spanning the quote line.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -1705,8 +1708,12 @@ public Builder setAppliesTo(QuoteUpdateParams.Line.AppliesTo appliesTo) {
}

/**
* For a point-in-time operation, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code starts_at} timestamp.
* For point-in-time quote lines (having no {@code ends_at} timestamp), this attribute lets
* you set or remove whether the subscription's billing cycle anchor is reset at the Quote
* Line {@code starts_at} timestamp.For time-span based quote lines (having both {@code
* starts_at} and {@code ends_at}), the only valid value is {@code automatic}, which removes
* any previously configured billing cycle anchor resets during the window of time spanning
* the quote line.
*/
public Builder setBillingCycleAnchor(
QuoteUpdateParams.Line.BillingCycleAnchor billingCycleAnchor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,12 @@ public static class Amendment {
AmendmentStart amendmentStart;

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic}, which
* removes any previously configured billing cycle anchor resets scheduled to occur during the
* window of time spanned by the amendment.
*/
@SerializedName("billing_cycle_anchor")
BillingCycleAnchor billingCycleAnchor;
Expand Down Expand Up @@ -391,8 +395,12 @@ public Builder setAmendmentStart(
}

/**
* For a point-in-time amendment, this attribute lets you set or update whether the
* subscription's billing cycle anchor is reset at the {@code amendment_start} timestamp.
* For point-in-time amendments (having no {@code amendment_end}), this attribute lets you set
* or remove whether the subscription's billing cycle anchor is reset at the {@code
* amendment_start} timestamp.For time-span based amendments (having both {@code
* amendment_start} and {@code amendment_end}), the only value valid is {@code automatic},
* which removes any previously configured billing cycle anchor resets scheduled to occur
* during the window of time spanned by the amendment.
*/
public Builder setBillingCycleAnchor(
SubscriptionScheduleAmendParams.Amendment.BillingCycleAnchor billingCycleAnchor) {
Expand Down

0 comments on commit fc1b9f9

Please sign in to comment.