Show / Hide Table of Contents

Class PaymentCreditSession

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

Properties

| Improve this Doc View Source

AcquiringChannel

Type of acquiring channel

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

Attachment

Additional purchase information required for some industries.

Declaration
[JsonProperty(PropertyName = "attachment")]
public Attachment Attachment { get; set; }
Property Value
Type Description
Attachment
| Improve this Doc View Source

BillingAddress

Once the customer has provided any data in the checkout iframe, updates to this object will be ignored (without generating an error).

Declaration
[JsonProperty(PropertyName = "billing_address")]
public PaymentAddressInfo BillingAddress { get; set; }
Property Value
Type Description
PaymentAddressInfo
| Improve this Doc View Source

ClientToken

Token to be passed to the JS client

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

Read only

| Improve this Doc View Source

Customer

Information about the liable customer of the order.

Declaration
[JsonProperty(PropertyName = "customer")]
public PaymentCustomer Customer { get; set; }
Property Value
Type Description
PaymentCustomer
| Improve this Doc View Source

CustomPaymentMethodIds

Ids for custom payment methods available in a given order. Only applicable in GB/US sessions.

Declaration
[JsonProperty(PropertyName = "customer_payment_method_ids")]
public ICollection<string> CustomPaymentMethodIds { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<System.String>
| Improve this Doc View Source

Design

Design.

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

ExpiresAt

Session expiration date

Declaration
[JsonProperty(PropertyName = "expires_at")]
public DateTime ExpiresAt { get; set; }
Property Value
Type Description
System.DateTime
Remarks

Read only

| Improve this Doc View Source

Locale

RFC 1766 customer's locale.

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

Required

| Improve this Doc View Source

MerchantData

Pass through field (max 1024 characters).

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

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
| Improve this Doc View Source

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
| Improve this Doc View Source

MerchantUrls

The merchant_urls object.

Declaration
[JsonProperty(PropertyName = "merchant_urls")]
public PaymentMerchantUrls MerchantUrls { get; set; }
Property Value
Type Description
PaymentMerchantUrls
| Improve this Doc View Source

Options

Options for this purchase.

Declaration
[JsonProperty(PropertyName = "options")]
public PaymentOptions Options { get; set; }
Property Value
Type Description
PaymentOptions
| Improve this Doc View Source

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
Remarks

Required

| Improve this Doc View Source

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>
Remarks

Required

| Improve this Doc View Source

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
Remarks

Required

| Improve this Doc View Source

PaymentMethodCategories

Available payment method categories

Declaration
[JsonProperty(PropertyName = "payment_method_categories")]
public ICollection<PaymentMethodCategory> PaymentMethodCategories { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<PaymentMethodCategory>
Remarks

Read only

| Improve this Doc View Source

PurchaseCountry

ISO 3166 alpha-2 purchase country.

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

Required

| Improve this Doc View Source

PurchaseCurrency

ISO 4217 purchase currency.

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

Required

| Improve this Doc View Source

ShippingAddress

Unless the customer has explicitly chosen to enter a separate shipping address, this is a clone of billing_address.

Declaration
[JsonProperty(PropertyName = "shipping_address")]
public PaymentAddressInfo ShippingAddress { get; set; }
Property Value
Type Description
PaymentAddressInfo
| Improve this Doc View Source

Status

The current status of the session. Possible values: 'complete', 'incomplete' where 'complete' is set when the order has been placed.

Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty(PropertyName = "status")]
public CreditSessionStatus Status { get; set; }
Property Value
Type Description
CreditSessionStatus
  • Improve this Doc
  • View Source
Back to top Copyright (c) 2005-2019 Klarna Bank AB (publ). All rights reserved.