// 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.

Ext.define('Shopware.apps.ViisonUPSShipping.model.ProductMapping', {

    /**
     * Extend from the standard ExtJS 4.
     */
    extend: 'Shopware.apps.ViisonShippingCommonShipping.model.ProductMapping',

    createURL: '{url controller="ViisonUPSShipping" action="createDispatchMapping"}',
    updateURL: '{url controller="ViisonUPSShipping" action="updateDispatchMapping"}',
    destroyURL: '{url controller="ViisonUPSShipping" action="destroyDispatchMapping"}',

    /**
     * New plugin-specific fields.
     */
    fields: [
        { name: 'additionalHandlingRequired', type: 'boolean', defaultValue: false },
        { name: 'higherInsurance', type: 'boolean', defaultValue: false }
    ]

});
