Add new payout tool

This commit is contained in:
Kostya Struga 2022-03-23 16:50:50 +03:00
parent 46a3f27740
commit f3cdd3087f
2 changed files with 16 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<parent>
<groupId>dev.vality</groupId>
<artifactId>library-parent-pom</artifactId>
<version>1.0.0</version>
<version>1.0.2</version>
</parent>
<artifactId>fraudbusters-proto</artifactId>
@ -29,13 +29,13 @@
<dependency>
<groupId>dev.vality.woody</groupId>
<artifactId>woody-thrift</artifactId>
<version>1.0.0</version>
<version>1.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.vality</groupId>
<artifactId>damsel</artifactId>
<version>1.538-5addc41</version>
<version>1.551-df1c52f</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>

View File

@ -249,6 +249,7 @@ union Resource {
1: domain.BankCard bank_card
2: CryptoWallet crypto_wallet
3: DigitalWallet digital_wallet
4: GenericPaymentTool generic
}
struct CryptoWallet {
@ -256,6 +257,18 @@ struct CryptoWallet {
2: required string currency
}
struct GenericPaymentTool {
1: required string id
2: optional Content content
}
/** Набор данных, подлежащий интерпретации согласно типу содержимого. */
struct Content {
/** Тип содержимого, согласно [RFC2046](https://www.ietf.org/rfc/rfc2046) */
1: required string type
2: required binary data
}
/**
* Электронный кошелёк
*/