Class Attachment
Inheritance
System.Object
Attachment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Klarna.Rest.Core.Model
Assembly: Klarna.Rest.Core.dll
Syntax
public class Attachment
Properties
| Improve this Doc View SourceBody
This field should be a string containing the body of the attachment. The body should be an object containing any of the keys and sub objects described at https://developers.klarna.com/api/#checkout-api__create-a-new-orderattachment__content_type serialised to JSON.
Declaration
[JsonProperty(PropertyName = "body")]
public string Body { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Required
ContentType
The content type of the body property.
Declaration
[JsonProperty(PropertyName = "content_type")]
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Required