73 lines
1.8 KiB
TypeScript
73 lines
1.8 KiB
TypeScript
import * as jspb from 'google-protobuf'
|
|
|
|
import * as google_type_money_pb from '../../google/type/money_pb';
|
|
import * as google_type_datetime_pb from '../../google/type/datetime_pb';
|
|
|
|
|
|
export class Shop extends jspb.Message {
|
|
getShopId(): string;
|
|
setShopId(value: string): Shop;
|
|
hasShopId(): boolean;
|
|
clearShopId(): Shop;
|
|
|
|
getShopName(): string;
|
|
setShopName(value: string): Shop;
|
|
|
|
getShopType(): ShopType;
|
|
setShopType(value: ShopType): Shop;
|
|
|
|
getShopUrlWww(): string;
|
|
setShopUrlWww(value: string): Shop;
|
|
|
|
getShopUrlLogo(): string;
|
|
setShopUrlLogo(value: string): Shop;
|
|
|
|
getShopUrlApi(): string;
|
|
setShopUrlApi(value: string): Shop;
|
|
|
|
getShopCurrency(): string;
|
|
setShopCurrency(value: string): Shop;
|
|
|
|
getShopPrefixOrder(): string;
|
|
setShopPrefixOrder(value: string): Shop;
|
|
|
|
getShopPrefixInvoice(): string;
|
|
setShopPrefixInvoice(value: string): Shop;
|
|
|
|
getShopPrefixOffer(): string;
|
|
setShopPrefixOffer(value: string): Shop;
|
|
|
|
serializeBinary(): Uint8Array;
|
|
toObject(includeInstance?: boolean): Shop.AsObject;
|
|
static toObject(includeInstance: boolean, msg: Shop): Shop.AsObject;
|
|
static serializeBinaryToWriter(message: Shop, writer: jspb.BinaryWriter): void;
|
|
static deserializeBinary(bytes: Uint8Array): Shop;
|
|
static deserializeBinaryFromReader(message: Shop, reader: jspb.BinaryReader): Shop;
|
|
}
|
|
|
|
export namespace Shop {
|
|
export type AsObject = {
|
|
shopId?: string,
|
|
shopName: string,
|
|
shopType: ShopType,
|
|
shopUrlWww: string,
|
|
shopUrlLogo: string,
|
|
shopUrlApi: string,
|
|
shopCurrency: string,
|
|
shopPrefixOrder: string,
|
|
shopPrefixInvoice: string,
|
|
shopPrefixOffer: string,
|
|
}
|
|
|
|
export enum ShopIdCase {
|
|
_SHOP_ID_NOT_SET = 0,
|
|
SHOP_ID = 1,
|
|
}
|
|
}
|
|
|
|
export enum ShopType {
|
|
SHOP_TYPE_UNSPECIFIED = 0,
|
|
SHOP_TYPE_DIGITAL = 1,
|
|
SHOP_TYPE_RETAIL = 2,
|
|
}
|