Skip to content

SignInExternalRequest

// RB2 Core Connect
namespace CoreConnect.Commerce.Customer;
public record SignInExternalRequest
{
public SignInExternalRequest(string email, string? cartId = null, bool useNewCart = true, string? anonymousId = null)
{
Email = email;
CartId = cartId;
UseNewCart = useNewCart;
AnonymousId = anonymousId;
}
/// <summary>
/// Gets or sets the email.
/// </summary>
/// <value>
/// The email.
/// </value>
public string Email { get; set; }
/// <summary>
/// Gets or sets the cart identifier.
/// </summary>
/// <value>
/// The cart identifier.
/// </value>
public string? CartId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [use new cart].
/// </summary>
/// <value>
/// <c>true</c> if [use new cart]; otherwise, <c>false</c>.
/// </value>
public bool UseNewCart { get; set; }
/// <summary>
/// Optional anonymous session id if applicable.
/// </summary>
public string? AnonymousId { get; set; }
}