Skip to content

Commit

Permalink
Merge pull request #176 from getlago/feat-wallet-rename-trigger
Browse files Browse the repository at this point in the history
feat(wallet): Rename wallet rule_type into trigger
  • Loading branch information
rsempe authored May 16, 2024
2 parents d3fff09 + de982bf commit ee2b9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ const (

type RecurringTransactionRuleInput struct {
LagoID uuid.UUID `json:"lago_id,omitempty"`
RuleType string `json:"rule_type,omitempty"`
Interval string `json:"interval,omitempty"`
ThresholdCredits string `json:"threshold_credits,omitempty"`
Trigger string `json:"trigger,omitempty"`
PaidCredits string `json:"paid_credits,omitempty"`
GrantedCredits string `json:"granted_credits,omitempty"`
}

type RecurringTransactionRuleResponse struct {
LagoID uuid.UUID `json:"lago_id,omitempty"`
RuleType string `json:"rule_type,omitempty"`
Interval string `json:"interval,omitempty"`
ThresholdCredits string `json:"threshold_credits,omitempty"`
Trigger string `json:"trigger,omitempty"`
PaidCredits string `json:"paid_credits,omitempty"`
GrantedCredits string `json:"granted_credits,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
Expand Down

0 comments on commit ee2b9a7

Please sign in to comment.