Skip to content

Commit 1dde7da

Browse files
authored
Merge pull request #692 from recurly/v3-v2021-02-25-8993209395
Generated Latest Changes for v2021-02-25 (Proration Settings)
2 parents f202416 + 50ae8d4 commit 1dde7da

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

openapi/api.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21253,6 +21253,34 @@ components:
2125321253
description: |
2125421254
The percentage taken of the monetary amount of usage tracked.
2125521255
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
2125621284
Settings:
2125721285
type: object
2125821286
properties:
@@ -22476,6 +22504,8 @@ components:
2247622504
description: The new set of ramp intervals for the subscription.
2247722505
items:
2247822506
"$ref": "#/components/schemas/SubscriptionRampInterval"
22507+
proration_settings:
22508+
"$ref": "#/components/schemas/ProrationSettings"
2247922509
SubscriptionChangeShippingCreate:
2248022510
type: object
2248122511
title: Shipping details that will be changed on a subscription

0 commit comments

Comments
 (0)