using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace gehGassi.Klarna.Checkout { public class ProductIdentifiers { /// /// The product's brand name as generally recognized by consumers. If no brand is available for a product, do not supply any value. /// /// The product's brand name as generally recognized by consumers. If no brand is available for a product, do not supply any value. [StringLength(70, MinimumLength = 0)] [JsonProperty("brand")] public string Brand { get; set; } /// /// The product's category path as used in the merchant's webshop. Include the full and most detailed category and separate the segments with ' > '. (max 750 characters) Example: \"Electronics Store > Computers & Tablets > Desktops\" /// /// The product's category path as used in the merchant's webshop. Include the full and most detailed category and separate the segments with ' > '. (max 750 characters) Example: \"Electronics Store > Computers & Tablets > Desktops\" [StringLength(750, MinimumLength = 0)] [JsonProperty("category_path")] public string CategoryPath { get; set; } /// /// The product's Global Trade Item Number (GTIN). Common types of GTIN are EAN, ISBN or UPC. Exclude dashes and spaces, where possible /// /// The product's Global Trade Item Number (GTIN). Common types of GTIN are EAN, ISBN or UPC. Exclude dashes and spaces, where possible [StringLength(50, MinimumLength = 0)] [JsonProperty("global_trade_item_number")] public string GlobalTradeItemNumber { get; set; } /// /// The product's Manufacturer Part Number (MPN), which - together with the brand - uniquely identifies a product. Only submit MPNs assigned by a manufacturer and use the most specific MPN possible /// /// The product's Manufacturer Part Number (MPN), which - together with the brand - uniquely identifies a product. Only submit MPNs assigned by a manufacturer and use the most specific MPN possible [StringLength(70, MinimumLength = 0)] [JsonProperty("manufacturer_part_number")] public string ManufacturerPartNumber { get; set; } } }