using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Identity; /// /// Represents the request to create identity token /// public class CreateIdentityTokenRequest : IAuthorizedRequest { #region Properties /// /// Gets or sets the unique ID for a customer in merchant's system of records /// [JsonProperty(PropertyName = "customer_id")] public string CustomerId { get; set; } /// /// Gets the request path /// [JsonIgnore] public string Path => "v1/identity/generate-token?"; /// /// Gets the request method /// [JsonIgnore] public string Method => HttpMethods.Post; #endregion }