using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Domain.Onboarding; /// /// Represents merchant details /// public class Merchant { /// /// Gets or sets the internal merchant id /// [JsonProperty(PropertyName = "merchant_guid")] public string MerchantGuid { get; set; } /// /// Gets or sets the merchant id /// [JsonProperty(PropertyName = "merchant_id")] public string MerchantId { get; set; } /// /// Gets or sets the merchant email /// [JsonProperty(PropertyName = "email")] public string Email { get; set; } /// /// Gets or sets a value indicating whether the email is confirmed /// [JsonProperty(PropertyName = "email_confirmed")] public bool EmailConfirmed { get; set; } /// /// Gets or sets the merchant REST API client id /// [JsonProperty(PropertyName = "client_id")] public string ClientId { get; set; } /// /// Gets or sets the merchant REST API client secret /// [JsonProperty(PropertyName = "client_secret")] public string ClientSecret { get; set; } /// /// Gets or sets the URL to sign up the merchant /// [JsonProperty(PropertyName = "sign_up_url")] public string SignUpUrl { get; set; } /// /// Gets or sets a value indicating whether the payments are receivable /// [JsonProperty(PropertyName = "payments_receivable")] public bool PaymentsReceivable { get; set; } /// /// Gets or sets a value indicating whether the merchant grants permission to perform payment /// [JsonProperty(PropertyName = "permission_granted")] public bool PermissionGranted { get; set; } }