using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; /// /// Represents the person name /// public class Name { #region Properties /// /// Gets or sets the party's given, or first, name. /// [JsonProperty(PropertyName = "given_name")] public string GivenName { get; set; } /// /// Gets or sets the party's surname or family name. Also known as the last name. Required when the party is a person. Use also to store multiple surnames including the matronymic, or mother's, surname. /// [JsonProperty(PropertyName = "surname")] public string Surname { get; set; } /// /// Gets or sets the party's full name. /// [JsonProperty(PropertyName = "full_name")] public string FullName { get; set; } #endregion }