diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-05 11:49:06 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-05 11:49:06 +0000 |
commit | 6ecc521d85871c1bc0d37927717434edcaccf234 (patch) | |
tree | 71cb219791ac9c910ef8adcb7d2b7ace7d56890d /sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java | |
parent | 09145b638ddca5e5aab648290314163666e3dcc3 (diff) |
Add in shopping cart and extend scenario to talk to payment process. Now needs a revamp to simplify and to allow preconfigured trips to be added to the cart.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@731534 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java')
-rw-r--r-- | sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java b/sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java deleted file mode 100644 index fec3ceb366..0000000000 --- a/sandbox/travelsample/shoppingcart-contribution/src/scatours/travel/TravelBooking.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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. - */ -package scatours.travel; - - -import org.osoa.sca.annotations.Remotable; - -import scatours.common.TripItem; - -/** - * The TravelBooking service interface - */ -@Remotable -public interface TravelBooking { - - String newTrip(); - void addTripItem(String tripId, String id); - void removeTripItem(String tripId, String id); - TripItem[] getTripItems(String tripId); - double getTotalPrice(String tripId); - void purchaseTrip(String tripId); -} |