-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcontract_term.go
More file actions
36 lines (31 loc) · 1.78 KB
/
Copy pathcontract_term.go
File metadata and controls
36 lines (31 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by sdk-generator; DO NOT EDIT.
package chargebee
type ContractTermStatus string
const (
ContractTermStatusActive ContractTermStatus = "active"
ContractTermStatusCompleted ContractTermStatus = "completed"
ContractTermStatusCancelled ContractTermStatus = "cancelled"
ContractTermStatusTerminated ContractTermStatus = "terminated"
)
type ContractTermActionAtTermEnd string
const (
ContractTermActionAtTermEndRenew ContractTermActionAtTermEnd = "renew"
ContractTermActionAtTermEndEvergreen ContractTermActionAtTermEnd = "evergreen"
ContractTermActionAtTermEndCancel ContractTermActionAtTermEnd = "cancel"
ContractTermActionAtTermEndRenewOnce ContractTermActionAtTermEnd = "renew_once"
)
type ContractTerm struct {
Id string `json:"id"`
Status ContractTermStatus `json:"status"`
ContractStart int64 `json:"contract_start"`
ContractEnd int64 `json:"contract_end"`
BillingCycle int32 `json:"billing_cycle"`
ActionAtTermEnd ContractTermActionAtTermEnd `json:"action_at_term_end"`
TotalContractValue int64 `json:"total_contract_value"`
TotalContractValueBeforeTax int64 `json:"total_contract_value_before_tax"`
CancellationCutoffPeriod int32 `json:"cancellation_cutoff_period"`
CreatedAt int64 `json:"created_at"`
SubscriptionId string `json:"subscription_id"`
RemainingBillingCycles int32 `json:"remaining_billing_cycles"`
Object string `json:"object"`
}