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