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