Closed Nico-VanHaaster closed 1 year ago
The API spec calls for a ChargeModel of "volumme" however the ChargeModel type does not have a valid "Volume" type.
Although "volume" is a valid ChargeModel value (as the type is a string) it would be nice it was referenced by an enum value.
Code Link: https://github.com/getlago/lago-go-client/blob/20f7c3140791dd566ea74125386d57f808983150/charge.go#L9-L16
Hi @Nico-VanHaaster,
Thank you for reporting this issue.
Indeed, the volume charge model is missing in the current list. I've opened a fix, it will probably be part of the next release.
volume
The API spec calls for a ChargeModel of "volumme" however the ChargeModel type does not have a valid "Volume" type.
Although "volume" is a valid ChargeModel value (as the type is a string) it would be nice it was referenced by an enum value.
Code Link: https://github.com/getlago/lago-go-client/blob/20f7c3140791dd566ea74125386d57f808983150/charge.go#L9-L16