You are here

commerce_fedex.schema.yml in Commerce FedEx 8

config/schema/commerce_fedex.schema.yml

File

config/schema/commerce_fedex.schema.yml
View source
  1. commerce_shipping.commerce_shipping_method.plugin.fedex:
  2. type: commerce_shipping_method_configuration
  3. mapping:
  4. api_information:
  5. label: 'API information'
  6. type: mapping
  7. mapping:
  8. api_key:
  9. type: string
  10. label: 'API key'
  11. api_password:
  12. type: string
  13. label: 'API password'
  14. account_number:
  15. type: integer
  16. label: 'Account number'
  17. meter_number:
  18. type: integer
  19. label: 'Meter number'
  20. mode:
  21. type: label
  22. label: 'Choose whether to use the test or live mode.'
  23. options:
  24. type: mapping
  25. label: 'Fedex Options'
  26. mapping:
  27. packaging:
  28. type: label
  29. label: 'Packaging Strategy'
  30. rate_request_type:
  31. type: label
  32. label: 'Pricing options'
  33. dropoff:
  34. type: label
  35. label: 'Default dropoff/pickup location for your FedEx shipments'
  36. insurance:
  37. type: boolean
  38. label: 'Include Insurance'
  39. log:
  40. type: mapping
  41. label: 'Log the following messages for debugging'
  42. mapping:
  43. request:
  44. type: field.value.boolean
  45. mapping:
  46. value:
  47. label: 'API request messages'
  48. response:
  49. type: field.value.boolean
  50. mapping:
  51. value:
  52. label: 'API response messages'
  53. plugins:
  54. type: sequence
  55. label: 'FedEx Service Plugins'
  56. sequence:
  57. type: mapping
  58. label: 'Fedex Service Plugin'
  59. mapping:
  60. plugin_id:
  61. type: string
  62. label: 'Plugin Id'
  63. configuration:
  64. type: commerce_fedex.fedex_plugin.plugin.[%parent.plugin_id]
  65. commerce_fedex.fedex_plugin.plugin.*:
  66. type: commerce_fedex_plugin
  67. commerce_fedex_plugin:
  68. type: mapping
  69. label: 'FedEx Plugin'
  70. mapping:
  71. id:
  72. type: string
  73. label: plugin_id