We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f39d508 commit 967f655Copy full SHA for 967f655
1 file changed
OpenActive.NET/models/Offer.cs
@@ -116,10 +116,12 @@ public override string ToString()
116
117
118
/// <summary>
119
+ /// [DEPRECATED: Use `ageRestriction` instead of `ageRange` within the `Offer` for cases where the `Offer` is age restricted.]
120
/// Indicates that an Offer is only applicable to a specific age range.
121
/// </summary>
122
[DataMember(Name = "ageRange", EmitDefaultValue = false, Order = 12)]
123
[JsonConverter(typeof(ValuesConverter))]
124
+ [Obsolete("Use `ageRestriction` instead of `ageRange` within the `Offer` for cases where the `Offer` is age restricted.", false)]
125
public virtual QuantitativeValue AgeRange { get; set; }
126
127
0 commit comments