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 SourceDescription
Description.
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Id
Id.
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Required
Name
Name.
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Reqiured
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 | 
Price
Price including tax.
Declaration
[JsonProperty(PropertyName = "price")]
public int Price { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Remarks
Required
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 | 
ShippingMethod
Shipping method.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty(PropertyName = "shipping_method")]
public ShippingMethod ShippingMethod { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ShippingMethod | 
TaxAmount
Tax amount.
Declaration
[JsonProperty(PropertyName = "tax_amount")]
public int TaxAmount { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Remarks
Required
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