コード例 #1
0
 public System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL)
 {
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest();
     inValue.Body             = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     return(((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue));
 }
コード例 #2
0
 public int PaymentRequest(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest();
     inValue.Body             = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse retVal = ((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequest(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
コード例 #3
0
 System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse> ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequestAsync(request));
 }
コード例 #4
0
 ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestResponse ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequest(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequest(request));
 }