syntax = "proto3"; package bet.beteran.ss.member_settlement_setting; import "models/core/network.proto"; import "protobuf/rpc.proto"; import "protobuf/pagination.proto"; import "models/member_settlement_setting.proto"; // subject = bet.beteran.ss.member_settlement_setting.CreateMemberSettlementSetting message CreateMemberSettlementSettingRequest { message Request { string member_id = 1; bool can_exchange = 2; bool can_first_charge_comp = 3; bool can_per_charge_comp = 4; bet.beteran.member_settlement_setting.SettlementType settlement_type = 5; bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6; double rate_casino = 7; double rate_casino_loosing = 8; double rate_casino_bacara = 9; double rate_casino_roulette = 10; double rate_casino_dragon_tiger = 11; double rate_slot = 12; double rate_slot_loosing = 13; double rate_powerball_single = 14; double rate_powerball_combo = 15; double rate_powerladder_single = 16; double rate_powerladder_combo = 17; double rate_eos_single = 18; double rate_eos_combo = 19; double rate_bogglepowerball_single = 20; double rate_bogglepowerball_combo = 21; } bet.beteran.core.network.Client client = 1; Request request = 2; } message CreateMemberSettlementSettingResponse { message Result { bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } // subject = bet.beteran.ss.member_settlement_setting.ListMemberSettlementSettings message ListMemberSettlementSettingsRequest { message Request { message Search { optional string member_id = 1; } optional bet.protobuf.pagination.Pagination pagination = 1; repeated bet.protobuf.pagination.Sort sorts = 2; optional Search search = 3; } bet.beteran.core.network.Client client = 1; Request request = 2; } message ListMemberSettlementSettingsResponse { message Result { repeated bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_settings = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } // subject = bet.beteran.ss.member_settlement_setting.GetMemberSettlementSetting message GetMemberSettlementSettingRequest { message Request { string id = 1; } bet.beteran.core.network.Client client = 1; Request request = 2; } message GetMemberSettlementSettingResponse { message Result { bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } // subject = bet.beteran.ss.member_settlement_setting.UpdateMemberSettlementSetting message UpdateMemberSettlementSettingRequest { message Request { string id = 1; bool can_exchange = 2; bool can_first_charge_comp = 3; bool can_per_charge_comp = 4; bet.beteran.member_settlement_setting.SettlementType settlement_type = 5; bet.beteran.member_settlement_setting.ManualPaymentType manual_payment_type_for_partner = 6; double rate_casino = 7; double rate_casino_loosing = 8; double rate_casino_bacara = 9; double rate_casino_roulette = 10; double rate_casino_dragon_tiger = 11; double rate_slot = 12; double rate_slot_loosing = 13; double rate_powerball_single = 14; double rate_powerball_combo = 15; double rate_powerladder_single = 16; double rate_powerladder_combo = 17; double rate_eos_single = 18; double rate_eos_combo = 19; double rate_bogglepowerball_single = 20; double rate_bogglepowerball_combo = 21; } bet.beteran.core.network.Client client = 1; Request request = 2; } message UpdateMemberSettlementSettingResponse { message Result { bet.beteran.member_settlement_setting.MemberSettlementSetting member_settlement_setting = 1; } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } // subject = bet.beteran.ss.member_settlement_setting.DeleteMemberSettlementSetting message DeleteMemberSettlementSettingRequest { message Request { string id = 1; } bet.beteran.core.network.Client client = 1; Request request = 2; } message DeleteMemberSettlementSettingResponse { message Result { } optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; }