You are here

commerce_usps.schema.yml in Commerce USPS 8

config/schema/commerce_usps.schema.yml

File

config/schema/commerce_usps.schema.yml
View source
  1. commerce_shipping.commerce_shipping_method.plugin.usps:
  2. type: commerce_shipping_method_configuration
  3. mapping:
  4. api_information:
  5. label: 'API information'
  6. type: mapping
  7. mapping:
  8. user_id:
  9. type: string
  10. label: 'User ID'
  11. password:
  12. type: string
  13. label: 'Password'
  14. mode:
  15. type: string
  16. label: 'Choose whether to use the test or live mode'
  17. rate_options:
  18. type: mapping
  19. label: 'Rate Options'
  20. mapping:
  21. rate_class:
  22. type: boolean
  23. label: 'The rate class to use for pricing. For example "Commercial Plus"'
  24. options:
  25. type: mapping
  26. label: 'USPS Options'
  27. mapping:
  28. tracking_url:
  29. type: string
  30. label: 'Tracking URL'
  31. log:
  32. type: mapping
  33. label: 'Log the following messages for debugging'
  34. mapping:
  35. request:
  36. type: field.value.boolean
  37. mapping:
  38. value:
  39. label: 'API request messages'
  40. response:
  41. type: field.value.boolean
  42. mapping:
  43. value:
  44. label: 'API response messages'