Example #1
0
 public System.Threading.Tasks.Task <WebApp.ZarinPal.RefreshAuthorityResponse> RefreshAuthorityAsync(string MerchantID, string Authority, int ExpireIn)
 {
     WebApp.ZarinPal.RefreshAuthorityRequest inValue = new WebApp.ZarinPal.RefreshAuthorityRequest();
     inValue.Body            = new WebApp.ZarinPal.RefreshAuthorityRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority  = Authority;
     inValue.Body.ExpireIn   = ExpireIn;
     return(((WebApp.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).RefreshAuthorityAsync(inValue));
 }
Example #2
0
 public int RefreshAuthority(string MerchantID, string Authority, int ExpireIn)
 {
     WebApp.ZarinPal.RefreshAuthorityRequest inValue = new WebApp.ZarinPal.RefreshAuthorityRequest();
     inValue.Body            = new WebApp.ZarinPal.RefreshAuthorityRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority  = Authority;
     inValue.Body.ExpireIn   = ExpireIn;
     WebApp.ZarinPal.RefreshAuthorityResponse retVal = ((WebApp.ZarinPal.PaymentGatewayImplementationServicePortType)(this)).RefreshAuthority(inValue);
     return(retVal.Body.Status);
 }
Example #3
0
 System.Threading.Tasks.Task <WebApp.ZarinPal.RefreshAuthorityResponse> WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.RefreshAuthorityAsync(WebApp.ZarinPal.RefreshAuthorityRequest request)
 {
     return(base.Channel.RefreshAuthorityAsync(request));
 }
Example #4
0
 WebApp.ZarinPal.RefreshAuthorityResponse WebApp.ZarinPal.PaymentGatewayImplementationServicePortType.RefreshAuthority(WebApp.ZarinPal.RefreshAuthorityRequest request)
 {
     return(base.Channel.RefreshAuthority(request));
 }