package measure

type BillingMeasure struct {
	TenantID      uint64            `json:"tenant_id"`
	CostID        string            `json:"cost_id"`
	Cost          int64             `json:"cost"`
	CostTimestamp int64             `json:"cost_time_stamp"`
	Labels        map[string]string `json:"labels"`
	Unit          string            `json:"unit"`
}

type MeasureSQS interface {
	//init sqs for send measure to sqs.
	InitMeasureSqsHandler(env string, url string) error
	//send Measure
	SendMeasure(billingMeasure BillingMeasure) error
	//check Measure
	CheckMeasure(billingMeasure BillingMeasure) error
}
