15 lines
407 B
Go
15 lines
407 B
Go
package models
|
|
|
|
import dataserviceapi "github.com/grassrootseconomics/ussd-data-service/pkg/api"
|
|
|
|
type VoucherHoldingResponse struct {
|
|
Ok bool `json:"ok"`
|
|
Description string `json:"description"`
|
|
Result VoucherResult `json:"result"`
|
|
}
|
|
|
|
// VoucherResult holds the list of token holdings
|
|
type VoucherResult struct {
|
|
Holdings []dataserviceapi.TokenHoldings `json:"holdings"`
|
|
}
|