-
Notifications
You must be signed in to change notification settings - Fork 4
/
counterparty_adjustment_service.go
30 lines (28 loc) · 1.34 KB
/
counterparty_adjustment_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
package moysklad
// CounterPartyAdjustmentService
// Сервис для работы с корректировками баланса контрагента.
type CounterPartyAdjustmentService struct {
endpointGetList[CounterPartyAdjustment]
endpointCreate[CounterPartyAdjustment]
endpointCreateUpdateDeleteMany[CounterPartyAdjustment]
endpointDelete
endpointGetById[CounterPartyAdjustment]
endpointUpdate[CounterPartyAdjustment]
endpointMetadata[MetadataAttributeSharedStates]
endpointNamedFilter
endpointRemove
}
func NewCounterPartyAdjustmentService(client *Client) *CounterPartyAdjustmentService {
e := NewEndpoint(client, "entity/counterpartyadjustment")
return &CounterPartyAdjustmentService{
endpointGetList: endpointGetList[CounterPartyAdjustment]{e},
endpointCreate: endpointCreate[CounterPartyAdjustment]{e},
endpointCreateUpdateDeleteMany: endpointCreateUpdateDeleteMany[CounterPartyAdjustment]{e},
endpointDelete: endpointDelete{e},
endpointGetById: endpointGetById[CounterPartyAdjustment]{e},
endpointUpdate: endpointUpdate[CounterPartyAdjustment]{e},
endpointMetadata: endpointMetadata[MetadataAttributeSharedStates]{e},
endpointNamedFilter: endpointNamedFilter{e},
endpointRemove: endpointRemove{e},
}
}