// package: xrc.ecnova.commerce.accounting.v1 // file: api/ecnova/commerce/accounting/v1/accounting_proto/account.proto import * as jspb from "google-protobuf"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; export class Account extends jspb.Message { getName(): string; setName(value: string): void; hasEnterprise(): boolean; clearEnterprise(): void; getEnterprise(): string; setEnterprise(value: string): void; hasUser(): boolean; clearUser(): void; getUser(): string; setUser(value: string): void; hasCreateTime(): boolean; clearCreateTime(): void; getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void; hasUpdateTime(): boolean; clearUpdateTime(): void; getUpdateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setUpdateTime(value?: google_protobuf_timestamp_pb.Timestamp): void; getIdentityCase(): Account.IdentityCase; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Account.AsObject; static toObject(includeInstance: boolean, msg: Account): Account.AsObject; static fromObject(obj: Account.AsObject): Account; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Account, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Account; static deserializeBinaryFromReader(message: Account, reader: jspb.BinaryReader): Account; } export namespace Account { export type AsObject = { name: string, enterprise: string, user: string, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, updateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, } export enum IdentityCase { IDENTITY_NOT_SET = 0, ENTERPRISE = 2, USER = 3, } }