Blame view
applications/product/servicedef/services_shipment_usps.xml
6.65 KB
c16038356
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
<?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>Common Application Components Shipment Services</description> <vendor>OFBiz</vendor> <version>1.0</version> <!-- USPS Webtools API Services --> <service name="uspsRateInquire" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsRateInquire" auth="false"> <implements service="calcShipmentEstimateInterface"/> </service> <service name="uspsInternationalRateInquire" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsInternationalRateInquire" auth="false"> <implements service="calcShipmentEstimateInterface"/> </service> <service name="uspsTrackConfirm" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsTrackConfirm"> <attribute name="trackingId" type="String" mode="IN" optional="false"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="trackingSummary" type="String" mode="OUT" optional="false"/> <attribute name="trackingDetailList" type="List" mode="OUT" optional="true"/> </service> <service name="uspsAddressValidation" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsAddressValidation"> <attribute name="firmName" type="String" mode="INOUT" optional="true"/> <attribute name="address1" type="String" mode="INOUT" optional="false"/> <attribute name="address2" type="String" mode="INOUT" optional="true"/> <attribute name="city" type="String" mode="INOUT" optional="true"/> <attribute name="state" type="String" mode="INOUT" optional="true"/> <attribute name="zip5" type="String" mode="INOUT" optional="true"/> <attribute name="zip4" type="String" mode="INOUT" optional="true"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="returnText" type="String" mode="OUT" optional="true"/> </service> <service name="uspsCityStateLookup" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsCityStateLookup"> <attribute name="zip5" type="String" mode="IN" optional="false"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="city" type="String" mode="OUT" optional="false"/> <attribute name="state" type="String" mode="OUT" optional="false"/> </service> <service name="uspsPriorityMailStandard" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsPriorityMailStandard"> <attribute name="originZip" type="String" mode="IN" optional="false"/> <attribute name="destinationZip" type="String" mode="IN" optional="false"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="days" type="String" mode="OUT" optional="false"/> </service> <service name="uspsPackageServicesStandard" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsPackageServicesStandard"> <attribute name="originZip" type="String" mode="IN" optional="false"/> <attribute name="destinationZip" type="String" mode="IN" optional="false"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="days" type="String" mode="OUT" optional="false"/> </service> <service name="uspsDomesticRate" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsDomesticRate"> <attribute name="service" type="String" mode="IN" optional="false"/> <attribute name="originZip" type="String" mode="IN" optional="false"/> <attribute name="destinationZip" type="String" mode="IN" optional="false"/> <attribute name="pounds" type="String" mode="IN" optional="false"/> <attribute name="ounces" type="String" mode="IN" optional="false"/> <attribute name="container" type="String" mode="IN" optional="true"/> <attribute name="size" type="String" mode="IN" optional="true"/> <attribute name="machinable" type="String" mode="IN" optional="true"/> <attribute name="shipmentGatewayConfigId" type="String" mode="IN" optional="false"/> <attribute name="configProps" type="String" mode="IN" optional="false"/> <attribute name="zone" type="String" mode="OUT" optional="false"/> <attribute name="postage" type="String" mode="OUT" optional="false"/> <attribute name="restrictionCodes" type="String" mode="OUT" optional="true"/> <attribute name="restrictionDesc" type="String" mode="OUT" optional="true"/> </service> <service name="uspsUpdateShipmentRateInfo" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsUpdateShipmentRateInfo"> <auto-attributes entity-name="ShipmentRouteSegment" include="pk" mode="IN" optional="false"/> </service> <service name="uspsDeliveryConfirmation" engine="java" location="org.ofbiz.shipment.thirdparty.usps.UspsServices" invoke="uspsDeliveryConfirmation"> <auto-attributes entity-name="ShipmentRouteSegment" include="pk" mode="IN" optional="false"/> </service> </services> |