changedOutput schema / properties / data / properties / fees / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Fee amount in the smallest currency unit.",
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "description": "Display name for the fee (e.g. \"Shipping\", \"Processing\").",
- "type": [
- "string",
- "null"
- ]
- },
- "percentage": {
- "description": "Fee as a percentage of the subtotal (0-100), when defined that way.",
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Fee amount in the smallest currency unit. For a fee with both a percentage and a fixed amount, the sum of `percentageAmount` and `fixedAmount`.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fixedAmount": {
+ "description": "The fixed part of `amount`, in the smallest currency unit, already multiplied by quantity or tickets when the fee multiplies. Only set on a fee with both a percentage and a fixed amount.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Display name for the fee (e.g. \"Shipping\", \"Processing\").",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "percentage": {
+ "description": "Fee as a percentage of the subtotal (0-100), when defined that way.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "percentageAmount": {
+ "description": "The part of `amount` from the percentage, in the smallest currency unit. Only set on a fee with both a percentage and a fixed amount. Can be 0, e.g. when a 100% coupon leaves nothing for the percentage to apply to.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]