Skip to content

Commit

Permalink
billing: Add GetTeamsOnPersonalAccountResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
igo95862 committed Jan 19, 2022
1 parent 30f61d1 commit 3e85a8b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions billing_personal_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,15 @@ type UnblockPersonalAccountResponse struct {
type SuspendPersonalAccountResponse struct {
Success bool `json:"success"`
}

type GetTeamsOnPersonalAccountResponse struct {
Teams []GetTeamOnPersonalAccountResponse `json:"teams"`
}

type GetTeamOnPersonalAccountResponse struct {
PersonalAccountId string `json:"personal_account_id"`
TeamId string `json:"team_id"`
TeamUuid string `json:"team_uuid"`
OpenDate time.Time `json:"open_date"`
CloseDate time.Time `json:"close_date,omitempty"`
}

0 comments on commit 3e85a8b

Please sign in to comment.