Class OptionsV1
Inheritance
Inherited Members
Namespace: Klarna.Rest.Core.Model.HostedPaymentPage
Assembly: Klarna.Rest.Core.dll
Syntax
[DataContract]
public class OptionsV1
Properties
| Improve this Doc View SourceBackgroundImages
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. |
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 |
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 |
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. |
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. |
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. |
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 SourceToJson()
Get the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Get the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |