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