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