applications/accounting/servicedef/services_clearcommerce.xml (43 lines of code) (raw):

<?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="https://ofbiz.apache.org/dtds/services.xsd"> <description>Clear Commerce Services</description> <vendor>OFBiz</vendor> <version>1.0</version> <!-- ClearCommerce Implementations --> <service name="clearCommerceCCAuth" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccAuth"> <description>ClearCommerce Credit Card Authorization</description> <implements service="ccAuthInterface"/> <attribute name="ccAction" type="String" mode="IN" optional="true"/> </service> <service name="clearCommerceCCCapture" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccCapture"> <description>ClearCommerce Credit Card Capture</description> <implements service="ccCaptureInterface"/> </service> <service name="clearCommerceCCRelease" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccRelease"> <description>ClearCommerce Credit Card Release</description> <implements service="paymentReleaseInterface"/> </service> <service name="clearCommerceCCRefund" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccRefund"> <description>ClearCommerce Credit Card Refund</description> <implements service="paymentRefundInterface"/> </service> <service name="clearCommerceCCCredit" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccCredit"> <description>ClearCommerce Credit Card Credit</description> <implements service="ccCreditInterface"/> <attribute name="orderId" type="String" mode="IN" optional="false"/> <attribute name="pbOrder" type="Map" mode="IN" optional="true"/> <!-- map of the 3 values below --> <attribute name="OrderFrequencyCycle" type="String" mode="IN" optional="true"/> <attribute name="OrderFrequencyInterval" type="String" mode="IN" optional="true"/> <attribute name="TotalNumberPayments" type="String" mode="IN" optional="true"/> </service> <service name="clearCommerceCCReport" engine="java" location="org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices" invoke="ccReport"> <description>Reporting facility</description> <implements service="ccAuthInterface"/> </service> </services>