pstds-proto/proto/event.thrift

23 lines
411 B
Thrift
Raw Normal View History

2020-08-27 11:04:25 +00:00
namespace java com.rbkmoney.pstds.event
namespace erlang pstds_event
include "base.thrift"
struct Event {
2: required base.Timestamp occured_at
3: required Change change
}
union Change {
1: TokenCreated token_created
2: StatusChanged status_changed
}
struct TokenCreated {
2020-08-31 16:07:07 +00:00
1: base.PaymentSystemTokenData token_data
2020-08-27 11:04:25 +00:00
}
struct StatusChanged {
2: required base.TokenStatus new_status
}