git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@769576 13f79535-47bb-0310-9956-ffa450edef68
87 lines
4.6 KiB
XML
87 lines
4.6 KiB
XML
<?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.
|
|
-->
|
|
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
|
|
<description>Web Pos Payment Services</description>
|
|
<vendor>OFBiz</vendor>
|
|
<version>1.0</version>
|
|
|
|
<service name="payCash" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCash">
|
|
<description>Pay Cash</description>
|
|
<attribute name="amount" type="String" mode="IN" optional="false"/>
|
|
</service>
|
|
|
|
<service name="payCheck" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCheck">
|
|
<description>Pay Check</description>
|
|
<attribute name="amount" type="String" mode="IN" optional="false"/>
|
|
<attribute name="refNum" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="payGiftCard" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payGiftCard">
|
|
<description>Pay Gift Card</description>
|
|
<attribute name="amount" type="String" mode="IN" optional="false"/>
|
|
<attribute name="refNum" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="payCredit" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="payCredit">
|
|
<description>Pay Credit Card</description>
|
|
<attribute name="amount" type="String" mode="IN" optional="false"/>
|
|
<attribute name="refNum" type="String" mode="IN" optional="true"/>
|
|
<attribute name="cardNum" type="String" mode="IN" optional="false"/>
|
|
<attribute name="expMonth" type="String" mode="IN" optional="false"/>
|
|
<attribute name="expYear" type="String" mode="IN" optional="false"/>
|
|
<attribute name="securityCode" type="String" mode="IN" optional="true"/>
|
|
<attribute name="postalCode" type="String" mode="IN" optional="true"/>
|
|
<attribute name="firstName" type="String" mode="IN" optional="false"/>
|
|
<attribute name="lastName" type="String" mode="IN" optional="false"/>
|
|
<attribute name="track2" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="processSale" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="processSale">
|
|
<description>Process Sale</description>
|
|
</service>
|
|
|
|
<service name="setRefNum" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="setRefNum">
|
|
<description>Set Payment Refernce Number</description>
|
|
<attribute name="refNumCheck" type="String" mode="IN" optional="true"/>
|
|
<attribute name="refNumGift" type="String" mode="IN" optional="true"/>
|
|
<attribute name="refNumCredit" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="clearPayment" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearPayment">
|
|
<description>Clear Payment</description>
|
|
<attribute name="clearCash" type="String" mode="IN" optional="true"/>
|
|
<attribute name="clearCheck" type="String" mode="IN" optional="true"/>
|
|
<attribute name="clearGift" type="String" mode="IN" optional="true"/>
|
|
<attribute name="clearCredit" type="String" mode="IN" optional="true"/>
|
|
</service>
|
|
|
|
<service name="clearAllPayments" engine="simple" auth="false"
|
|
location="component://webpos/script/org/ofbiz/webpos/event/PaymentEvents.xml" invoke="clearAllPayments">
|
|
<description>Clear All Payments</description>
|
|
</service>
|
|
</services>
|