File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -21253,6 +21253,34 @@ components:
21253
21253
description: |
21254
21254
The percentage taken of the monetary amount of usage tracked.
21255
21255
This can be up to 4 decimal places represented as a string.
21256
+ ProrationSettings:
21257
+ type: object
21258
+ title: Proration Settings
21259
+ description: Allows you to control how any resulting charges and credits will
21260
+ be calculated and prorated.
21261
+ properties:
21262
+ charge:
21263
+ "$ref": "#/components/schemas/ProrationSettingsChargeEnum"
21264
+ credit:
21265
+ "$ref": "#/components/schemas/ProrationSettingsCreditEnum"
21266
+ ProrationSettingsChargeEnum:
21267
+ type: string
21268
+ title: Charge
21269
+ description: Determines how the amount charged is determined for this change
21270
+ default: prorated_amount
21271
+ enum:
21272
+ - full_amount
21273
+ - prorated_amount
21274
+ - none
21275
+ ProrationSettingsCreditEnum:
21276
+ type: string
21277
+ title: Credit
21278
+ description: Determines how the amount credited is determined for this change
21279
+ default: prorated_amount
21280
+ enum:
21281
+ - full_amount
21282
+ - prorated_amount
21283
+ - none
21256
21284
Settings:
21257
21285
type: object
21258
21286
properties:
@@ -22476,6 +22504,8 @@ components:
22476
22504
description: The new set of ramp intervals for the subscription.
22477
22505
items:
22478
22506
"$ref": "#/components/schemas/SubscriptionRampInterval"
22507
+ proration_settings:
22508
+ "$ref": "#/components/schemas/ProrationSettings"
22479
22509
SubscriptionChangeShippingCreate:
22480
22510
type: object
22481
22511
title: Shipping details that will be changed on a subscription
You can’t perform that action at this time.
0 commit comments