Class PaymentCreditSession
Inheritance
Inherited Members
Namespace: Klarna.Rest.Core.Model
Assembly: Klarna.Rest.Core.dll
Syntax
public class PaymentCreditSession
Properties
| Improve this Doc View SourceAcquiringChannel
Type of acquiring channel
Declaration
[JsonProperty(PropertyName = "acquiring_channel")]
public string AcquiringChannel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Attachment
Additional purchase information required for some industries.
Declaration
[JsonProperty(PropertyName = "attachment")]
public Attachment Attachment { get; set; }
Property Value
Type | Description |
---|---|
Attachment |
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 |
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
Customer
Information about the liable customer of the order.
Declaration
[JsonProperty(PropertyName = "customer")]
public PaymentCustomer Customer { get; set; }
Property Value
Type | Description |
---|---|
PaymentCustomer |
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> |
Design
Design.
Declaration
[JsonProperty(PropertyName = "design")]
public string Design { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExpiresAt
Session expiration date
Declaration
[JsonProperty(PropertyName = "expires_at")]
public DateTime ExpiresAt { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Remarks
Read only
Locale
RFC 1766 customer's locale.
Declaration
[JsonProperty(PropertyName = "locale")]
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Required
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 = "merchant_urls")]
public PaymentMerchantUrls MerchantUrls { get; set; }
Property Value
Type | Description |
---|---|
PaymentMerchantUrls |
Options
Options for this purchase.
Declaration
[JsonProperty(PropertyName = "options")]
public PaymentOptions Options { get; set; }
Property Value
Type | Description |
---|---|
PaymentOptions |
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
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
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
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
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
PurchaseCurrency
ISO 4217 purchase currency.
Declaration
[JsonProperty(PropertyName = "purchase_currency")]
public string PurchaseCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Required
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 |
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 |