commerce_xero-8.x-1.x-dev/config/schema/commerce_xero.schema.yml

config/schema/commerce_xero.schema.yml
action.configuration.commerce_xero_process_payment_action:
  type: action_configuration_default
  label: 'Process payment configuration'

commerce_xero_plugin:
  type: mapping
  mapping:
    name:
      type: string
      label: 'Plugin ID'
    settings:
      type: commerce_xero_settings.[%parent.plugin]

commerce_xero_settings.*:
  type: sequence
  sequence:
    type: string
    label: 'Value'

commerce_xero_settings.commerce_xero_tracking_category:
  type: mapping
  mapping:
    tracking_category:
      type: string
      label: Category
    tracking_option:
      type: string
      label: Option

commerce_xero.strategy.*:
  type: config_entity
  label: 'Commerce Xero Strategy'
  mapping:
    id:
      type: string
      label: 'Unique Identifier for the strategy.'
    name:
      type: label
      label: 'Strategy Name'
    status:
      type: boolean
      label: 'Status'
    payment_gateway:
      type: string
      label: 'Payment Gateway'
    xero_type:
      type: string
      label: 'Xero Type'
    bank_account:
      type: mapping
      label: 'Bank Account'
      mapping:
        Name:
          type: label
          label: 'Name'
        AccountID:
          type: uuid
          label: 'Account ID'
    revenue_account:
      type: mapping
      label: 'Revenue Account'
      mapping:
        Name:
          type: label
          label: 'Name'
        Code:
          type: string
          label: 'Account Code'
    plugins:
      type: sequence
      label: 'Plugins'
      sequence:
        type: commerce_xero_plugin

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc