package http_model type GetInvoiceValueRequest struct { Status int `json:"status"` } type InvoiceValue struct { InvoiceValue float64 `json:"invoice_value"` } func NewGetInvoiceValueRequest() *GetInvoiceValueRequest { return new(GetInvoiceValueRequest) } func NewGetInvoiceValueResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(InvoiceValue) return resp }