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