mirror of
https://github.com/valitydev/provider-disputes-proto.git
synced 2024-11-06 02:05:21 +00:00
add PaymentStatusResult
This commit is contained in:
parent
04cd488db2
commit
38cc0c13df
@ -11,7 +11,7 @@ service ProviderDisputesService {
|
||||
|
||||
DisputeStatusResult CheckDisputeStatus (1: DisputeContext disputeContext)
|
||||
|
||||
bool IsPaymentSuccess (1: TransactionContext disputeContext)
|
||||
PaymentStatusResult CheckPaymentStatus (1: TransactionContext disputeContext)
|
||||
|
||||
}
|
||||
|
||||
@ -77,3 +77,8 @@ struct Cash {
|
||||
1: required domain.Amount amount
|
||||
2: required domain.Currency currency
|
||||
}
|
||||
|
||||
struct PaymentStatusResult {
|
||||
1: required bool success
|
||||
2: optional domain.Amount changedAmount
|
||||
}
|
||||
|
@ -13,7 +13,5 @@ service ProviderDisputesCallbackService {
|
||||
struct DisputeCallbackParams {
|
||||
1: optional ID invoiceId
|
||||
2: optional ID paymentId
|
||||
3: optional ID providerTrxId
|
||||
4: optional ProviderDisputeID providerDisputeID
|
||||
5: optional DisputeID disputeID
|
||||
3: optional DisputeID disputeID
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user