Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FxRates ¶
type FxRates struct {
Rates Rates `json:"rates"`
}
FxRates struct to hold the exchange rates.
type GroupOne ¶
GroupOne struct for the OutputSummary struct which holds the date and total work hours.
type Invoice ¶
type Invoice struct { Date string Id string HourlyRate float64 SubTotal float64 PayoneerFee float64 GrandTotal float64 WorkLog []WorkLog }
Invoice struct to hold the invoice details.
type OutputSummary ¶
OutputSummary struct to hold the response from the summary report API.
type Rates ¶
type Rates struct {
PHP float64 `json:"PHP"`
}
Rates struct to hold the PHP exchange rate.
type SummaryFilter ¶
type SummaryFilter struct {
Groups []string `json:"groups"`
}
SummaryFilter struct to hold the summary filter.
type SummaryReport ¶
type SummaryReport struct { DateRangeStart string `json:"dateRangeStart"` DateRangeEnd string `json:"dateRangeEnd"` SortOrder string `json:"sortOrder"` ExportType string `json:"exportType"` AmountShown string `json:"amountShown"` SummaryFilter SummaryFilter `json:"summaryFilter"` Users Users `json:"users"` }
SummaryReport struct to hold the summary report payload.
type Total ¶
type Total struct {
TotalTime int `json:"totalTime"`
}
Total struct for the OutputSummary struct which holds the total work hours.
Click to show internal directories.
Click to hide internal directories.