Exemple #1
0
 public System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraResponse> PaymentRequestWithExtraAsync(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL)
 {
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest();
     inValue.Body                = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequestBody();
     inValue.Body.MerchantID     = MerchantID;
     inValue.Body.Amount         = Amount;
     inValue.Body.Description    = Description;
     inValue.Body.AdditionalData = AdditionalData;
     inValue.Body.Email          = Email;
     inValue.Body.Mobile         = Mobile;
     inValue.Body.CallbackURL    = CallbackURL;
     return(((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtraAsync(inValue));
 }
Exemple #2
0
 public int PaymentRequestWithExtra(string MerchantID, int Amount, string Description, string AdditionalData, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest inValue = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest();
     inValue.Body                = new ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequestBody();
     inValue.Body.MerchantID     = MerchantID;
     inValue.Body.Amount         = Amount;
     inValue.Body.Description    = Description;
     inValue.Body.AdditionalData = AdditionalData;
     inValue.Body.Email          = Email;
     inValue.Body.Mobile         = Mobile;
     inValue.Body.CallbackURL    = CallbackURL;
     ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraResponse retVal = ((ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestWithExtra(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Exemple #3
0
 System.Threading.Tasks.Task <ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraResponse> ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtraAsync(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtraAsync(request));
 }
Exemple #4
0
 ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraResponse ZarinPal_MVC_Test.ZarinPalTest.PaymentGatewayImplementationServicePortType.PaymentRequestWithExtra(ZarinPal_MVC_Test.ZarinPalTest.PaymentRequestWithExtraRequest request)
 {
     return(base.Channel.PaymentRequestWithExtra(request));
 }