Skip to content

Commit b0fc54c

Browse files
authored
Merge pull request #237 from recurly/v3-v2021-02-25-14497084977
Generated Latest Changes for v2021-02-25
2 parents bf5132b + e87c5ff commit b0fc54c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

openapi/api.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23728,7 +23728,8 @@ components:
2372823728
title: Start date
2372923729
description: If set, the subscription will begin on this specified date.
2373023730
The subscription will apply the setup fee and trial period, unless the
23731-
plan has no trial.
23731+
plan has no trial. Omit this field if the subscription should be started
23732+
immediately.
2373223733
next_bill_date:
2373323734
type: string
2373423735
format: date-time
@@ -23901,7 +23902,8 @@ components:
2390123902
title: Start date
2390223903
description: If set, the subscription will begin on this specified date.
2390323904
The subscription will apply the setup fee and trial period, unless the
23904-
plan has no trial.
23905+
plan has no trial. Omit this field if the subscription should be started
23906+
immediately.
2390523907
next_bill_date:
2390623908
type: string
2390723909
format: date-time
@@ -27060,6 +27062,7 @@ components:
2706027062
- braintree_v_zero
2706127063
- boleto
2706227064
- cash_app
27065+
- upi_autopay
2706327066
CardTypeEnum:
2706427067
type: string
2706527068
enum:

subscription_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type SubscriptionCreate struct {
5757
// If set, overrides the default trial behavior for the subscription. When the current date time or a past date time is provided the subscription will begin with no trial phase (overriding any plan default trial). When a future date time is provided the subscription will begin with a trial phase ending at the specified date time.
5858
TrialEndsAt *time.Time `json:"trial_ends_at,omitempty"`
5959

60-
// If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial.
60+
// If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial. Omit this field if the subscription should be started immediately.
6161
StartsAt *time.Time `json:"starts_at,omitempty"`
6262

6363
// If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). This can be used to align the subscription’s billing to a specific day of the month. The initial invoice will be prorated for the period between the subscription's activation date and the billing period end date. Subsequent periods will be based off the plan interval. For a subscription with a trial period, this will change when the trial expires.

subscription_purchase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type SubscriptionPurchase struct {
3737
// If set, overrides the default trial behavior for the subscription. When the current date time or a past date time is provided the subscription will begin with no trial phase (overriding any plan default trial). When a future date time is provided the subscription will begin with a trial phase ending at the specified date time.
3838
TrialEndsAt *time.Time `json:"trial_ends_at,omitempty"`
3939

40-
// If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial.
40+
// If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial. Omit this field if the subscription should be started immediately.
4141
StartsAt *time.Time `json:"starts_at,omitempty"`
4242

4343
// If present, this sets the date the subscription's next billing period will start (`current_period_ends_at`). This can be used to align the subscription’s billing to a specific day of the month. The initial invoice will be prorated for the period between the subscription's activation date and the billing period end date. Subsequent periods will be based off the plan interval. For a subscription with a trial period, this will change when the trial expires.

0 commit comments

Comments
 (0)