diff --git a/OpenActive.NET/models/Organization.cs b/OpenActive.NET/models/Organization.cs index 03e89c0..2172c63 100644 --- a/OpenActive.NET/models/Organization.cs +++ b/OpenActive.NET/models/Organization.cs @@ -105,7 +105,7 @@ public override string ToString() /// [DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 12)] [JsonConverter(typeof(ValuesConverter))] - public virtual CustomerAccount HasAccount { get; set; } + public virtual ReferenceValue HasAccount { get; set; } /// /// Indicates whether the Seller allows open booking or not diff --git a/OpenActive.NET/models/Person.cs b/OpenActive.NET/models/Person.cs index ded5901..32f1297 100644 --- a/OpenActive.NET/models/Person.cs +++ b/OpenActive.NET/models/Person.cs @@ -152,7 +152,7 @@ public override string ToString() /// [DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 16)] [JsonConverter(typeof(ValuesConverter))] - public virtual CustomerAccount HasAccount { get; set; } + public virtual ReferenceValue HasAccount { get; set; } /// /// Indicates whether the Seller allows open booking