Documentation
¶
Index ¶
Constants ¶
View Source
const ( DailyRolling Type = "daily-rolling" WeeklyAnchored = "weekly-anchored" MonthlyAnchored = "monthly-anchored" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schedule ¶
type Schedule struct {
Type Type `json:"type"`
Period int `json:"period"` // DailyRolling: number of days of payment latency
WeeklyAnchor string `json:"weeklyAnchor,omitempty"` // WeeklyAnchored: day of the week when the payout should occur
MonthlyAnchor int `json:"monthlyAnchor,omitempty"` // MonthlyAnchored: day of the month when the payout should occur
}
Click to show internal directories.
Click to hide internal directories.