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)); }
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); }
System.Threading.Tasks.Task <ZarinPay.Zarin.RefreshAuthorityResponse> ZarinPay.Zarin.PaymentGatewayImplementationServicePortType.RefreshAuthorityAsync(ZarinPay.Zarin.RefreshAuthorityRequest request) { return(base.Channel.RefreshAuthorityAsync(request)); }
ZarinPay.Zarin.RefreshAuthorityResponse ZarinPay.Zarin.PaymentGatewayImplementationServicePortType.RefreshAuthority(ZarinPay.Zarin.RefreshAuthorityRequest request) { return(base.Channel.RefreshAuthority(request)); }