Skip to content

Commit

Permalink
Merge branch 'hotfix/guest-require-first-last-names'
Browse files Browse the repository at this point in the history
  • Loading branch information
Antaris committed Nov 7, 2024
2 parents 15e89ec + 4c3245a commit 968f857
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions libs/TrybeSDK/Api/Shop/Basket/Guest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,28 @@ public class Guest : Model<Guest>
/// </summary>
/// <value>The ID of the guest.</value>
[JsonPropertyName("id")]
public string Id { get; set; }
public string? Id { get; set; }

/// <summary>
/// The guest's first name.
/// </summary>
/// <value>The guest's first name</value>
[JsonPropertyName("first_name")]
public string? FirstName { get; set; }

/// <summary>
/// The guest's last name.
/// </summary>
/// <value>The guest's last name</value>
[JsonPropertyName("last_name")]
public string? LastName { get; set; }

/// <summary>
/// The guest's full name.
/// </summary>
/// <value>The guest's full name.</value>
[JsonPropertyName("name")]
public string Name { get; set; }
public string? Name { get; set; }

/// <summary>
/// Whether this guest is the lead booker
Expand Down

0 comments on commit 968f857

Please sign in to comment.