Skip to content

Commit e9daf5a

Browse files
Update generated code for v1373
1 parent 128536d commit e9daf5a

File tree

6 files changed

+49
-33
lines changed

6 files changed

+49
-33
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1371
1+
v1373

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12932,8 +12932,9 @@ public static class Item {
1293212932
Object billingThresholds;
1293312933

1293412934
/**
12935-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
12936-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
12935+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
12936+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
12937+
* meter attached.
1293712938
*/
1293812939
@SerializedName("clear_usage")
1293912940
Boolean clearUsage;
@@ -13097,8 +13098,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1309713098
}
1309813099

1309913100
/**
13100-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set
13101-
* to {@code true} and the current plan's {@code usage_type} is {@code metered}.
13101+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13102+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13103+
* meter attached.
1310213104
*/
1310313105
public Builder setClearUsage(Boolean clearUsage) {
1310413106
this.clearUsage = clearUsage;

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13530,8 +13530,9 @@ public static class Item {
1353013530
Object billingThresholds;
1353113531

1353213532
/**
13533-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
13534-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
13533+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13534+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13535+
* meter attached.
1353513536
*/
1353613537
@SerializedName("clear_usage")
1353713538
Boolean clearUsage;
@@ -13695,8 +13696,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1369513696
}
1369613697

1369713698
/**
13698-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set
13699-
* to {@code true} and the current plan's {@code usage_type} is {@code metered}.
13699+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13700+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13701+
* meter attached.
1370013702
*/
1370113703
public Builder setClearUsage(Boolean clearUsage) {
1370213704
this.clearUsage = clearUsage;
@@ -14880,8 +14882,9 @@ public static class SubscriptionItem {
1488014882
Object billingThresholds;
1488114883

1488214884
/**
14883-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
14884-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
14885+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
14886+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing meter
14887+
* attached.
1488514888
*/
1488614889
@SerializedName("clear_usage")
1488714890
Boolean clearUsage;
@@ -15044,8 +15047,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1504415047
}
1504515048

1504615049
/**
15047-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
15048-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
15050+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
15051+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
15052+
* meter attached.
1504915053
*/
1505015054
public Builder setClearUsage(Boolean clearUsage) {
1505115055
this.clearUsage = clearUsage;

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13438,8 +13438,9 @@ public static class Item {
1343813438
Object billingThresholds;
1343913439

1344013440
/**
13441-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
13442-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
13441+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13442+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13443+
* meter attached.
1344313444
*/
1344413445
@SerializedName("clear_usage")
1344513446
Boolean clearUsage;
@@ -13603,8 +13604,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1360313604
}
1360413605

1360513606
/**
13606-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set
13607-
* to {@code true} and the current plan's {@code usage_type} is {@code metered}.
13607+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13608+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13609+
* meter attached.
1360813610
*/
1360913611
public Builder setClearUsage(Boolean clearUsage) {
1361013612
this.clearUsage = clearUsage;
@@ -14783,8 +14785,9 @@ public static class SubscriptionItem {
1478314785
Object billingThresholds;
1478414786

1478514787
/**
14786-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
14787-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
14788+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
14789+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing meter
14790+
* attached.
1478814791
*/
1478914792
@SerializedName("clear_usage")
1479014793
Boolean clearUsage;
@@ -14947,8 +14950,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1494714950
}
1494814951

1494914952
/**
14950-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
14951-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
14953+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
14954+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
14955+
* meter attached.
1495214956
*/
1495314957
public Builder setClearUsage(Boolean clearUsage) {
1495414958
this.clearUsage = clearUsage;

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13277,8 +13277,9 @@ public static class Item {
1327713277
Object billingThresholds;
1327813278

1327913279
/**
13280-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
13281-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
13280+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13281+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13282+
* meter attached.
1328213283
*/
1328313284
@SerializedName("clear_usage")
1328413285
Boolean clearUsage;
@@ -13441,8 +13442,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1344113442
}
1344213443

1344313444
/**
13444-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set
13445-
* to {@code true} and the current plan's {@code usage_type} is {@code metered}.
13445+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
13446+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
13447+
* meter attached.
1344613448
*/
1344713449
public Builder setClearUsage(Boolean clearUsage) {
1344813450
this.clearUsage = clearUsage;
@@ -14607,8 +14609,9 @@ public static class SubscriptionItem {
1460714609
Object billingThresholds;
1460814610

1460914611
/**
14610-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
14611-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
14612+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
14613+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing meter
14614+
* attached.
1461214615
*/
1461314616
@SerializedName("clear_usage")
1461414617
Boolean clearUsage;
@@ -14771,8 +14774,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
1477114774
}
1477214775

1477314776
/**
14774-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
14775-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
14777+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
14778+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
14779+
* meter attached.
1477614780
*/
1477714781
public Builder setClearUsage(Boolean clearUsage) {
1477814782
this.clearUsage = clearUsage;

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3042,8 +3042,9 @@ public static class Item {
30423042
Object billingThresholds;
30433043

30443044
/**
3045-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
3046-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
3045+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
3046+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing meter
3047+
* attached.
30473048
*/
30483049
@SerializedName("clear_usage")
30493050
Boolean clearUsage;
@@ -3206,8 +3207,9 @@ public Builder setBillingThresholds(EmptyParam billingThresholds) {
32063207
}
32073208

32083209
/**
3209-
* Delete all usage for a given subscription item. Allowed only when {@code deleted} is set to
3210-
* {@code true} and the current plan's {@code usage_type} is {@code metered}.
3210+
* Delete all usage for a given subscription item. You must pass this when deleting a usage
3211+
* records subscription item. {@code clear_usage} has no effect if the plan has a billing
3212+
* meter attached.
32113213
*/
32123214
public Builder setClearUsage(Boolean clearUsage) {
32133215
this.clearUsage = clearUsage;

0 commit comments

Comments
 (0)