Skip to content

Commit eed73ed

Browse files
Update generated code for v2290 and e3c530a6c271e32539877bc9a9069dd130a37631
1 parent 99eb64f commit eed73ed

2 files changed

Lines changed: 31 additions & 31 deletions

File tree

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6c162e47c554d1dc0e15fff7a2964ed845011853
1+
e3c530a6c271e32539877bc9a9069dd130a37631

src/test/java/com/stripe/functional/GeneratedExamples.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24991,46 +24991,46 @@ public void testV2BillingContractPostServices() throws StripeException {
2499124991
.build())
2499224992
.putMetadata("key", "metadata")
2499324993
.addOverride(
24994-
com.stripe.param.v2.billing.ContractCreateParams.ContractLine.Override
24994+
com.stripe.param.v2.billing.ContractCreateParams.ContractLine.Overrides
2499524995
.builder()
2499624996
.setEndsAt(
2499724997
com.stripe.param.v2.billing.ContractCreateParams.ContractLine
24998-
.Override.EndsAt.builder()
24998+
.Overrides.EndsAt.builder()
2499924999
.setTimestamp(Instant.parse("1970-01-01T15:18:46.294Z"))
2500025000
.build())
2500125001
.setServiceAction(
2500225002
com.stripe.param.v2.billing.ContractCreateParams.ContractLine
25003-
.Override.ServiceAction.builder()
25003+
.Overrides.ServiceAction.builder()
2500425004
.setAdd(
2500525005
com.stripe.param.v2.billing.ContractCreateParams
25006-
.ContractLine.Override.ServiceAction.Add.builder()
25006+
.ContractLine.Overrides.ServiceAction.Add.builder()
2500725007
.setCreditGrant(
2500825008
com.stripe.param.v2.billing.ContractCreateParams
25009-
.ContractLine.Override.ServiceAction.Add
25009+
.ContractLine.Overrides.ServiceAction.Add
2501025010
.CreditGrant.builder()
2501125011
.setAmount(
2501225012
com.stripe.param.v2.billing
2501325013
.ContractCreateParams.ContractLine
25014-
.Override.ServiceAction.Add.CreditGrant
25014+
.Overrides.ServiceAction.Add.CreditGrant
2501525015
.Amount.builder()
2501625016
.setMonetary(
2501725017
new com.stripe.v2.Amount(63, "USD"))
2501825018
.setType(
2501925019
com.stripe.param.v2.billing
2502025020
.ContractCreateParams
25021-
.ContractLine.Override
25021+
.ContractLine.Overrides
2502225022
.ServiceAction.Add.CreditGrant
2502325023
.Amount.Type.MONETARY)
2502425024
.build())
2502525025
.setApplicabilityConfig(
2502625026
com.stripe.param.v2.billing
2502725027
.ContractCreateParams.ContractLine
25028-
.Override.ServiceAction.Add.CreditGrant
25028+
.Overrides.ServiceAction.Add.CreditGrant
2502925029
.ApplicabilityConfig.builder()
2503025030
.setScope(
2503125031
com.stripe.param.v2.billing
2503225032
.ContractCreateParams
25033-
.ContractLine.Override
25033+
.ContractLine.Overrides
2503425034
.ServiceAction.Add.CreditGrant
2503525035
.ApplicabilityConfig.Scope
2503625036
.builder()
@@ -25039,7 +25039,7 @@ public void testV2BillingContractPostServices() throws StripeException {
2503925039
.setPriceType(
2504025040
com.stripe.param.v2.billing
2504125041
.ContractCreateParams
25042-
.ContractLine.Override
25042+
.ContractLine.Overrides
2504325043
.ServiceAction.Add
2504425044
.CreditGrant
2504525045
.ApplicabilityConfig
@@ -25050,17 +25050,17 @@ public void testV2BillingContractPostServices() throws StripeException {
2505025050
.setCategory(
2505125051
com.stripe.param.v2.billing
2505225052
.ContractCreateParams.ContractLine
25053-
.Override.ServiceAction.Add.CreditGrant
25053+
.Overrides.ServiceAction.Add.CreditGrant
2505425054
.Category.PAID)
2505525055
.setExpiryConfig(
2505625056
com.stripe.param.v2.billing
2505725057
.ContractCreateParams.ContractLine
25058-
.Override.ServiceAction.Add.CreditGrant
25058+
.Overrides.ServiceAction.Add.CreditGrant
2505925059
.ExpiryConfig.builder()
2506025060
.setType(
2506125061
com.stripe.param.v2.billing
2506225062
.ContractCreateParams
25063-
.ContractLine.Override
25063+
.ContractLine.Overrides
2506425064
.ServiceAction.Add.CreditGrant
2506525065
.ExpiryConfig.Type
2506625066
.END_OF_SERVICE_PERIOD)
@@ -25070,46 +25070,46 @@ public void testV2BillingContractPostServices() throws StripeException {
2507025070
.build())
2507125071
.setServiceInterval(
2507225072
com.stripe.param.v2.billing.ContractCreateParams
25073-
.ContractLine.Override.ServiceAction.Add
25073+
.ContractLine.Overrides.ServiceAction.Add
2507425074
.ServiceInterval.MONTH)
2507525075
.setServiceIntervalCount(1375336415L)
2507625076
.setType(
2507725077
com.stripe.param.v2.billing.ContractCreateParams
25078-
.ContractLine.Override.ServiceAction.Add.Type
25078+
.ContractLine.Overrides.ServiceAction.Add.Type
2507925079
.CREDIT_GRANT)
2508025080
.build())
2508125081
.setReplace(
2508225082
com.stripe.param.v2.billing.ContractCreateParams
25083-
.ContractLine.Override.ServiceAction.Replace.builder()
25083+
.ContractLine.Overrides.ServiceAction.Replace.builder()
2508425084
.setCreditGrant(
2508525085
com.stripe.param.v2.billing.ContractCreateParams
25086-
.ContractLine.Override.ServiceAction.Replace
25086+
.ContractLine.Overrides.ServiceAction.Replace
2508725087
.CreditGrant.builder()
2508825088
.setAmount(
2508925089
com.stripe.param.v2.billing
2509025090
.ContractCreateParams.ContractLine
25091-
.Override.ServiceAction.Replace
25091+
.Overrides.ServiceAction.Replace
2509225092
.CreditGrant.Amount.builder()
2509325093
.setMonetary(
2509425094
new com.stripe.v2.Amount(63, "USD"))
2509525095
.setType(
2509625096
com.stripe.param.v2.billing
2509725097
.ContractCreateParams
25098-
.ContractLine.Override
25098+
.ContractLine.Overrides
2509925099
.ServiceAction.Replace
2510025100
.CreditGrant.Amount.Type
2510125101
.MONETARY)
2510225102
.build())
2510325103
.setApplicabilityConfig(
2510425104
com.stripe.param.v2.billing
2510525105
.ContractCreateParams.ContractLine
25106-
.Override.ServiceAction.Replace
25106+
.Overrides.ServiceAction.Replace
2510725107
.CreditGrant.ApplicabilityConfig
2510825108
.builder()
2510925109
.setScope(
2511025110
com.stripe.param.v2.billing
2511125111
.ContractCreateParams
25112-
.ContractLine.Override
25112+
.ContractLine.Overrides
2511325113
.ServiceAction.Replace
2511425114
.CreditGrant.ApplicabilityConfig
2511525115
.Scope.builder()
@@ -25118,7 +25118,7 @@ public void testV2BillingContractPostServices() throws StripeException {
2511825118
.setPriceType(
2511925119
com.stripe.param.v2.billing
2512025120
.ContractCreateParams
25121-
.ContractLine.Override
25121+
.ContractLine.Overrides
2512225122
.ServiceAction.Replace
2512325123
.CreditGrant
2512425124
.ApplicabilityConfig
@@ -25129,17 +25129,17 @@ public void testV2BillingContractPostServices() throws StripeException {
2512925129
.setCategory(
2513025130
com.stripe.param.v2.billing
2513125131
.ContractCreateParams.ContractLine
25132-
.Override.ServiceAction.Replace
25132+
.Overrides.ServiceAction.Replace
2513325133
.CreditGrant.Category.PAID)
2513425134
.setExpiryConfig(
2513525135
com.stripe.param.v2.billing
2513625136
.ContractCreateParams.ContractLine
25137-
.Override.ServiceAction.Replace
25137+
.Overrides.ServiceAction.Replace
2513825138
.CreditGrant.ExpiryConfig.builder()
2513925139
.setType(
2514025140
com.stripe.param.v2.billing
2514125141
.ContractCreateParams
25142-
.ContractLine.Override
25142+
.ContractLine.Overrides
2514325143
.ServiceAction.Replace
2514425144
.CreditGrant.ExpiryConfig.Type
2514525145
.END_OF_SERVICE_PERIOD)
@@ -25151,26 +25151,26 @@ public void testV2BillingContractPostServices() throws StripeException {
2515125151
.setLookupKey("lookup_key")
2515225152
.setServiceInterval(
2515325153
com.stripe.param.v2.billing.ContractCreateParams
25154-
.ContractLine.Override.ServiceAction.Replace
25154+
.ContractLine.Overrides.ServiceAction.Replace
2515525155
.ServiceInterval.MONTH)
2515625156
.setServiceIntervalCount(1375336415L)
2515725157
.setType(
2515825158
com.stripe.param.v2.billing.ContractCreateParams
25159-
.ContractLine.Override.ServiceAction.Replace
25159+
.ContractLine.Overrides.ServiceAction.Replace
2516025160
.Type.CREDIT_GRANT)
2516125161
.build())
2516225162
.setType(
2516325163
com.stripe.param.v2.billing.ContractCreateParams
25164-
.ContractLine.Override.ServiceAction.Type.ADD)
25164+
.ContractLine.Overrides.ServiceAction.Type.ADD)
2516525165
.build())
2516625166
.setStartsAt(
2516725167
com.stripe.param.v2.billing.ContractCreateParams.ContractLine
25168-
.Override.StartsAt.builder()
25168+
.Overrides.StartsAt.builder()
2516925169
.setTimestamp(Instant.parse("1970-01-01T15:18:46.294Z"))
2517025170
.build())
2517125171
.setType(
2517225172
com.stripe.param.v2.billing.ContractCreateParams.ContractLine
25173-
.Override.Type.SERVICE_ACTION)
25173+
.Overrides.Type.SERVICE_ACTION)
2517425174
.build())
2517525175
.setPricing(
2517625176
com.stripe.param.v2.billing.ContractCreateParams.ContractLine.Pricing

0 commit comments

Comments
 (0)