瀏覽代碼

Add issued at field

Mauricio Araujo 2 年之前
父節點
當前提交
dd9d619b42
共有 1 個文件被更改,包括 1 次插入7 次删除
  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.
 type Invoice struct {
 	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"`
-	Subtotal        float64         `json:"subtotal"`
-	Total           float64         `json:"total"`
-	Type            string          `json:"type"`
+	IssuedAt        string          `json:"issued_at"`
 	ExternalInvoice ExternalInvoice `json:"external_invoice"`
 }