Skip to content

Commit 64ba8ff

Browse files
feat(api): api update
1 parent 554c0fd commit 64ba8ff

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-4ad3b44ca7f484243d8706b6aa7f4498fc5bf2b37fadf3da0a06d657e482c08f.yml
3-
openapi_spec_hash: 9ead1a2aae36be1086c627c3636064ea
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e639b12e0daebce74f42d1f31f675bda4287b9c749dd7d4620a1e96a83343ec4.yml
3+
openapi_spec_hash: 51eb3d47b25e299de670b2d52f5e9017
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/Orb/Models/Plans/Plan.cs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ public required string ID
7878
}
7979
}
8080

81+
/// <summary>
82+
/// Legacy field representing the parent plan if the current plan is a 'child
83+
/// plan', overriding prices from the parent.
84+
/// </summary>
85+
[System::Obsolete("deprecated")]
8186
public required BasePlan? BasePlan
8287
{
8388
get
@@ -97,9 +102,10 @@ public required BasePlan? BasePlan
97102
}
98103

99104
/// <summary>
100-
/// The parent plan id if the given plan was created by overriding one or more
101-
/// of the parent's prices
105+
/// Legacy field representing the parent plan ID if the current plan is a 'child
106+
/// plan', overriding prices from the parent.
102107
/// </summary>
108+
[System::Obsolete("deprecated")]
103109
public required string? BasePlanID
104110
{
105111
get
@@ -1088,7 +1094,11 @@ JsonSerializerOptions options
10881094
}
10891095
}
10901096

1091-
[JsonConverter(typeof(ModelConverter<BasePlan>))]
1097+
/// <summary>
1098+
/// Legacy field representing the parent plan if the current plan is a 'child plan',
1099+
/// overriding prices from the parent.
1100+
/// </summary>
1101+
[System::Obsolete("deprecated"), JsonConverter(typeof(ModelConverter<BasePlan>))]
10921102
public sealed record class BasePlan : ModelBase, IFromRaw<BasePlan>
10931103
{
10941104
public required string? ID

src/Orb/Models/Subscriptions/SubscriptionPriceIntervalsParams.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9625,8 +9625,8 @@ public long? BillingCycleDay
96259625

96269626
/// <summary>
96279627
/// If true, ending an in-arrears price interval mid-cycle will defer billing
9628-
/// the final line itemuntil the next scheduled invoice. If false, it will be
9629-
/// billed on its end date. If not provided, behaviorwill follow account default.
9628+
/// the final line item until the next scheduled invoice. If false, it will be
9629+
/// billed on its end date. If not provided, behavior will follow account default.
96309630
/// </summary>
96319631
public bool? CanDeferBilling
96329632
{

0 commit comments

Comments
 (0)