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