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.OrderManagement { public class UpdateAuthorization { /// /// The new total order amount. Minor units. /// /// The new total order amount. Minor units. [Required] [Range(0, 100000000)] [JsonProperty("order_amount")] public long? OrderAmount { get; set; } /// /// Description of the change. /// /// Description of the change. [StringLength(255, MinimumLength = 0)] [JsonProperty("description")] public string Description { get; set; } /// /// New set of order lines for the order. /// /// New set of order lines for the order. [JsonProperty("order_lines")] public List OrderLines { get; set; } } }