mirror of
https://github.com/valitydev/provider-disputes-proto.git
synced 2024-11-06 02:05:21 +00:00
add ProviderDisputesCallbackAdminManagementService
This commit is contained in:
parent
26258b3cdc
commit
cba411fb91
@ -10,8 +10,26 @@ service ProviderDisputesCallbackService {
|
||||
|
||||
}
|
||||
|
||||
service ProviderDisputesCallbackAdminManagementService {
|
||||
|
||||
void Cancel (1: CancelParamsRequest cancelParamsRequest)
|
||||
|
||||
void Approve (1: ApproveParamsRequest approveParamsRequest)
|
||||
|
||||
}
|
||||
|
||||
struct DisputeCallbackParams {
|
||||
1: optional ID invoiceId
|
||||
2: optional ID paymentId
|
||||
3: optional DisputeID disputeID
|
||||
}
|
||||
|
||||
struct CancelParamsRequest {
|
||||
1: required bool cancelAll
|
||||
2: optional list<ID> ids
|
||||
}
|
||||
|
||||
struct ApproveParamsRequest {
|
||||
1: required bool approveAll
|
||||
2: optional list<ID> ids
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user