Example #1
0
 public System.Threading.Tasks.Task<Mishavad_API.Zarinpal.PaymentVerificationResponse> PaymentVerificationAsync(string MerchantID, string Authority, int Amount) {
     Mishavad_API.Zarinpal.PaymentVerificationRequest inValue = new Mishavad_API.Zarinpal.PaymentVerificationRequest();
     inValue.Body = new Mishavad_API.Zarinpal.PaymentVerificationRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority = Authority;
     inValue.Body.Amount = Amount;
     return ((Mishavad_API.Zarinpal.PaymentGatewayImplementationServicePortType)(this)).PaymentVerificationAsync(inValue);
 }
Example #2
0
 public int PaymentVerification(string MerchantID, string Authority, int Amount, out long RefID) {
     Mishavad_API.Zarinpal.PaymentVerificationRequest inValue = new Mishavad_API.Zarinpal.PaymentVerificationRequest();
     inValue.Body = new Mishavad_API.Zarinpal.PaymentVerificationRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority = Authority;
     inValue.Body.Amount = Amount;
     Mishavad_API.Zarinpal.PaymentVerificationResponse retVal = ((Mishavad_API.Zarinpal.PaymentGatewayImplementationServicePortType)(this)).PaymentVerification(inValue);
     RefID = retVal.Body.RefID;
     return retVal.Body.Status;
 }
Example #3
0
 System.Threading.Tasks.Task<Mishavad_API.Zarinpal.PaymentVerificationResponse> Mishavad_API.Zarinpal.PaymentGatewayImplementationServicePortType.PaymentVerificationAsync(Mishavad_API.Zarinpal.PaymentVerificationRequest request) {
     return base.Channel.PaymentVerificationAsync(request);
 }
Example #4
0
 Mishavad_API.Zarinpal.PaymentVerificationResponse Mishavad_API.Zarinpal.PaymentGatewayImplementationServicePortType.PaymentVerification(Mishavad_API.Zarinpal.PaymentVerificationRequest request) {
     return base.Channel.PaymentVerification(request);
 }