Skip to content

Commit ee5300d

Browse files
authored
Merge pull request #946 from recurly/v3-v2021-02-25-20179158430
Generated Latest Changes for v2021-02-25
2 parents 4b50c08 + 4e8e716 commit ee5300d

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

lib/recurly/requests/subscription_change_create.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ class SubscriptionChangeCreate < Request
4242
# @return [String] Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.
4343
define_attribute :net_terms_type, String
4444

45+
# @!attribute next_bill_date
46+
# @return [DateTime] If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). When combined with proration_settings, proration calculation should occur, only supported when timeframe is now.
47+
define_attribute :next_bill_date, DateTime
48+
4549
# @!attribute plan_code
4650
# @return [String] If you want to change to a new plan, you can provide the plan's code or id. If both are provided the `plan_id` will be used.
4751
define_attribute :plan_code, String

lib/recurly/resources/subscription_change.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ class SubscriptionChange < Resource
4646
# @return [InvoiceCollection] Invoice Collection
4747
define_attribute :invoice_collection, :InvoiceCollection
4848

49+
# @!attribute next_bill_date
50+
# @return [DateTime] If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). When combined with proration_settings, proration calculation should occur, only supported when timeframe is now.
51+
define_attribute :next_bill_date, DateTime
52+
4953
# @!attribute object
5054
# @return [String] Object type
5155
define_attribute :object, String

openapi/api.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23606,6 +23606,13 @@ components:
2360623606
subscription.
2360723607
items:
2360823608
"$ref": "#/components/schemas/SubscriptionRampIntervalResponse"
23609+
next_bill_date:
23610+
type: string
23611+
format: date-time
23612+
title: Next bill date
23613+
description: If present, this sets the date the subscription's next billing
23614+
period will start (`current_period_ends_at`). When combined with proration_settings,
23615+
proration calculation should occur, only supported when timeframe is now.
2360923616
SubscriptionChangeBillingInfo:
2361023617
type: object
2361123618
description: Accept nested attributes for three_d_secure_action_result_token_id
@@ -23766,6 +23773,13 @@ components:
2376623773
"$ref": "#/components/schemas/SubscriptionRampInterval"
2376723774
proration_settings:
2376823775
"$ref": "#/components/schemas/ProrationSettings"
23776+
next_bill_date:
23777+
type: string
23778+
format: date-time
23779+
title: Next bill date
23780+
description: If present, this sets the date the subscription's next billing
23781+
period will start (`current_period_ends_at`). When combined with proration_settings,
23782+
proration calculation should occur, only supported when timeframe is now.
2376923783
SubscriptionChangeShippingCreate:
2377023784
type: object
2377123785
title: Shipping details that will be changed on a subscription

0 commit comments

Comments
 (0)