API Docs / Schemas / PricingFactorOptionDto

PricingFactorOptionDto

DTO for pricing factor option information

Properties

Name Type Description
namestring

The name of the option (e.g., "None", "Xero", "Good", "Bad")

The name of the option (e.g., "None", "Xero", "Good", "Bad")

valuenumber

The value adjustment for this option. Interpretation depends on the parent factor's AdjustmentType:
Percentage → multiplier (0.4 = +40%, -0.2 = -20%); FixedAmount → absolute currency (10 = +£10).

The value adjustment for this option. Interpretation depends on the parent factor's AdjustmentType:
Percentage → multiplier (0.4 = +40%, -0.2 = -20%); FixedAmount → absolute currency (10 = +£10).

JSON Example

{
  "name": "string",
  "value": 0
}

Contained in Schemas