summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/contributions/creditcard-payment-sdo-contribution/src/main/java/payment/creditcard/CreditCardPayment.java
blob: 5b333648f44f27fd5ad4330cbd2809dc28de642b (plain)
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
package payment.creditcard;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3-b02-
 * Generated source version: 2.1
 * 
 */
@WebService(name = "CreditCardPayment", targetNamespace = "http://www.example.org/CreditCardPayment/")
public interface CreditCardPayment {


    /**
     * 
     * @param amount
     * @param creditCard
     * @return
     *     returns java.lang.String
     */
    @WebMethod(action = "http://www.example.org/CreditCardPayment/authorize")
    @WebResult(name = "Status", targetNamespace = "")
    @RequestWrapper(localName = "authorize", targetNamespace = "http://www.example.org/CreditCardPayment/", className = "payment.creditcard.AuthorizeType")
    @ResponseWrapper(localName = "authorizeResponse", targetNamespace = "http://www.example.org/CreditCardPayment/", className = "payment.creditcard.AuthorizeResponseType")
    public String authorize(
        @WebParam(name = "CreditCard", targetNamespace = "")
        CreditCardDetailsType creditCard,
        @WebParam(name = "Amount", targetNamespace = "")
        float amount);

}