public Api WithSSL() { this.Secure = true; this.vouchers = null; this.redemptions = null; return(this); }
public Api WithoutSSL() { this.Secure = false; this.vouchers = null; this.redemptions = null; return(this); }
public Api WithEndpoint(string endpoint) { this.Endpoint = endpoint; this.vouchers = null; this.redemptions = null; if (endpoint == null) { this.Endpoint = Core.Constants.EndpointApi; } return(this); }