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