using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; /// /// Represents the merchant onboarding details /// public class Onboarding { #region Properties /// /// Gets or sets the partner PayPal ID or Merchant ID. /// [JsonProperty(PropertyName = "partnerId")] public string Id { get; set; } /// /// Gets or sets the main PayPal product to which the partner wants to onboard the customer. /// [JsonProperty(PropertyName = "product")] public string Product { get; set; } /// /// Gets or sets the array of PayPal products to which the partner wants to onboard the customer. /// [JsonProperty(PropertyName = "secondaryProducts")] public string SecondaryProducts { get; set; } /// /// Gets or sets the array of capabilities. /// [JsonProperty(PropertyName = "capabilities")] public string Capabilities { get; set; } /// /// Gets or sets the array of features that partner can access, or use, in PayPal on behalf of the seller. The seller grants permission for these features to the partner. /// [JsonProperty(PropertyName = "features")] public string Features { get; set; } /// /// Gets or sets the integration type. /// [JsonProperty(PropertyName = "integrationType")] public string IntegrationType { get; set; } /// /// Gets or sets the partner Client ID. /// [JsonProperty(PropertyName = "partnerClientId")] public string ClientId { get; set; } /// /// Gets or sets the URL to which to redirect the customer upon completion of the onboarding process. /// [JsonProperty(PropertyName = "returnToPartnerUrl")] public string ReturnToUrl { get; set; } /// /// Gets or sets the partner logo URL to display in the customer's onboarding flow. /// [JsonProperty(PropertyName = "partnerLogoUrl")] public string LogoUrl { get; set; } /// /// Gets or sets the display mode. /// [JsonProperty(PropertyName = "displayMode")] public string DisplayMode { get; set; } /// /// Gets or sets the random number (more than 40 chars) to be generated per invocation. /// [JsonProperty(PropertyName = "sellerNonce")] public string SellerNonce { get; set; } #endregion }