bancolombia

package module
v0.0.0-...-af28fef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvestmentFund

type InvestmentFund struct {
	InvestmentFundBasicInfo
	Score         string `json:"calificacion"`
	Term          string `json:"plazo"`
	UnitValue     money  `json:"valorDeUnidad"`
	CurrentValue  money  `json:"valorEnPesos"`
	Profitability struct {
		Days struct {
			WeeklyPercentage   percentage `json:"semanal"`
			MonthlyPercentage  percentage `json:"mensual"`
			SemesterPercentage percentage `json:"semestral"`
		} `json:"dias"`
		Years struct {
			Current        percentage `json:"anioCorrido"`
			LastYear       percentage `json:"ultimoAnio"`
			LastTwoYears   percentage `json:"ultimos2Anios"`
			LastThreeYears percentage `json:"ultimos3Anios"`
		} `json:"anios"`
	} `json:"rentabilidad"`
	ClosingDate   date   `json:"fechaCierre"`
	Administrator string `json:"sociedadAdministradora"`
}

func GetInvestmentFundById

func GetInvestmentFundById(fundId InvestmentFundId) (InvestmentFund, error)

type InvestmentFundBasicInfo

type InvestmentFundBasicInfo struct {
	Nit  InvestmentFundId `json:"nit"`
	Name string           `json:"nombre"`
}

func GetAvailableInvestmentFundsBasicInfo

func GetAvailableInvestmentFundsBasicInfo() ([]InvestmentFundBasicInfo, error)

type InvestmentFundId

type InvestmentFundId string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL