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