Skip to content

Commit bde279e

Browse files
Merge upstream and update generated code for v2143 and
2 parents d4eadc8 + 099ffc3 commit bde279e

10 files changed

+43
-218
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7b4fc6eca8bc61b5a52339eda297e0273fa6042c
1+
66e389e8ac4e3bb89bf1a5b24c553e9638e581e8

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2142
1+
v2143

src/main/java/com/stripe/model/Quote.java

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,14 +2027,10 @@ public static class SubscriptionData extends StripeObject {
20272027
Map<String, String> metadata;
20282028

20292029
/**
2030-
* Configures how the quote handles billing for line transitions. Possible values are {@code
2031-
* line_start} (default) or {@code billing_period_start}. {@code line_start} bills based on the
2032-
* current state of the line, ignoring changes scheduled for future lines. {@code
2033-
* billing_period_start} bills predictively for upcoming line transitions within the current
2034-
* billing cycle, including pricing changes and service period adjustments that will occur
2035-
* before the next invoice.
2030+
* Configures how the subscription schedule handles billing for phase transitions when the quote
2031+
* is accepted.
20362032
*
2037-
* <p>One of {@code billing_period_start}, or {@code line_start}.
2033+
* <p>One of {@code billing_period_start}, or {@code phase_start}.
20382034
*/
20392035
@SerializedName("phase_effective_at")
20402036
String phaseEffectiveAt;
@@ -2494,14 +2490,10 @@ public static class SubscriptionDataOverride extends StripeObject {
24942490
String endBehavior;
24952491

24962492
/**
2497-
* Configures how the quote handles billing for line transitions. Possible values are {@code
2498-
* line_start} (default) or {@code billing_period_start}. {@code line_start} bills based on the
2499-
* current state of the line, ignoring changes scheduled for future lines. {@code
2500-
* billing_period_start} bills predictively for upcoming line transitions within the current
2501-
* billing cycle, including pricing changes and service period adjustments that will occur
2502-
* before the next invoice.
2493+
* Configures how the subscription schedule handles billing for phase transitions when the quote
2494+
* is accepted.
25032495
*
2504-
* <p>One of {@code billing_period_start}, or {@code line_start}.
2496+
* <p>One of {@code billing_period_start}, or {@code phase_start}.
25052497
*/
25062498
@SerializedName("phase_effective_at")
25072499
String phaseEffectiveAt;

src/main/java/com/stripe/model/QuoteLine.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@ public class QuoteLine extends StripeObject implements HasId {
4848
CancelSubscriptionSchedule cancelSubscriptionSchedule;
4949

5050
/**
51-
* Configures how the subscription schedule handles billing for phase transitions. Possible values
52-
* are {@code phase_start} (default) or {@code billing_period_start}. {@code phase_start} bills
53-
* based on the current state of the subscription, ignoring changes scheduled in future phases.
54-
* {@code billing_period_start} bills predictively for upcoming phase transitions within the
55-
* current billing cycle, including pricing changes and service period adjustments that will occur
56-
* before the next invoice.
51+
* Configures how the subscription schedule handles billing for phase transitions.
5752
*
5853
* <p>One of {@code billing_period_start}, or {@code line_start}.
5954
*/

src/main/java/com/stripe/param/InvoiceCreatePreviewParams.java

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3901,14 +3901,7 @@ public static class Amendment {
39013901
@SerializedName("discount_actions")
39023902
List<InvoiceCreatePreviewParams.ScheduleDetails.Amendment.DiscountAction> discountActions;
39033903

3904-
/**
3905-
* Configures how the subscription schedule handles billing for phase transitions. Possible
3906-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
3907-
* phase_start} bills based on the current state of the subscription, ignoring changes
3908-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
3909-
* phase transitions within the current billing cycle, including pricing changes and service
3910-
* period adjustments that will occur before the next invoice.
3911-
*/
3904+
/** Configures how the subscription schedule handles billing for phase transitions. */
39123905
@SerializedName("effective_at")
39133906
EffectiveAt effectiveAt;
39143907

@@ -4137,14 +4130,7 @@ public Builder addAllDiscountAction(
41374130
return this;
41384131
}
41394132

4140-
/**
4141-
* Configures how the subscription schedule handles billing for phase transitions. Possible
4142-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
4143-
* phase_start} bills based on the current state of the subscription, ignoring changes
4144-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
4145-
* phase transitions within the current billing cycle, including pricing changes and service
4146-
* period adjustments that will occur before the next invoice.
4147-
*/
4133+
/** Configures how the subscription schedule handles billing for phase transitions. */
41484134
public Builder setEffectiveAt(
41494135
InvoiceCreatePreviewParams.ScheduleDetails.Amendment.EffectiveAt effectiveAt) {
41504136
this.effectiveAt = effectiveAt;
@@ -9105,14 +9091,7 @@ public static class Phase {
91059091
@SerializedName("duration")
91069092
Duration duration;
91079093

9108-
/**
9109-
* Configures how the subscription schedule handles billing for phase transitions. Possible
9110-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
9111-
* phase_start} bills based on the current state of the subscription, ignoring changes
9112-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
9113-
* phase transitions within the current billing cycle, including pricing changes and service
9114-
* period adjustments that will occur before the next invoice.
9115-
*/
9094+
/** Configures how the subscription schedule handles billing for phase transitions. */
91169095
@SerializedName("effective_at")
91179096
EffectiveAt effectiveAt;
91189097

@@ -9623,14 +9602,7 @@ public Builder setDuration(
96239602
return this;
96249603
}
96259604

9626-
/**
9627-
* Configures how the subscription schedule handles billing for phase transitions. Possible
9628-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
9629-
* phase_start} bills based on the current state of the subscription, ignoring changes
9630-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
9631-
* phase transitions within the current billing cycle, including pricing changes and service
9632-
* period adjustments that will occur before the next invoice.
9633-
*/
9605+
/** Configures how the subscription schedule handles billing for phase transitions. */
96349606
public Builder setEffectiveAt(
96359607
InvoiceCreatePreviewParams.ScheduleDetails.Phase.EffectiveAt effectiveAt) {
96369608
this.effectiveAt = effectiveAt;

src/main/java/com/stripe/param/QuoteCreateParams.java

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,14 +1640,7 @@ public static class Line {
16401640
@SerializedName("cancel_subscription_schedule")
16411641
CancelSubscriptionSchedule cancelSubscriptionSchedule;
16421642

1643-
/**
1644-
* Configures how the subscription schedule handles billing for phase transitions. Possible
1645-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code phase_start}
1646-
* bills based on the current state of the subscription, ignoring changes scheduled in future
1647-
* phases. {@code billing_period_start} bills predictively for upcoming phase transitions within
1648-
* the current billing cycle, including pricing changes and service period adjustments that will
1649-
* occur before the next invoice.
1650-
*/
1643+
/** Configures how the quote handles billing for line transitions. */
16511644
@SerializedName("effective_at")
16521645
EffectiveAt effectiveAt;
16531646

@@ -1830,14 +1823,7 @@ public Builder setCancelSubscriptionSchedule(
18301823
return this;
18311824
}
18321825

1833-
/**
1834-
* Configures how the subscription schedule handles billing for phase transitions. Possible
1835-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
1836-
* phase_start} bills based on the current state of the subscription, ignoring changes
1837-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
1838-
* phase transitions within the current billing cycle, including pricing changes and service
1839-
* period adjustments that will occur before the next invoice.
1840-
*/
1826+
/** Configures how the quote handles billing for line transitions. */
18411827
public Builder setEffectiveAt(QuoteCreateParams.Line.EffectiveAt effectiveAt) {
18421828
this.effectiveAt = effectiveAt;
18431829
return this;
@@ -6615,11 +6601,7 @@ public static class SubscriptionData {
66156601

66166602
/**
66176603
* Configures how the subscription schedule handles billing for phase transitions when the quote
6618-
* is accepted. Possible values are {@code phase_start} (default) or {@code
6619-
* billing_period_start}. {@code phase_start} bills based on the current state of the
6620-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start} bills
6621-
* predictively for upcoming phase transitions within the current billing cycle, including
6622-
* pricing changes and service period adjustments that will occur before the next invoice.
6604+
* is accepted.
66236605
*/
66246606
@SerializedName("phase_effective_at")
66256607
PhaseEffectiveAt phaseEffectiveAt;
@@ -6938,12 +6920,7 @@ public Builder putAllMetadata(Map<String, String> map) {
69386920

69396921
/**
69406922
* Configures how the subscription schedule handles billing for phase transitions when the
6941-
* quote is accepted. Possible values are {@code phase_start} (default) or {@code
6942-
* billing_period_start}. {@code phase_start} bills based on the current state of the
6943-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start}
6944-
* bills predictively for upcoming phase transitions within the current billing cycle,
6945-
* including pricing changes and service period adjustments that will occur before the next
6946-
* invoice.
6923+
* quote is accepted.
69476924
*/
69486925
public Builder setPhaseEffectiveAt(
69496926
QuoteCreateParams.SubscriptionData.PhaseEffectiveAt phaseEffectiveAt) {
@@ -8891,8 +8868,8 @@ public enum PhaseEffectiveAt implements ApiRequestParams.EnumParam {
88918868
@SerializedName("billing_period_start")
88928869
BILLING_PERIOD_START("billing_period_start"),
88938870

8894-
@SerializedName("line_start")
8895-
LINE_START("line_start");
8871+
@SerializedName("phase_start")
8872+
PHASE_START("phase_start");
88968873

88978874
@Getter(onMethod_ = {@Override})
88988875
private final String value;
@@ -8982,11 +8959,7 @@ public static class SubscriptionDataOverride {
89828959

89838960
/**
89848961
* Configures how the subscription schedule handles billing for phase transitions when the quote
8985-
* is accepted. Possible values are {@code phase_start} (default) or {@code
8986-
* billing_period_start}. {@code phase_start} bills based on the current state of the
8987-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start} bills
8988-
* predictively for upcoming phase transitions within the current billing cycle, including
8989-
* pricing changes and service period adjustments that will occur before the next invoice.
8962+
* is accepted.
89908963
*/
89918964
@SerializedName("phase_effective_at")
89928965
PhaseEffectiveAt phaseEffectiveAt;
@@ -9186,12 +9159,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
91869159

91879160
/**
91889161
* Configures how the subscription schedule handles billing for phase transitions when the
9189-
* quote is accepted. Possible values are {@code phase_start} (default) or {@code
9190-
* billing_period_start}. {@code phase_start} bills based on the current state of the
9191-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start}
9192-
* bills predictively for upcoming phase transitions within the current billing cycle,
9193-
* including pricing changes and service period adjustments that will occur before the next
9194-
* invoice.
9162+
* quote is accepted.
91959163
*/
91969164
public Builder setPhaseEffectiveAt(
91979165
QuoteCreateParams.SubscriptionDataOverride.PhaseEffectiveAt phaseEffectiveAt) {
@@ -10941,8 +10909,8 @@ public enum PhaseEffectiveAt implements ApiRequestParams.EnumParam {
1094110909
@SerializedName("billing_period_start")
1094210910
BILLING_PERIOD_START("billing_period_start"),
1094310911

10944-
@SerializedName("line_start")
10945-
LINE_START("line_start");
10912+
@SerializedName("phase_start")
10913+
PHASE_START("phase_start");
1094610914

1094710915
@Getter(onMethod_ = {@Override})
1094810916
private final String value;

src/main/java/com/stripe/param/QuoteUpdateParams.java

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,14 +1553,7 @@ public static class Line {
15531553
@SerializedName("cancel_subscription_schedule")
15541554
CancelSubscriptionSchedule cancelSubscriptionSchedule;
15551555

1556-
/**
1557-
* Configures how the subscription schedule handles billing for phase transitions. Possible
1558-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code phase_start}
1559-
* bills based on the current state of the subscription, ignoring changes scheduled in future
1560-
* phases. {@code billing_period_start} bills predictively for upcoming phase transitions within
1561-
* the current billing cycle, including pricing changes and service period adjustments that will
1562-
* occur before the next invoice.
1563-
*/
1556+
/** Configures how the quote handles billing for line transitions. */
15641557
@SerializedName("effective_at")
15651558
EffectiveAt effectiveAt;
15661559

@@ -1752,14 +1745,7 @@ public Builder setCancelSubscriptionSchedule(
17521745
return this;
17531746
}
17541747

1755-
/**
1756-
* Configures how the subscription schedule handles billing for phase transitions. Possible
1757-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
1758-
* phase_start} bills based on the current state of the subscription, ignoring changes
1759-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
1760-
* phase transitions within the current billing cycle, including pricing changes and service
1761-
* period adjustments that will occur before the next invoice.
1762-
*/
1748+
/** Configures how the quote handles billing for line transitions. */
17631749
public Builder setEffectiveAt(QuoteUpdateParams.Line.EffectiveAt effectiveAt) {
17641750
this.effectiveAt = effectiveAt;
17651751
return this;
@@ -6780,11 +6766,7 @@ public static class SubscriptionData {
67806766

67816767
/**
67826768
* Configures how the subscription schedule handles billing for phase transitions when the quote
6783-
* is accepted. Possible values are {@code phase_start} (default) or {@code
6784-
* billing_period_start}. {@code phase_start} bills based on the current state of the
6785-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start} bills
6786-
* predictively for upcoming phase transitions within the current billing cycle, including
6787-
* pricing changes and service period adjustments that will occur before the next invoice.
6769+
* is accepted.
67886770
*/
67896771
@SerializedName("phase_effective_at")
67906772
PhaseEffectiveAt phaseEffectiveAt;
@@ -7118,12 +7100,7 @@ public Builder putAllMetadata(Map<String, String> map) {
71187100

71197101
/**
71207102
* Configures how the subscription schedule handles billing for phase transitions when the
7121-
* quote is accepted. Possible values are {@code phase_start} (default) or {@code
7122-
* billing_period_start}. {@code phase_start} bills based on the current state of the
7123-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start}
7124-
* bills predictively for upcoming phase transitions within the current billing cycle,
7125-
* including pricing changes and service period adjustments that will occur before the next
7126-
* invoice.
7103+
* quote is accepted.
71277104
*/
71287105
public Builder setPhaseEffectiveAt(
71297106
QuoteUpdateParams.SubscriptionData.PhaseEffectiveAt phaseEffectiveAt) {
@@ -8899,8 +8876,8 @@ public enum PhaseEffectiveAt implements ApiRequestParams.EnumParam {
88998876
@SerializedName("billing_period_start")
89008877
BILLING_PERIOD_START("billing_period_start"),
89018878

8902-
@SerializedName("line_start")
8903-
LINE_START("line_start");
8879+
@SerializedName("phase_start")
8880+
PHASE_START("phase_start");
89048881

89058882
@Getter(onMethod_ = {@Override})
89068883
private final String value;
@@ -8987,11 +8964,7 @@ public static class SubscriptionDataOverride {
89878964

89888965
/**
89898966
* Configures how the subscription schedule handles billing for phase transitions when the quote
8990-
* is accepted. Possible values are {@code phase_start} (default) or {@code
8991-
* billing_period_start}. {@code phase_start} bills based on the current state of the
8992-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start} bills
8993-
* predictively for upcoming phase transitions within the current billing cycle, including
8994-
* pricing changes and service period adjustments that will occur before the next invoice.
8967+
* is accepted.
89958968
*/
89968969
@SerializedName("phase_effective_at")
89978970
PhaseEffectiveAt phaseEffectiveAt;
@@ -9235,12 +9208,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
92359208

92369209
/**
92379210
* Configures how the subscription schedule handles billing for phase transitions when the
9238-
* quote is accepted. Possible values are {@code phase_start} (default) or {@code
9239-
* billing_period_start}. {@code phase_start} bills based on the current state of the
9240-
* subscription, ignoring changes scheduled in future phases. {@code billing_period_start}
9241-
* bills predictively for upcoming phase transitions within the current billing cycle,
9242-
* including pricing changes and service period adjustments that will occur before the next
9243-
* invoice.
9211+
* quote is accepted.
92449212
*/
92459213
public Builder setPhaseEffectiveAt(
92469214
QuoteUpdateParams.SubscriptionDataOverride.PhaseEffectiveAt phaseEffectiveAt) {
@@ -11035,8 +11003,8 @@ public enum PhaseEffectiveAt implements ApiRequestParams.EnumParam {
1103511003
@SerializedName("billing_period_start")
1103611004
BILLING_PERIOD_START("billing_period_start"),
1103711005

11038-
@SerializedName("line_start")
11039-
LINE_START("line_start");
11006+
@SerializedName("phase_start")
11007+
PHASE_START("phase_start");
1104011008

1104111009
@Getter(onMethod_ = {@Override})
1104211010
private final String value;

src/main/java/com/stripe/param/SubscriptionScheduleAmendParams.java

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,7 @@ public static class Amendment {
266266
@SerializedName("discount_actions")
267267
List<SubscriptionScheduleAmendParams.Amendment.DiscountAction> discountActions;
268268

269-
/**
270-
* Configures how the subscription schedule handles billing for phase transitions. Possible
271-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code phase_start}
272-
* bills based on the current state of the subscription, ignoring changes scheduled in future
273-
* phases. {@code billing_period_start} bills predictively for upcoming phase transitions within
274-
* the current billing cycle, including pricing changes and service period adjustments that will
275-
* occur before the next invoice.
276-
*/
269+
/** Configures how the subscription schedule handles billing for phase transitions. */
277270
@SerializedName("effective_at")
278271
EffectiveAt effectiveAt;
279272

@@ -497,14 +490,7 @@ public Builder addAllDiscountAction(
497490
return this;
498491
}
499492

500-
/**
501-
* Configures how the subscription schedule handles billing for phase transitions. Possible
502-
* values are {@code phase_start} (default) or {@code billing_period_start}. {@code
503-
* phase_start} bills based on the current state of the subscription, ignoring changes
504-
* scheduled in future phases. {@code billing_period_start} bills predictively for upcoming
505-
* phase transitions within the current billing cycle, including pricing changes and service
506-
* period adjustments that will occur before the next invoice.
507-
*/
493+
/** Configures how the subscription schedule handles billing for phase transitions. */
508494
public Builder setEffectiveAt(
509495
SubscriptionScheduleAmendParams.Amendment.EffectiveAt effectiveAt) {
510496
this.effectiveAt = effectiveAt;

0 commit comments

Comments
 (0)