Show / Hide Table of Contents

Class OptionsV1

Inheritance
System.Object
OptionsV1
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)
Namespace: Klarna.Rest.Core.Model.HostedPaymentPage
Assembly: Klarna.Rest.Core.dll
Syntax
[DataContract]
public class OptionsV1

Properties

| Improve this Doc View Source

BackgroundImages

Array of Images to use for the background. Best matching resolution will be used.

Declaration
[DataMember(Name = "background_images", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "background_images")]
public List<BackgroundImageV1> BackgroundImages { get; set; }
Property Value
Type Description
System.Collections.Generic.List<BackgroundImageV1>

Array of Images to use for the background. Best matching resolution will be used.

| Improve this Doc View Source

LogoUrl

URL of the logo to be displayed

Declaration
[DataMember(Name = "logo_url", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "logo_url")]
public string LogoUrl { get; set; }
Property Value
Type Description
System.String

URL of the logo to be displayed

| Improve this Doc View Source

PageTitle

Title for the Payment Page

Declaration
[DataMember(Name = "page_title", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "page_title")]
public string PageTitle { get; set; }
Property Value
Type Description
System.String

Title for the Payment Page

| Improve this Doc View Source

PaymentFallback

Whether or not the Payment Page will show fallback payment methods to the Consumer if the the specified payment methods fail. Ignored field for KCO Orders.

Declaration
[DataMember(Name = "payment_fallback", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "payment_fallback")]
public bool? PaymentFallback { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Whether or not the Payment Page will show fallback payment methods to the Consumer if the the specified payment methods fail. Ignored field for KCO Orders.

| Improve this Doc View Source

PaymentMethodCategories

Payment Method Categories to show on the Payment Page. All available categories will be given to the customer if none is specified using payment_method_category or payment_method_categories. Ignored field for KCO Orders.

Declaration
[DataMember(Name = "payment_method_categories", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "payment_method_categories")]
public List<string> PaymentMethodCategories { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Payment Method Categories to show on the Payment Page. All available categories will be given to the customer if none is specified using payment_method_category or payment_method_categories. Ignored field for KCO Orders.

| Improve this Doc View Source

PaymentMethodCategory

Payment Method Category to show on the Payment Page. All available categories will be given to the customer if none is specified using payment_method_category or payment_method_categories. Ignored field for KCO Orders.

Declaration
[DataMember(Name = "payment_method_category", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "payment_method_category")]
public string PaymentMethodCategory { get; set; }
Property Value
Type Description
System.String

Payment Method Category to show on the Payment Page. All available categories will be given to the customer if none is specified using payment_method_category or payment_method_categories. Ignored field for KCO Orders.

| Improve this Doc View Source

PurchaseType

The type of this purchase

Declaration
[DataMember(Name = "purchase_type", EmitDefaultValue = false)]
[JsonProperty(PropertyName = "purchase_type")]
public string PurchaseType { get; set; }
Property Value
Type Description
System.String

The type of this purchase

Methods

| Improve this Doc View Source

ToJson()

Get the JSON string presentation of the object

Declaration
public string ToJson()
Returns
Type Description
System.String

JSON string presentation of the object

| Improve this Doc View Source

ToString()

Get the string presentation of the object

Declaration
public override string ToString()
Returns
Type Description
System.String

String presentation of the object

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