using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.PaymentTokens; /// /// Represents the request to create a Setup Token from the given payment source and adds it to the Vault of the associated customer /// public class CreateSetupTokenRequest : PaymentToken, IAuthorizedRequest { #region Properties /// /// Gets the request path /// [JsonIgnore] public string Path => $"v3/vault/setup-tokens?"; /// /// Gets the request method /// [JsonIgnore] public string Method => HttpMethods.Post; #endregion }