Skip to content

Commit 662c625

Browse files
author
Recurly Integrations
authored
Generated Latest Changes for v2021-02-25
1 parent 4be5ffc commit 662c625

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Recurly/Resources/SubscriptionChange.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ public class SubscriptionChange : Resource
5555
[JsonProperty("invoice_collection")]
5656
public InvoiceCollection InvoiceCollection { get; set; }
5757

58+
/// <value>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.</value>
59+
[JsonProperty("next_bill_date")]
60+
public DateTime? NextBillDate { get; set; }
61+
5862
/// <value>Object type</value>
5963
[JsonProperty("object")]
6064
public string Object { get; set; }

Recurly/Resources/SubscriptionChangeCreate.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ public class SubscriptionChangeCreate : Request
8282
[JsonConverter(typeof(RecurlyStringEnumConverter))]
8383
public Constants.NetTermsType? NetTermsType { get; set; }
8484

85+
/// <value>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.</value>
86+
[JsonProperty("next_bill_date")]
87+
public DateTime? NextBillDate { get; set; }
88+
8589
/// <value>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.</value>
8690
[JsonProperty("plan_code")]
8791
public string PlanCode { get; set; }

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)