update_member is modified

This commit is contained in:
병준 박 2022-08-15 04:34:09 +00:00
parent 336ea311d9
commit 8a50bcf897
2 changed files with 56 additions and 23 deletions

View File

@ -654,6 +654,9 @@ export namespace UpdateMemberRequest {
}; };
export class BankAccount extends jspb.Message { export class BankAccount extends jspb.Message {
getId(): string;
setId(value: string): void;
getBankId(): string; getBankId(): string;
setBankId(value: string): void; setBankId(value: string): void;
@ -689,6 +692,7 @@ export namespace UpdateMemberRequest {
export namespace BankAccount { export namespace BankAccount {
export type AsObject = { export type AsObject = {
id: string;
bankId: string; bankId: string;
name: string; name: string;
accountNumber: string; accountNumber: string;

View File

@ -4398,10 +4398,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
function (includeInstance, msg) { function (includeInstance, msg) {
var f, var f,
obj = { obj = {
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""), id: jspb.Message.getFieldWithDefault(msg, 1, ""),
name: jspb.Message.getFieldWithDefault(msg, 2, ""), bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""), name: jspb.Message.getFieldWithDefault(msg, 3, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""), accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
}; };
if (includeInstance) { if (includeInstance) {
@ -4444,17 +4445,21 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryF
switch (field) { switch (field) {
case 1: case 1:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setBankId(value); msg.setId(value);
break; break;
case 2: case 2:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setName(value); msg.setBankId(value);
break; break;
case 3: case 3:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value); msg.setName(value);
break; break;
case 4: case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAccountNumber(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setExchangePassword(value); msg.setExchangePassword(value);
break; break;
@ -4490,29 +4495,33 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.serializ
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter =
function (message, writer) { function (message, writer) {
var f = undefined; var f = undefined;
f = message.getBankId(); f = message.getId();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(1, f); writer.writeString(1, f);
} }
f = message.getName(); f = message.getBankId();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(2, f); writer.writeString(2, f);
} }
f = message.getAccountNumber(); f = message.getName();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(3, f); writer.writeString(3, f);
} }
f = message.getExchangePassword(); f = message.getAccountNumber();
if (f.length > 0) { if (f.length > 0) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = message.getExchangePassword();
if (f.length > 0) {
writer.writeString(5, f);
}
}; };
/** /**
* optional string bank_id = 1; * optional string id = 1;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getId =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "") jspb.Message.getFieldWithDefault(this, 1, "")
@ -4523,16 +4532,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankI
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setBankId = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setId =
function (value) { function (value) {
return jspb.Message.setProto3StringField(this, 1, value); return jspb.Message.setProto3StringField(this, 1, value);
}; };
/** /**
* optional string name = 2; * optional string bank_id = 2;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "") jspb.Message.getFieldWithDefault(this, 2, "")
@ -4543,16 +4552,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setName = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setBankId =
function (value) { function (value) {
return jspb.Message.setProto3StringField(this, 2, value); return jspb.Message.setProto3StringField(this, 2, value);
}; };
/** /**
* optional string account_number = 3; * optional string name = 3;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "") jspb.Message.getFieldWithDefault(this, 3, "")
@ -4563,16 +4572,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccou
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setName =
function (value) { function (value) {
return jspb.Message.setProto3StringField(this, 3, value); return jspb.Message.setProto3StringField(this, 3, value);
}; };
/** /**
* optional string exchange_password = 4; * optional string account_number = 4;
* @return {string} * @return {string}
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
function () { function () {
return /** @type {string} */ ( return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 4, "") jspb.Message.getFieldWithDefault(this, 4, "")
@ -4583,11 +4592,31 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExcha
* @param {string} value * @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this * @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/ */
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword = proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setAccountNumber =
function (value) { function (value) {
return jspb.Message.setProto3StringField(this, 4, value); return jspb.Message.setProto3StringField(this, 4, value);
}; };
/**
* optional string exchange_password = 5;
* @return {string}
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 5, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount} returns this
*/
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.setExchangePassword =
function (value) {
return jspb.Message.setProto3StringField(this, 5, value);
};
/** /**
* optional string id = 1; * optional string id = 1;
* @return {string} * @return {string}