syntax = "proto2";
package WithdrawalCmd;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "WithdrawalCmd";


//提取现金申请 主播
message liveExpenseWithdrawCash {
  optional double amount = 1;
  optional int32 expenseType = 2;//提现方式类型
  optional string channelType = 3;//提现渠道
  optional string countryId = 4; //收款国家代号
  optional string name = 5;//姓名
  optional string phoneNumber = 6;//手机号
  optional string email = 7;//邮箱

  optional string bankAccount = 8;//银行账号
  optional string bankCode = 9;//银行编码
  optional string bankName = 10;//银行名称
  optional string bankAddress = 11;//银行地址

  optional string blockchainAddress = 12;//虚拟币区块链地址
  optional string blockchainProvider = 13;//虚拟币区块链服务商


}

//提现方式列表 WithdrawalResult.WithdrawalMethodList
message getWithdrawalMethodList {

}

//提现方式列表
//返回结果根据提现方式类型不一样而不一样
// 1:USDT 返回 WithdrawalResult.WithdrawalChannelList
// 2:E-wallet 返回 WithdrawalResult.WithdrawalChannelList
// 3:人工代发 返回 WithdrawalResult.ArtificialWithdrawalChannelList
message getWithdrawalChannelList {
  optional int32 expenseType = 1;//提现方式类型
}