Show / Hide Table of Contents

Class Transaction

The settlements API transaction object

Inheritance
System.Object
Transaction
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 Transaction

Properties

| Improve this Doc View Source

Amount

Total amount of the specific transaction, in minor units

Declaration
[JsonProperty(PropertyName = "amount")]
public int Amount { get; set; }
Property Value
Type Description
System.Int32
Remarks

Required

| Improve this Doc View Source

CaptureDate

ISO-8601 formatted date-time string

Declaration
[JsonProperty(PropertyName = "capture_date")]
public string CaptureDate { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

CaptureId

The Klarna assigned id reference of a specific capture

Declaration
[JsonProperty(PropertyName = "capture_id")]
public string CaptureId { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

CurrencyCode

ISO-3166 Currency Code.

Declaration
[JsonProperty(PropertyName = "currency_code")]
public string CurrencyCode { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

MerchantReference1

Merchant assigned reference, typically a reference to an order management system id

Declaration
[JsonProperty(PropertyName = "merchant_reference1")]
public string MerchantReference1 { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MerchantReference2

Merchant assigned reference, typically a reference to an order management system id

Declaration
[JsonProperty(PropertyName = "merchant_reference2")]
public string MerchantReference2 { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OrderId

The Klarna assigned order id reference

Declaration
[JsonProperty(PropertyName = "order_id")]
public string OrderId { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

PaymentReference

Reference to the specific payout the transaction is part of, if available.

Declaration
[JsonProperty(PropertyName = "payment_reference")]
public string PaymentReference { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Payout

Link to the payout that this transaction is part of

Declaration
[JsonProperty(PropertyName = "payout")]
public string Payout { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PurchaseCountry

ISO Alpha-2 Country Code

Declaration
[JsonProperty(PropertyName = "purchase_country")]
public string PurchaseCountry { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

RefundId

The Klarna assigned id reference of a specific refund

Declaration
[JsonProperty(PropertyName = "refund_id")]
public string RefundId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SaleDate

ISO-8601 formatted date-time string

Declaration
[JsonProperty(PropertyName = "sale_date")]
public string SaleDate { get; set; }
Property Value
Type Description
System.String
Remarks

Required

| Improve this Doc View Source

ShortOrderId

The Klarna assigned short order id reference

Declaration
[JsonProperty(PropertyName = "short_order_id")]
public string ShortOrderId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

The type of transaction.

Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public TransactionType Type { get; set; }
Property Value
Type Description
TransactionType
Remarks

Required

  • Improve this Doc
  • View Source
Back to top Copyright (c) 2005-2019 Klarna Bank AB (publ). All rights reserved.