-
Notifications
You must be signed in to change notification settings - Fork 4
/
facture_out_service.go
34 lines (32 loc) · 1.3 KB
/
facture_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
package moysklad
// FactureOutService
// Сервис для работы со счетами-фактурами выданными.
type FactureOutService struct {
endpointGetList[FactureOut]
endpointCreate[FactureOut]
endpointCreateUpdateDeleteMany[FactureOut]
endpointDelete
endpointGetById[FactureOut]
endpointUpdate[FactureOut]
endpointMetadata[MetadataAttributeSharedStates]
endpointAttributes
endpointPublication
endpointSyncID[FactureOut]
endpointRemove
}
func NewFactureOutService(client *Client) *FactureOutService {
e := NewEndpoint(client, "entity/factureout")
return &FactureOutService{
endpointGetList: endpointGetList[FactureOut]{e},
endpointCreate: endpointCreate[FactureOut]{e},
endpointCreateUpdateDeleteMany: endpointCreateUpdateDeleteMany[FactureOut]{e},
endpointDelete: endpointDelete{e},
endpointGetById: endpointGetById[FactureOut]{e},
endpointUpdate: endpointUpdate[FactureOut]{e},
endpointMetadata: endpointMetadata[MetadataAttributeSharedStates]{e},
endpointAttributes: endpointAttributes{e},
endpointPublication: endpointPublication{e},
endpointSyncID: endpointSyncID[FactureOut]{e},
endpointRemove: endpointRemove{e},
}
}