package config

type EzShip struct {
	ApiToken string `mapstructure:"EZSHIP_API_TOKEN"`
	BaseURL string `mapstructure:"EZSHIP_BASE_URL"`
}

func (c *configImpl) GetEzShipConfig() EzShip {
	return c.systemConfig.EzShip
}

func (c *configImpl) setDefaultEzShipConfig() {
	c.viper.SetDefault("EZSHIP_API_TOKEN", "sand_d5lEUfyre6vXaL7xhWowrxzeQOszPA8C+HbhOY49i9E=")
	c.viper.SetDefault("EZSHIP_BASE_URL", "https://api.easyship.com")
}
