mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 01:35:19 +00:00
parent
da17a84b84
commit
a2f3317fa7
@ -1,6 +1,5 @@
|
||||
include "base.thrift"
|
||||
include "domain.thrift"
|
||||
include "user_interaction.thrift"
|
||||
|
||||
namespace java dev.vality.damsel.webhooker
|
||||
namespace erlang dmsl.webhooker
|
||||
@ -104,10 +103,17 @@ struct InvoicePaymentRefundStatusChanged {
|
||||
}
|
||||
|
||||
struct InvoicePaymentUserInteractionChange {
|
||||
1: required user_interaction.UserInteraction user_interaction
|
||||
2: required user_interaction.Status status
|
||||
1: required UserInteractionStatus status
|
||||
}
|
||||
|
||||
union UserInteractionStatus {
|
||||
1: UserInteractionStatusRequested requested
|
||||
2: UserInteractionStatusCompleted completed
|
||||
}
|
||||
|
||||
struct UserInteractionStatusRequested {}
|
||||
struct UserInteractionStatusCompleted {}
|
||||
|
||||
union InvoicePaymentStatus {
|
||||
1: InvoicePaymentPending pending
|
||||
4: InvoicePaymentProcessed processed
|
||||
|
Loading…
Reference in New Issue
Block a user