Skip to content

Commit

Permalink
Merge pull request #692 from recurly/v3-v2021-02-25-8993209395
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25 (Proration Settings)
  • Loading branch information
csampson authored May 7, 2024
2 parents f202416 + 50ae8d4 commit 1dde7da
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21253,6 +21253,34 @@ components:
description: |
The percentage taken of the monetary amount of usage tracked.
This can be up to 4 decimal places represented as a string.
ProrationSettings:
type: object
title: Proration Settings
description: Allows you to control how any resulting charges and credits will
be calculated and prorated.
properties:
charge:
"$ref": "#/components/schemas/ProrationSettingsChargeEnum"
credit:
"$ref": "#/components/schemas/ProrationSettingsCreditEnum"
ProrationSettingsChargeEnum:
type: string
title: Charge
description: Determines how the amount charged is determined for this change
default: prorated_amount
enum:
- full_amount
- prorated_amount
- none
ProrationSettingsCreditEnum:
type: string
title: Credit
description: Determines how the amount credited is determined for this change
default: prorated_amount
enum:
- full_amount
- prorated_amount
- none
Settings:
type: object
properties:
Expand Down Expand Up @@ -22476,6 +22504,8 @@ components:
description: The new set of ramp intervals for the subscription.
items:
"$ref": "#/components/schemas/SubscriptionRampInterval"
proration_settings:
"$ref": "#/components/schemas/ProrationSettings"
SubscriptionChangeShippingCreate:
type: object
title: Shipping details that will be changed on a subscription
Expand Down

0 comments on commit 1dde7da

Please sign in to comment.