Klarna · Schema

SelectedShippingOptionDto

The shipping option selected by the user.

FintechBNPLPaymentsCardsShopping

Properties

Name Type Description
carrier string The carrier for the selected shipping option
carrier_product object
class string The class of the selected shipping option
id string The id of the selected shipping option as provided by the TMS
location object
method string The method of the selected shipping option
name string The display name of the selected shipping option
price integer The price of the selected shipping option
selected_addons array Array consisting of add-ons selected by the consumer, may be empty
tax_amount integer The tax amount of the selected shipping option
tax_rate integer The tax rate of the selected shipping option
timeslot object
tms_reference string The shipment_id provided by the TMS
type string The type of the selected shipping option
View JSON Schema on GitHub

JSON Schema

klarna-selectedshippingoptiondto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SelectedShippingOptionDto",
  "title": "SelectedShippingOptionDto",
  "description": "The shipping option selected by the user.",
  "properties": {
    "carrier": {
      "description": "The carrier for the selected shipping option",
      "type": "string"
    },
    "carrier_product": {
      "$ref": "#/components/schemas/CarrierProduct"
    },
    "class": {
      "description": "The class of the selected shipping option",
      "type": "string"
    },
    "id": {
      "description": "The id of the selected shipping option as provided by the TMS",
      "type": "string"
    },
    "location": {
      "$ref": "#/components/schemas/Location"
    },
    "method": {
      "description": "The method of the selected shipping option",
      "type": "string"
    },
    "name": {
      "description": "The display name of the selected shipping option",
      "type": "string"
    },
    "price": {
      "description": "The price of the selected shipping option",
      "enum": [
        null
      ],
      "format": "int64",
      "type": "integer"
    },
    "selected_addons": {
      "description": "Array consisting of add-ons selected by the consumer, may be empty",
      "items": {
        "$ref": "#/components/schemas/Addon"
      },
      "type": "array"
    },
    "tax_amount": {
      "description": "The tax amount of the selected shipping option",
      "enum": [
        null
      ],
      "format": "int64",
      "type": "integer"
    },
    "tax_rate": {
      "description": "The tax rate of the selected shipping option",
      "enum": [
        null
      ],
      "format": "int64",
      "type": "integer"
    },
    "timeslot": {
      "$ref": "#/components/schemas/Timeslot"
    },
    "tms_reference": {
      "description": "The shipment_id provided by the TMS",
      "type": "string"
    },
    "type": {
      "description": "The type of the selected shipping option",
      "type": "string"
    }
  },
  "type": "object"
}