feat: add invoice and alternative_componen management functionality
This commit is contained in:
16
internal/models/responses/invoice_response.go
Normal file
16
internal/models/responses/invoice_response.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package responses
|
||||
|
||||
type CreateInvoiceResponse struct {
|
||||
ID int64 `json:"id"`
|
||||
InvoiceCode string `json:"invoiceCode"`
|
||||
}
|
||||
|
||||
type UpdateInvoiceResponse struct {
|
||||
ID int64 `json:"id"`
|
||||
InvoiceCode string `json:"invoiceCode"`
|
||||
Type string `json:"type"`
|
||||
Status string `json:"status"`
|
||||
InvoiceConfigID int64 `json:"invoiceConfigId"`
|
||||
TotalItems int32 `json:"totalItems"`
|
||||
Note string `json:"note"`
|
||||
}
|
||||
Reference in New Issue
Block a user