30 lines
1.5 KiB
C#
30 lines
1.5 KiB
C#
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 Attachment
|
|
{
|
|
/// <summary>
|
|
/// The content of the extra merchant data which should be presented as a string inside this property. The body should be an object containing any of the keys and sub objects described below serialised to JSON. More information on that object can be found [here](https://developers.klarna.com/api/#attachment-schema).
|
|
/// </summary>
|
|
/// <value>The content of the extra merchant data which should be presented as a string inside this property. The body should be an object containing any of the keys and sub objects described below serialised to JSON. More information on that object can be found [here](https://developers.klarna.com/api/#attachment-schema).</value>
|
|
[Required]
|
|
[JsonProperty("body")]
|
|
public string Body { get; set; }
|
|
|
|
/// <summary>
|
|
/// The content type of the body. It is usually represented as \"application/vnd.klarna.internal.emd-v2+json\"
|
|
/// </summary>
|
|
/// <value>The content type of the body. It is usually represented as \"application/vnd.klarna.internal.emd-v2+json\"</value>
|
|
[Required]
|
|
[JsonProperty("content_type")]
|
|
public string ContentType { get; set; }
|
|
}
|
|
}
|