mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
2903ab2540
* PROX-25: Merchant proxy interface (#98) * PROX-25: fixed syntax bug * PROX-25: fixed syntax bug. v.2 * PROX-25: fixed syntax bug. v.3 * change secrets to string * PROX-25: Renamed thrift file, fixed camelcase, removed interface for HG * PROX-25: created new file with interface for HG * PROX-25: renamed method, added context param to sendCallback method * PROX-25: removed unused struct * PROX-25: added exception for createOptions * Added exception to renderOptions * Deleted proxy_merch.thrift, camelCase fixed to PascalCase
19 lines
585 B
Thrift
19 lines
585 B
Thrift
include "base.thrift"
|
|
include "domain.thrift"
|
|
|
|
namespace java com.rbkmoney.damsel.proxy_merch_config
|
|
namespace erlang proxy_merch_config
|
|
|
|
struct MerchantProxyParams {
|
|
1: required string callback_url
|
|
}
|
|
|
|
struct MerchantProxyConfiguration {
|
|
1: required string callback_url
|
|
2: required string pub_key
|
|
}
|
|
|
|
service ConfigureMerchantProxy {
|
|
domain.ProxyOptions CreateOptions(1: MerchantProxyParams merchant_proxy_params) throws (1: base.InvalidRequest ex1)
|
|
MerchantProxyConfiguration RenderOptions(1: domain.ProxyOptions proxy_options) throws (1: base.InvalidRequest ex1)
|
|
} |