update_member is modified
This commit is contained in:
parent
336ea311d9
commit
8a50bcf897
4
src/app/modules/proto/c2se/member_pb.d.ts
vendored
4
src/app/modules/proto/c2se/member_pb.d.ts
vendored
|
@ -654,6 +654,9 @@ export namespace UpdateMemberRequest {
|
|||
};
|
||||
|
||||
export class BankAccount extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getBankId(): string;
|
||||
setBankId(value: string): void;
|
||||
|
||||
|
@ -689,6 +692,7 @@ export namespace UpdateMemberRequest {
|
|||
|
||||
export namespace BankAccount {
|
||||
export type AsObject = {
|
||||
id: string;
|
||||
bankId: string;
|
||||
name: string;
|
||||
accountNumber: string;
|
||||
|
|
|
@ -4398,10 +4398,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
function (includeInstance, msg) {
|
||||
var f,
|
||||
obj = {
|
||||
bankId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
bankId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
exchangePassword: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -4444,17 +4445,21 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.deserializeBinaryF
|
|||
switch (field) {
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setBankId(value);
|
||||
msg.setId(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
msg.setBankId(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAccountNumber(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExchangePassword(value);
|
||||
break;
|
||||
|
@ -4490,29 +4495,33 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.serializ
|
|||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.serializeBinaryToWriter =
|
||||
function (message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getBankId();
|
||||
f = message.getId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getName();
|
||||
f = message.getBankId();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getAccountNumber();
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getExchangePassword();
|
||||
f = message.getAccountNumber();
|
||||
if (f.length > 0) {
|
||||
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}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 1, "")
|
||||
|
@ -4523,16 +4532,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankI
|
|||
* @param {string} value
|
||||
* @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) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string name = 2;
|
||||
* optional string bank_id = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getBankId =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
|
@ -4543,16 +4552,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName
|
|||
* @param {string} value
|
||||
* @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) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string account_number = 3;
|
||||
* optional string name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
|
@ -4563,16 +4572,16 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccou
|
|||
* @param {string} value
|
||||
* @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) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string exchange_password = 4;
|
||||
* optional string account_number = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExchangePassword =
|
||||
proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getAccountNumber =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
|
@ -4583,11 +4592,31 @@ proto.bet.beteran.c2se.member.UpdateMemberRequest.BankAccount.prototype.getExcha
|
|||
* @param {string} value
|
||||
* @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) {
|
||||
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;
|
||||
* @return {string}
|
||||
|
|
Loading…
Reference in New Issue
Block a user