-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaccounting.go
58 lines (54 loc) · 2.02 KB
/
accounting.go
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package sdkgo
type Accounting struct {
TaxRates *TaxRates
Bills *Bills
Invoices *Invoices
LedgerAccounts *LedgerAccounts
InvoiceItems *InvoiceItems
CreditNotes *CreditNotes
Customers *Customers
Suppliers *Suppliers
Payments *Payments
CompanyInfo *CompanyInfo
BalanceSheet *BalanceSheet
ProfitAndLoss *ProfitAndLoss
JournalEntries *JournalEntries
PurchaseOrders *PurchaseOrders
Subsidiaries *Subsidiaries
Locations *Locations
Departments *Departments
Attachments *Attachments
TrackingCategories *TrackingCategories
BillPayments *BillPayments
Expenses *Expenses
AgedDebtors *AgedDebtors
sdkConfiguration sdkConfiguration
}
func newAccounting(sdkConfig sdkConfiguration) *Accounting {
return &Accounting{
sdkConfiguration: sdkConfig,
TaxRates: newTaxRates(sdkConfig),
Bills: newBills(sdkConfig),
Invoices: newInvoices(sdkConfig),
LedgerAccounts: newLedgerAccounts(sdkConfig),
InvoiceItems: newInvoiceItems(sdkConfig),
CreditNotes: newCreditNotes(sdkConfig),
Customers: newCustomers(sdkConfig),
Suppliers: newSuppliers(sdkConfig),
Payments: newPayments(sdkConfig),
CompanyInfo: newCompanyInfo(sdkConfig),
BalanceSheet: newBalanceSheet(sdkConfig),
ProfitAndLoss: newProfitAndLoss(sdkConfig),
JournalEntries: newJournalEntries(sdkConfig),
PurchaseOrders: newPurchaseOrders(sdkConfig),
Subsidiaries: newSubsidiaries(sdkConfig),
Locations: newLocations(sdkConfig),
Departments: newDepartments(sdkConfig),
Attachments: newAttachments(sdkConfig),
TrackingCategories: newTrackingCategories(sdkConfig),
BillPayments: newBillPayments(sdkConfig),
Expenses: newExpenses(sdkConfig),
AgedDebtors: newAgedDebtors(sdkConfig),
}
}