Added Subscription missing field for LastInvoice (#16111)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
31dac80e66
Коммит
5b8b792c4c
@@ -73,16 +73,17 @@ type PaymentMethod struct {
|
|||||||
|
|
||||||
// Subscription model represents a subscription on the system.
|
// Subscription model represents a subscription on the system.
|
||||||
type Subscription struct {
|
type Subscription struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
CustomerID string `json:"customer_id"`
|
CustomerID string `json:"customer_id"`
|
||||||
ProductID string `json:"product_id"`
|
ProductID string `json:"product_id"`
|
||||||
AddOns []string `json:"add_ons"`
|
AddOns []string `json:"add_ons"`
|
||||||
StartAt int64 `json:"start_at"`
|
StartAt int64 `json:"start_at"`
|
||||||
EndAt int64 `json:"end_at"`
|
EndAt int64 `json:"end_at"`
|
||||||
CreateAt int64 `json:"create_at"`
|
CreateAt int64 `json:"create_at"`
|
||||||
Seats int `json:"seats"`
|
Seats int `json:"seats"`
|
||||||
DNS string `json:"dns"`
|
DNS string `json:"dns"`
|
||||||
IsPaidTier string `json:"is_paid_tier"`
|
IsPaidTier string `json:"is_paid_tier"`
|
||||||
|
LastInvoice *Invoice `json:"last_invoice"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Invoice model represents a cloud invoice
|
// Invoice model represents a cloud invoice
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user