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