Skip to content

Commit

Permalink
fix subscription object json
Browse files Browse the repository at this point in the history
  • Loading branch information
ppone committed Feb 1, 2022
1 parent 242de54 commit d66366b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ type SubscriptionRequest struct {
ContractPeriodStart *int64 `json:"contract_period_start,omitempty"`
ContractRenewalCycles *int64 `json:"contract_renewal_cycles,omitempty"`
ContractRenewalMode *string `json:"contract_renewal_mode,omitempty"`
Customer *int64 `json:"-"`
Customer *int64 `json:"customer,omitempty"`
Cycles *int64 `json:"cycles,omitempty"`
Discounts []*DiscountRequest `json:"discount,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Paused *bool `json:"paused"`
Paused *bool `json:"paused,omitempty"`
PeriodEnd *int64 `json:"period_end,omitempty"`
Plan *string `json:"-"`
Plan *string `json:"plan,omitempty"`
Prorate *bool `json:"prorate,omitempty"`
ProrationDate *int64 `json:"proration_date,omitempty"`
Quantity *float64 `json:"quantity,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package invoiced

const version = "2.0.0"
const version = "2.0.2"

func Version() string {
return version
Expand Down

0 comments on commit d66366b

Please sign in to comment.