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