Rounding
Type: schema
Description
Define how to round the shipping cost
TypeScript Definition
typescript
Rounding: {{
unit: number;
/** @enum {string} */
method: "nearest" | "ceil" | "floor";
};
/** SalesChannel */
}OpenAPI Schema
json
{
"title": "Rounding",
"description": "Define how to round the shipping cost",
"type": "object",
"required": [
"unit",
"method"
],
"properties": {
"unit": {
"type": "number",
"exclusiveMinimum": 0
},
"method": {
"type": "string",
"enum": [
"nearest",
"ceil",
"floor"
]
}
},
"additionalProperties": false
}Auto-generated from OpenAPI spec and TypeScript definitions