Răsfoiți Sursa

Add issued at field

Mauricio Araujo 2 ani în urmă
părinte
comite
d45cb2dce0
1 a modificat fișierele cu 1 adăugiri și 7 ștergeri
  1. 1 7
      api/types/billing_metronome.go

+ 1 - 7
api/types/billing_metronome.go

@@ -207,14 +207,8 @@ type ListCustomerInvoicesRequest struct {
 // Invoice represents a Metronome invoice.
 // Invoice represents a Metronome invoice.
 type Invoice struct {
 type Invoice struct {
 	ID              uuid.UUID       `json:"id"`
 	ID              uuid.UUID       `json:"id"`
-	CustomerID      uuid.UUID       `json:"customer_id"`
-	CreditType      CreditType      `json:"credit_type"`
-	StartTimestamp  string          `json:"start_timestamp"`
-	EndTimestamp    string          `json:"end_timestamp"`
 	Status          string          `json:"status"`
 	Status          string          `json:"status"`
-	Subtotal        float64         `json:"subtotal"`
-	Total           float64         `json:"total"`
-	Type            string          `json:"type"`
+	IssuedAt        string          `json:"issued_at"`
 	ExternalInvoice ExternalInvoice `json:"external_invoice"`
 	ExternalInvoice ExternalInvoice `json:"external_invoice"`
 }
 }