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 Addon
{
///
/// The type of the add-on, e.g. sms or entry-code
///
/// The type of the add-on, e.g. sms or entry-code
[Required]
[JsonProperty("type")]
public string Type { get; set; }
///
/// The price of the add-on
///
/// The price of the add-on
[Required]
[JsonProperty("price")]
public long? Price { get; set; }
///
/// The ID provided by the TMS
///
/// The ID provided by the TMS
[JsonProperty("external_id")]
public string ExternalId { get; set; }
///
/// The text provided by the user
///
/// The text provided by the user
[JsonProperty("user_input")]
public string UserInput { get; set; }
}
}