Class CheckoutOptions
Inheritance
Inherited Members
Namespace: Klarna.Rest.Core.Model
Assembly: Klarna.Rest.Core.dll
Syntax
public class CheckoutOptions
Properties
| Improve this Doc View SourceAcquiringChannel
Acquiring channel for the order. Use MOTO for "Mail Order Telephone Order" or ECOMMERCE for "E-commerce". Default : ECOMMERCE
Declaration
[JsonProperty(PropertyName = "acquiring_channel")]
public string AcquiringChannel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AdditionalCheckbox
Additional merchant defined checkbox. e.g. for Newsletter opt-in.
Declaration
[JsonProperty(PropertyName = "additional_checkbox")]
public AdditionalCheckbox AdditionalCheckbox { get; set; }
Property Value
Type | Description |
---|---|
AdditionalCheckbox |
Remarks
Required
AdditionalCheckboxes
Additional merchant defined checkboxes. e.g. for Newsletter opt-in.
Declaration
[JsonProperty(PropertyName = "additional_checkboxes")]
public ICollection<AdditionalCheckboxV2> AdditionalCheckboxes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<AdditionalCheckboxV2> |
AdditionalMerchantTerms
Additional merchant defined field. e.g. Extra terms and conditions to show.
Declaration
[JsonProperty(PropertyName = "additional_merchant_terms")]
public string AdditionalMerchantTerms { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AllowedCustomerTypes
A list of allowed customer types. Supported types: person & organization
Declaration
[JsonProperty(PropertyName = "allowed_customer_types")]
public ICollection<string> AllowedCustomerTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |
AllowSeparateShippingAddress
If true, the consumer can enter different billing and shipping addresses. Default: false
Declaration
[JsonProperty(PropertyName = "allow_separate_shipping_address")]
public bool AllowSeparateShippingAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ColorButton
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "color_button")]
public string ColorButton { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColorButtonText
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "color_button_text")]
public string ColorButtonText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColorCheckbox
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "color_checkbox")]
public string ColorCheckbox { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColorCheckboxCheckmark
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "color_checkbox_checkmark")]
public string ColorCheckboxCheckmark { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColorHeader
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "colorheader")]
public string ColorHeader { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColorLink
CSS hex color, e.g. "#FF9900"
Declaration
[JsonProperty(PropertyName = "color_link")]
public string ColorLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DateOfBirthMandatory
If true, the consumer cannot skip date of birth. Default: false
Declaration
[JsonProperty(PropertyName = "date_of_birth_mandatory")]
public bool DateOfBirthMandatory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NationalIdentificationNumberMandatory
Additional merchant defined field. e.g. for purchases that MUST have a national insurance number.
Declaration
[JsonProperty(PropertyName = "national_identification_number_mandatory")]
public bool NationalIdentificationNumberMandatory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RadiusBorder
Border radius.
Declaration
[JsonProperty(PropertyName = "radius_border")]
public string RadiusBorder { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RequireValidateCallbackSuccess
If true, validate callback must get a positive response to not stop purchase. Default: false.
Declaration
[JsonProperty(PropertyName = "require_validate_callback_success")]
public bool RequireValidateCallbackSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShippingDetails
A message that will be presented on the confirmation page under the headline "Delivery".
Declaration
[JsonProperty(PropertyName = "shipping_details")]
public string ShippingDetails { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShowSubtotalDetail
If true, the Order Detail subtotals view is expanded. Default: false
Declaration
[JsonProperty(PropertyName = "show_subtotal_detail")]
public bool ShowSubtotalDetail { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TitleMandatory
If specified to false, title becomes optional. Only available for orders for country GB.
Declaration
[JsonProperty(PropertyName = "title_mandatory")]
public bool TitleMandatory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VatExcluded
If true, VAT is not included in total price
Declaration
[JsonProperty(PropertyName = "vat_excluded")]
public bool VatExcluded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |