-
Notifications
You must be signed in to change notification settings - Fork 4
/
invoice_out_service.go
40 lines (38 loc) · 1.65 KB
/
invoice_out_service.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
package moysklad
// InvoiceOutService
// Сервис для работы со счетами покупателей.
type InvoiceOutService struct {
endpointGetList[InvoiceOut]
endpointCreate[InvoiceOut]
endpointCreateUpdateDeleteMany[InvoiceOut]
endpointDelete
endpointGetById[InvoiceOut]
endpointUpdate[InvoiceOut]
endpointTemplate[InvoiceOut]
endpointTemplateBasedOn[InvoiceOut, InvoiceOutTemplateArg]
endpointMetadata[MetadataAttributeSharedStates]
endpointPositions[InvoiceOutPosition]
endpointAttributes
endpointPublication
endpointSyncID[InvoiceOut]
endpointRemove
}
func NewInvoiceOutService(client *Client) *InvoiceOutService {
e := NewEndpoint(client, "entity/invoiceout")
return &InvoiceOutService{
endpointGetList: endpointGetList[InvoiceOut]{e},
endpointCreate: endpointCreate[InvoiceOut]{e},
endpointCreateUpdateDeleteMany: endpointCreateUpdateDeleteMany[InvoiceOut]{e},
endpointDelete: endpointDelete{e},
endpointGetById: endpointGetById[InvoiceOut]{e},
endpointUpdate: endpointUpdate[InvoiceOut]{e},
endpointTemplate: endpointTemplate[InvoiceOut]{e},
endpointTemplateBasedOn: endpointTemplateBasedOn[InvoiceOut, InvoiceOutTemplateArg]{e},
endpointMetadata: endpointMetadata[MetadataAttributeSharedStates]{e},
endpointPositions: endpointPositions[InvoiceOutPosition]{e},
endpointAttributes: endpointAttributes{e},
endpointPublication: endpointPublication{e},
endpointSyncID: endpointSyncID[InvoiceOut]{e},
endpointRemove: endpointRemove{e},
}
}