ilscipio/scipio-erp

View on GitHub
applications/order/servicedef/services_checkout.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" ?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd">

    <service name="createUpdateCustomerAndShippingAddress" engine="simple" location="component://order/script/org/ofbiz/order/order/CheckoutServices.xml" auth="false" invoke="createUpdateCustomerAndShippingAddress">
        <implements service="createUpdateShippingAddress"/>
        <property name="shoppingCart.update" type="Boolean" value="true"><description>SCIPIO: This service modifies the passed shoppingCart</description></property>
        <attribute name="shoppingCart" type="org.ofbiz.order.shoppingcart.ShoppingCart" mode="IN" optional="false"/>
        <attribute name="firstName" type="String" mode="IN" optional="true"/>
        <attribute name="lastName" type="String" mode="IN" optional="true"/>
        <attribute name="userLogin" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"/>
        <attribute name="emailAddress" type="String" mode="IN" optional="false"/>
        <attribute name="shipToCountryCode" type="String" mode="IN" optional="true"/>
        <attribute name="shipToAreaCode" type="String" mode="IN" optional="true"/>
        <attribute name="shipToContactNumber" type="String" mode="IN" optional="true"/>
        <attribute name="shipToExtension" type="String" mode="IN" optional="true"/>
        <attribute name="emailContactMechId" mode="INOUT" type="String" optional="true"/>
        <attribute name="partyId" type="String" mode="INOUT" optional="true"/>
        <attribute name="shipToPhoneContactMechId" type="String" mode="INOUT" optional="true"/>
    </service>

    <service name="createUpdateBillingAddressAndPaymentMethod" engine="simple" location="component://order/script/org/ofbiz/order/order/CheckoutServices.xml" auth="false" invoke="createUpdateBillingAddressAndPaymentMethod">
        <implements service="createUpdateBillingAddress"/>
        <implements service="createUpdateCreditCard"/>
        <property name="shoppingCart.update" type="Boolean" value="true"><description>SCIPIO: This service modifies the passed shoppingCart</description></property>
        <attribute name="shoppingCart" type="org.ofbiz.order.shoppingcart.ShoppingCart" mode="IN" optional="false"/>
        <attribute name="userLogin" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"/>
        <attribute name="billToCountryCode" type="String" mode="IN" optional="true"/>
        <attribute name="billToAreaCode" type="String" mode="IN" optional="true"/>
        <attribute name="billToContactNumber" type="String" mode="IN" optional="true"/>
        <attribute name="billToExtension" type="String" mode="IN" optional="true"/>
        <attribute name="billToCardSecurityCode" type="String" mode="IN" optional="true"/>
        <attribute name="partyId" type="String" mode="INOUT" optional="true"/>
        <attribute name="billToPhoneContactMechId" mode="INOUT" type="String" optional="true"/>
    </service>

    <service name="setAnonUserLogin" engine="simple" location="component://order/script/org/ofbiz/order/order/CheckoutServices.xml" auth="false" invoke="setAnonUserLogin">
         <attribute name="shoppingCart" type="org.ofbiz.order.shoppingcart.ShoppingCart" mode="IN" optional="false"/>
         <attribute name="partyId" type="String" mode="IN" optional="true"/>
    </service>

</services>