Esempio n. 1
0
 public System.Threading.Tasks.Task <ClassicTour_vtemp.zarinpal.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL)
 {
     ClassicTour_vtemp.zarinpal.PaymentRequestRequest inValue = new ClassicTour_vtemp.zarinpal.PaymentRequestRequest();
     inValue.Body             = new ClassicTour_vtemp.zarinpal.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(((ClassicTour_vtemp.zarinpal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue));
 }
Esempio n. 2
0
 public int PaymentRequest(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     ClassicTour_vtemp.zarinpal.PaymentRequestRequest inValue = new ClassicTour_vtemp.zarinpal.PaymentRequestRequest();
     inValue.Body             = new ClassicTour_vtemp.zarinpal.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;
     ClassicTour_vtemp.zarinpal.PaymentRequestResponse retVal = ((ClassicTour_vtemp.zarinpal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequest(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <ClassicTour_vtemp.zarinpal.PaymentRequestResponse> ClassicTour_vtemp.zarinpal.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(ClassicTour_vtemp.zarinpal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequestAsync(request));
 }
Esempio n. 4
0
 ClassicTour_vtemp.zarinpal.PaymentRequestResponse ClassicTour_vtemp.zarinpal.PaymentGatewayImplementationServicePortType.PaymentRequest(ClassicTour_vtemp.zarinpal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequest(request));
 }