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 WithoutSSL() { this.Secure = false; this.validations = null; this.redemptions = null; this.events = null; this.promotions = null; this.consents = null; this.customers = null; return(this); }
public Api WithPort(int?port) { this.Port = port; 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 ?? Core.Constants.HostApi) + "/v1"; this.validations = null; this.redemptions = null; this.events = null; this.promotions = null; this.consents = null; this.customers = null; return(this); }
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 WithEndpoint(string endpoint) { this.Endpoint = endpoint; this.vouchers = null; this.redemptions = null; if (endpoint == null) { this.Endpoint = Core.Constants.EndpointApi; } 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); }