Class CustomerTokenOrder
Customer token order object
Inheritance
System.Object
CustomerTokenOrder
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 CustomerTokenOrder
Properties
| Improve this Doc View SourceAttachment
Additional purchase information required for some industries.
Declaration
[JsonProperty(PropertyName = "attachment")]
public Attachment Attachment { get; set; }
Property Value
Type | Description |
---|---|
Attachment |
AutoCapture
Allow merchant to trigger auto capturing.
Declaration
[JsonProperty(PropertyName = "auto_capture")]
public bool AutoCapture { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MerchantData
Pass through field (max 1024 characters).
Declaration
[JsonProperty(PropertyName = "merchant_data")]
public string MerchantData { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantReference1
Used for storing merchant's internal order number or other reference. If set, will be shown on the confirmation page as "order number" (max 255 characters).
Declaration
[JsonProperty(PropertyName = "merchant_reference1")]
public string MerchantReference1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantReference2
Used for storing merchant's internal order number or other reference (max 255 characters).
Declaration
[JsonProperty(PropertyName = "merchant_reference2")]
public string MerchantReference2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantUrls
The merchant_urls object.
Declaration
[JsonProperty(PropertyName = "customer_token_order_merchant_urls")]
public CustomerTokenMerchantUrls MerchantUrls { get; set; }
Property Value
Type | Description |
---|---|
CustomerTokenMerchantUrls |
OrderAmount
Non-negative, minor units. Total amount of the order, including tax and any discounts.
Declaration
[JsonProperty(PropertyName = "order_amount")]
public int OrderAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OrderLines
The applicable order lines (max 1000)
Declaration
[JsonProperty(PropertyName = "order_lines")]
public ICollection<OrderLine> OrderLines { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrderLine> |
OrderTaxAmount
Non-negative, minor units. The total tax amount of the order.
Declaration
[JsonProperty(PropertyName = "order_tax_amount")]
public int OrderTaxAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PurchaseCurrency
ISO 4217 purchase currency.
Declaration
[JsonProperty(PropertyName = "purchase_currency")]
public string PurchaseCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShippingAddress
Shipping address
Declaration
[JsonProperty(PropertyName = "shipping_address")]
public CustomerTokenAddressInfo ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
CustomerTokenAddressInfo |