Beispiel #1
0
 public System.Threading.Tasks.Task <AmiamStore.PaymentServiceReference.PayResponse> PayAsync(string holderName, string creditCardNumber, string cvv, string expirityDate, double amountToCharge)
 {
     AmiamStore.PaymentServiceReference.PayRequest inValue = new AmiamStore.PaymentServiceReference.PayRequest();
     inValue.Body                  = new AmiamStore.PaymentServiceReference.PayRequestBody();
     inValue.Body.holderName       = holderName;
     inValue.Body.creditCardNumber = creditCardNumber;
     inValue.Body.cvv              = cvv;
     inValue.Body.expirityDate     = expirityDate;
     inValue.Body.amountToCharge   = amountToCharge;
     return(((AmiamStore.PaymentServiceReference.PaymentWebServiceSoap)(this)).PayAsync(inValue));
 }
Beispiel #2
0
 public bool Pay(string holderName, string creditCardNumber, string cvv, string expirityDate, double amountToCharge)
 {
     AmiamStore.PaymentServiceReference.PayRequest inValue = new AmiamStore.PaymentServiceReference.PayRequest();
     inValue.Body                  = new AmiamStore.PaymentServiceReference.PayRequestBody();
     inValue.Body.holderName       = holderName;
     inValue.Body.creditCardNumber = creditCardNumber;
     inValue.Body.cvv              = cvv;
     inValue.Body.expirityDate     = expirityDate;
     inValue.Body.amountToCharge   = amountToCharge;
     AmiamStore.PaymentServiceReference.PayResponse retVal = ((AmiamStore.PaymentServiceReference.PaymentWebServiceSoap)(this)).Pay(inValue);
     return(retVal.Body.PayResult);
 }
Beispiel #3
0
 System.Threading.Tasks.Task <AmiamStore.PaymentServiceReference.PayResponse> AmiamStore.PaymentServiceReference.PaymentWebServiceSoap.PayAsync(AmiamStore.PaymentServiceReference.PayRequest request)
 {
     return(base.Channel.PayAsync(request));
 }
Beispiel #4
0
 AmiamStore.PaymentServiceReference.PayResponse AmiamStore.PaymentServiceReference.PaymentWebServiceSoap.Pay(AmiamStore.PaymentServiceReference.PayRequest request)
 {
     return(base.Channel.Pay(request));
 }