mirror of
https://github.com/valitydev/provider-disputes-proto.git
synced 2024-11-06 02:05:21 +00:00
change Amount
This commit is contained in:
parent
c570d94287
commit
e68e409425
@ -15,7 +15,7 @@ service ProviderDisputesService {
|
||||
struct DisputeParams {
|
||||
1: required TransactionContext transactionContext
|
||||
2: required list<Attachment> attachments
|
||||
3: optional Amount amount
|
||||
3: optional Cash cash
|
||||
4: optional string reason
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ struct DisputeCreatedFailResult {
|
||||
}
|
||||
|
||||
struct DisputeStatusSuccessResult {
|
||||
1: optional Amount changedAmount
|
||||
1: optional domain.Amount changedAmount
|
||||
}
|
||||
|
||||
struct DisputeStatusPendingResult {}
|
||||
@ -65,8 +65,7 @@ struct DisputeStatusFailResult {
|
||||
1: required domain.Failure failure
|
||||
}
|
||||
|
||||
struct Amount {
|
||||
1: required domain.Amount value
|
||||
// ISO 4217
|
||||
3: optional string currency
|
||||
struct Cash {
|
||||
1: required domain.Amount amount
|
||||
2: required domain.Currency currency
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user