Class OrderManagementOrder
Inheritance
Inherited Members
Namespace: Klarna.Rest.Core.Model
Assembly: Klarna.Rest.Core.dll
Syntax
public class OrderManagementOrder
Properties
| Improve this Doc View SourceBillingAddress
Customer billing address.
Declaration
[JsonProperty(PropertyName = "billing_address")]
public OrderManagementAddressInfo BillingAddress { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementAddressInfo |
CapturedAmount
The total amount of all captures. In minor units.
Declaration
[JsonProperty(PropertyName = "captured_amount")]
public int CapturedAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Captures
List of captures for this order.
Declaration
[JsonProperty(PropertyName = "captures")]
public ICollection<OrderManagementCapture> Captures { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrderManagementCapture> |
CreatedAt
The time for the purchase. Formatted according to ISO 8601.
Declaration
[JsonProperty(PropertyName = "created_at")]
public string CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Customer
Information about the customer placing the order.
Declaration
[JsonProperty(PropertyName = "customer")]
public OrderManagementCustomer Customer { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementCustomer |
ExpiresAt
Order expiration time. The order can only be captured until this time. Formatted according to ISO 8601.
Declaration
[JsonProperty(PropertyName = "expires_at")]
public string ExpiresAt { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FraudStatus
Fraud status for the order.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty(PropertyName = "fraud_status")]
public OrderManagementFraudStatus FraudStatus { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementFraudStatus |
InitialPaymentMethod
Initial payment method for this order
Declaration
[JsonProperty(PropertyName = "initial_payment_method")]
public OrderManagementInitialPaymentMethod InitialPaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementInitialPaymentMethod |
KlarnaReference
Customer friendly reference id, used as order reference when communicating with the customer.
Declaration
[JsonProperty(PropertyName = "klarna_reference")]
public string KlarnaReference { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Locale
The customers locale. Specified according to RFC 1766.
Declaration
[JsonProperty(PropertyName = "locale")]
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantData
Text field for storing data about the order. Set at order creation.
Declaration
[JsonProperty(PropertyName = "marchant_data")]
public string MerchantData { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantReference1
Merchant reference 1. Can be used to store your internal reference to the order.
Declaration
[JsonProperty(PropertyName = "merchant_reference1")]
public string MerchantReference1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MerchantReference2
Merchant reference 2. Can be used to store your internal reference to the order.
Declaration
[JsonProperty(PropertyName = "merchant_reference2")]
public string MerchantReference2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderAmount
The order amount in minor units. That is the smallest currency unit available such as cent or penny.
Declaration
[JsonProperty(PropertyName = "order_amount")]
public int OrderAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OrderId
The unique order ID. No longer than 255 characters.
Declaration
[JsonProperty(PropertyName = "order_id")]
public string OrderId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderLines
An array of order_line objects. Each line represents one item in the cart.
Declaration
[JsonProperty(PropertyName = "order_lines")]
public ICollection<OrderLine> OrderLines { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrderLine> |
OriginalOrderAmount
The original order amount. In minor units.
Declaration
[JsonProperty(PropertyName = "original_order_amount")]
public int OriginalOrderAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PurchaseCountry
The purchase country. Formatted according to ISO 3166-1 alpha-2.
Declaration
[JsonProperty(PropertyName = "purchase_country")]
public string PurchaseCountry { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PurchaseCurrency
The currency for this order. Specified in ISO 4217 format.
Declaration
[JsonProperty(PropertyName = "purchase_currency")]
public string PurchaseCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RefundedAmount
The total amount of refunded for this order. In minor units.
Declaration
[JsonProperty(PropertyName = "refunded_amount")]
public int RefundedAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Refunds
List of refunds for this order.
Declaration
[JsonProperty(PropertyName = "refunds")]
public ICollection<OrderManagementRefund> Refunds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrderManagementRefund> |
RemainingAuthorizedAmount
he remaining authorized amount for this order. To increase the remaining_authorized_amount the order_amount needs to be increased.
Declaration
[JsonProperty(PropertyName = "remaining_authorized_amount")]
public int RemainingAuthorizedAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ShippingAddress
Customer shipping address
Declaration
[JsonProperty(PropertyName = "shipping_address")]
public OrderManagementAddressInfo ShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementAddressInfo |
Status
the order status.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty(PropertyName = "status")]
public OrderManagementOrderStatus Status { get; set; }
Property Value
Type | Description |
---|---|
OrderManagementOrderStatus |