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)); }
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); }
System.Threading.Tasks.Task <AmiamStore.PaymentServiceReference.PayResponse> AmiamStore.PaymentServiceReference.PaymentWebServiceSoap.PayAsync(AmiamStore.PaymentServiceReference.PayRequest request) { return(base.Channel.PayAsync(request)); }
AmiamStore.PaymentServiceReference.PayResponse AmiamStore.PaymentServiceReference.PaymentWebServiceSoap.Pay(AmiamStore.PaymentServiceReference.PayRequest request) { return(base.Channel.Pay(request)); }