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 Checkbox
{
///
/// Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 255 characters)
///
/// Text that will be displayed to the consumer aside the checkbox. Links and formatting can be added using Markdown. (max 255 characters)
[Required]
[JsonProperty("text")]
public string Text { get; set; }
///
/// Default state of the additional checkbox. It will use this value when loaded for the first time.
///
/// Default state of the additional checkbox. It will use this value when loaded for the first time.
[Required]
[JsonProperty("checked")]
public bool? Checked { get; set; }
///
/// Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
///
/// Whether it is required for the consumer to check the additional checkbox box or not in order to complete the purchase.
[Required]
[JsonProperty("required")]
public bool? Required { get; set; }
}
}