// Copyright (c) Pickware GmbH. All rights reserved.
// This file is part of software that is released under a proprietary license.
// You must not copy, modify, distribute, make publicly available, or execute
// its contents or parts thereof without express permission by the copyright
// holder, unless otherwise permitted by law.

/**
 * The store handling the incoterm options.
 */
Ext.define('Shopware.apps.ViisonDHLTermsOfTrade.store.IncotermExpress', {

    extend: 'Ext.data.Store',

    storeId: 'viisonDHLIncotermExpressStore',

    autoLoad: true,

    model: 'Shopware.apps.ViisonDHLTermsOfTrade.model.TermsOfTrade',

    proxy: {
        type: 'ajax',
        api: {
            read: '{url controller="ViisonDHLTermsOfTrade" action="getIncotermsExpress"}',
        },
        reader: {
            type: 'json',
            root: 'data',
        },
    },

});
