public Api WithVersion(ApiVersion apiVersion) { this.Version = apiVersion; this.validations = null; this.redemptions = null; this.events = null; this.promotions = null; this.consents = null; this.customers = null; return(this); }
public Api WithHost(string host) { this.Host = host; this.validations = null; this.redemptions = null; this.events = null; this.promotions = null; this.consents = null; this.customers = null; if (host == null) { this.Host = Core.Constants.HostApi; } return(this); }