echofi-client
Version:
A comprehensive TypeScript/JavaScript client library for EchoFi services with automatic gRPC-Web code generation, unified service access, and real-time WebSocket communication.
59 lines (43 loc) • 1.42 kB
TypeScript
import * as jspb from 'google-protobuf'
export class Payment extends jspb.Message {
getId(): number;
setId(value: number): Payment;
getUserId(): string;
setUserId(value: string): Payment;
getAmount(): string;
setAmount(value: string): Payment;
getWalletAddress(): string;
setWalletAddress(value: string): Payment;
getReceiveAddress(): string;
setReceiveAddress(value: string): Payment;
getChain(): string;
setChain(value: string): Payment;
getTxhash(): string;
setTxhash(value: string): Payment;
getTokenAddress(): string;
setTokenAddress(value: string): Payment;
getCreatedAt(): number;
setCreatedAt(value: number): Payment;
getStatus(): string;
setStatus(value: string): Payment;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Payment.AsObject;
static toObject(includeInstance: boolean, msg: Payment): Payment.AsObject;
static serializeBinaryToWriter(message: Payment, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Payment;
static deserializeBinaryFromReader(message: Payment, reader: jspb.BinaryReader): Payment;
}
export namespace Payment {
export type AsObject = {
id: number,
userId: string,
amount: string,
walletAddress: string,
receiveAddress: string,
chain: string,
txhash: string,
tokenAddress: string,
createdAt: number,
status: string,
}
}