You are here

commerce_price.schema.yml in Commerce Core 8.2

modules/price/config/schema/commerce_price.schema.yml

File

modules/price/config/schema/commerce_price.schema.yml
View source
  1. commerce_price.commerce_currency.*:
  2. type: config_entity
  3. label: 'Currency'
  4. mapping:
  5. currencyCode:
  6. type: string
  7. label: 'Currency code'
  8. name:
  9. type: label
  10. label: 'Name'
  11. numericCode:
  12. type: string
  13. label: 'Numeric code'
  14. symbol:
  15. type: label
  16. label: 'Symbol'
  17. fractionDigits:
  18. type: integer
  19. label: 'Fraction digits'
  20. field.value.commerce_price:
  21. type: mapping
  22. label: 'Price'
  23. mapping:
  24. number:
  25. type: string
  26. label: 'Number'
  27. currency_code:
  28. type: string
  29. label: 'Currency code'
  30. field.field_settings.commerce_price:
  31. type: mapping
  32. label: 'Price field settings'
  33. mapping:
  34. available_currencies:
  35. type: sequence
  36. label: 'Available currencies'
  37. orderby: value
  38. sequence:
  39. type: string
  40. field.formatter.settings.commerce_price_default:
  41. type: mapping
  42. label: 'Default price formatter settings'
  43. mapping:
  44. strip_trailing_zeroes:
  45. type: boolean
  46. label: 'Strip trailing zeroes after the decimal point'
  47. currency_display:
  48. type: string
  49. label: 'Currency display'
  50. field.formatter.settings.commerce_price_calculated:
  51. type: mapping
  52. label: 'Calculated price formatter settings'
  53. mapping:
  54. strip_trailing_zeroes:
  55. type: boolean
  56. label: 'Strip trailing zeroes after the decimal point'
  57. currency_display:
  58. type: string
  59. label: 'Currency display'
  60. # Needed by the commerce_order version of the formatter.
  61. adjustment_types:
  62. type: sequence
  63. label: 'Adjustment types'
  64. sequence:
  65. type: string
  66. label: 'Adjustment type'
  67. views.filter.commerce_currency:
  68. type: views.filter.in_operator