Show / Hide Table of Contents

Class ShippingOption

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

Properties

| Improve this Doc View Source

Description

Description.

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

Id

Id.

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

Required

| Improve this Doc View Source

Name

Name.

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

Reqiured

| Improve this Doc View Source

Preselected

If true, this option will be preselected when checkout loads. Default: false

Declaration
[JsonProperty(PropertyName = "preselected")]
public bool Preselected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Price

Price including tax.

Declaration
[JsonProperty(PropertyName = "price")]
public int Price { get; set; }
Property Value
Type Description
System.Int32
Remarks

Required

| Improve this Doc View Source

Promo

Promotion name. To be used if this shipping option is promotional.

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

ShippingMethod

Shipping method.

Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty(PropertyName = "shipping_method")]
public ShippingMethod ShippingMethod { get; set; }
Property Value
Type Description
ShippingMethod
| Improve this Doc View Source

TaxAmount

Tax amount.

Declaration
[JsonProperty(PropertyName = "tax_amount")]
public int TaxAmount { get; set; }
Property Value
Type Description
System.Int32
Remarks

Required

| Improve this Doc View Source

TaxRate

Non-negative. In percent, two implicit decimals, I.e 2500 = 25%.

Declaration
[JsonProperty(PropertyName = "tax_rate")]
public int TaxRate { get; set; }
Property Value
Type Description
System.Int32
Remarks

Required

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