ilscipio/scipio-erp

View on GitHub
applications/commonext/data/ProductStoreData.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->

<entity-engine-xml>
    <!-- Payment Gateway Config -->
    <PaymentGatewayConfigType paymentGatewayConfigTypeId="PAYPAL" hasTable="N" description="PayPal Payment Gateway"/>
    <PaymentGatewayConfig paymentGatewayConfigId="PAYPAL_CONFIG" paymentGatewayConfigTypeId="PAYPAL" description="PayPal Config"/>
    <PaymentGatewayPayPal paymentGatewayConfigId="PAYPAL_CONFIG" businessEmail="" apiUserName="" apiPassword="" apiSignature="" apiEnvironment="" notifyUrl="" returnUrl="" cancelReturnUrl="" imageUrl="" confirmTemplate="/order/emailconfirmation.ftl" redirectUrl="https://www.sandbox.paypal.com/webscr" confirmUrl="https://www.sandbox.paypal.com/us/cgi-bin/webscr" shippingCallbackUrl="" requireConfirmedShipping="N"/>
    
    <PaymentGatewayConfigType paymentGatewayConfigTypeId="WORLDPAY" hasTable="N" description="RBS WorldPay Payment Gateway"/>
    <PaymentGatewayConfig paymentGatewayConfigId="WORLDPAY_CONFIG" paymentGatewayConfigTypeId="WORLDPAY" description="RBS WorldPay Config"/>
    <PaymentGatewayWorldPay paymentGatewayConfigId="WORLDPAY_CONFIG" redirectUrl="https://select-test.worldpay.com/wcc/purchase" instId="" authMode="A" fixContact="N" hideContact="N" hideCurrency="N" langId="" noLanguageMenu="N" withDelivery="N" testMode="100"/>
    
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveCCProcessor" paymentCustomMethodId="CC_AUTH_ALWAYSAPPROV"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_RELEASE" paymentService="testCCRelease" paymentCustomMethodId="CC_RELEASE_TEST"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_CAPTURE" paymentService="testCCCapture" paymentCustomMethodId="CC_CAPTURE_TEST"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_REAUTH" paymentService="alwaysApproveCCProcessor" paymentCustomMethodId="CC_AUTH_ALWAYSAPPROV"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_REFUND" paymentService="testCCRefund" paymentCustomMethodId="CC_REFUND_TEST"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EFT_ACCOUNT" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveEFTProcessor" paymentCustomMethodId="EFT_AUTH_ALWAYSAPPRO"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EFT_ACCOUNT" paymentServiceTypeEnumId="PRDS_PAY_RELEASE" paymentService="alwaysDeclineEFTProcessor" paymentCustomMethodId="EFT_AUTH_ALWAYSDECLI"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="GIFT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveGCProcessor" paymentCustomMethodId="GIFT_AUTH_ALWAYSAPPR"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="GIFT_CARD" paymentServiceTypeEnumId="PRDS_PAY_RELEASE" paymentService="testGCRelease" paymentCustomMethodId="GIFT_RELEASE_TEST"/>
    
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EXT_PAYPAL" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId="" paymentGatewayConfigId="PAYPAL_CONFIG"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EXT_WORLDPAY" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId="" paymentGatewayConfigId="WORLDPAY_CONFIG"/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EXT_OFFLINE" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EXT_COD" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
    <ProductStorePaymentSetting productStoreId="${productStoreId}" paymentMethodTypeId="EXT_BILLACT" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
    
    <!-- SCIPIO: 2017-10-05: This now supports productStoreShipMethIdList containing an array of IDs reserved
        in advance for this file.
        NOTE: The productStoreShipMethIdList should be an instance of org.ofbiz.entity.util.EntitySeqIdList,
            and only the get(int) method should be called for it; these classes automatically reserve new IDs through the get(int) call.
        WARN: if productStoreShipMethIdList is omitted by caller, a fixed value (9000) is used instead.
        WARN: the extra groovy fluff is required to prevent localized formatting of numbers.
    -->
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(0) ?: 9000)+''}" productStoreId="${productStoreId}" partyId="_NA_" includeNoChargeItems="Y" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NO_SHIPPING" sequenceNumber="6"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(1) ?: 9001)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="UPS_CONFIG" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="3"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(2) ?: 9002)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="UPS_CONFIG" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="AIR" sequenceNumber="2"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(3) ?: 9003)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="UPS_CONFIG" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY_AIR" sequenceNumber="1"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(4) ?: 9004)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="USPS_CONFIG" partyId="USPS" includeNoChargeItems="N" allowUspsAddr="Y" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="STANDARD" serviceName="uspsRateInquire" sequenceNumber="5"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(5) ?: 9005)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="USPS_CONFIG" partyId="USPS" includeNoChargeItems="N" allowUspsAddr="Y" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" serviceName="uspsRateInquire" sequenceNumber="4"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(6) ?: 9006)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="DHL_CONFIG" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="7"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(7) ?: 9007)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="DHL_CONFIG" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="8"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(8) ?: 9008)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="DHL_CONFIG" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="9"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(9) ?: 9009)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="DHL_CONFIG" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="10"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(10) ?: 9010)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_AM" sequenceNumber="11"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(11) ?: 9011)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY" sequenceNumber="12"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(12) ?: 9012)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="13"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(13) ?: 9013)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="14"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(14) ?: 9014)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS_SAVER" sequenceNumber="15"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(15) ?: 9015)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="16"/>
    <ProductStoreShipmentMeth productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(16) ?: 9016)+''}" productStoreId="${productStoreId}" shipmentGatewayConfigId="FEDEX_CONFIG" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND_HOME" sequenceNumber="17"/>
    
    <CarrierShipmentMethod partyId="${orgPartyId}" roleTypeId="CARRIER" shipmentMethodTypeId="LOCAL_DELIVERY" sequenceNumber="4"/>
    
    <ShipmentCostEstimate productStoreId="${productStoreId}" orderFlatPrice="5.0" orderItemFlatPrice="0.0" carrierPartyId="${orgPartyId}" carrierRoleTypeId="CARRIER" orderPricePercent="0.0" shipmentMethodTypeId="LOCAL_DELIVERY"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(2) ?: 9002)+''}" productStoreId="${productStoreId}" orderFlatPrice="5.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="AIR" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9000" weightUnitPrice="0.2" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(1) ?: 9001)+''}" productStoreId="${productStoreId}" orderFlatPrice="3.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9001" weightUnitPrice="0.1" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(3) ?: 9003)+''}" productStoreId="${productStoreId}" orderFlatPrice="10.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_DAY_AIR" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9002" weightUnitPrice="0.35" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(0) ?: 9000)+''}" productStoreId="${productStoreId}" shipmentMethodTypeId="STANDARD" carrierPartyId="_NA_" carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="20.0" orderItemFlatPrice="0.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(0) ?: 9000)+''}" productStoreId="${productStoreId}" shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="0.0" orderItemFlatPrice="0.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(6) ?: 9006)+''}" productStoreId="${productStoreId}" orderFlatPrice="10.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="EXPRESS" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9003" weightUnitPrice="0.2" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(7) ?: 9007)+''}" productStoreId="${productStoreId}" orderFlatPrice="9.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_PM" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9004" weightUnitPrice="0.2" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(8) ?: 9008)+''}" productStoreId="${productStoreId}" orderFlatPrice="5.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="SECOND_DAY" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9005" weightUnitPrice="0.2" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(9) ?: 9009)+''}" productStoreId="${productStoreId}" orderFlatPrice="3.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9006" weightUnitPrice="0.1" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(10) ?: 9010)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_AM" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(11) ?: 9011)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_DAY" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(12) ?: 9012)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_PM" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(13) ?: 9013)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="SECOND_DAY" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(14) ?: 9014)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="EXPRESS_SAVER" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(15) ?: 9015)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
    <ShipmentCostEstimate productStoreShipMethId="${groovy:(context.productStoreShipMethIdList?.get(16) ?: 9016)+''}" productStoreId="${productStoreId}" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND_HOME" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER" weightUnitPrice="0.15" quantityUnitPrice="1.0"/>
</entity-engine-xml>