Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProductStatusChangeMessage

import type { ProductStatusChangeMessage } from "https://googleapis.deno.dev/v1/merchantapi:reviews_v1beta.ts";

The message that the merchant will receive to notify about product status change event

interface ProductStatusChangeMessage {
account?: string;
attribute?: "ATTRIBUTE_UNSPECIFIED" | "STATUS";
changes?: ProductChange[];
eventTime?: Date;
expirationTime?: Date;
managingAccount?: string;
resource?: string;
resourceId?: string;
resourceType?: "RESOURCE_UNSPECIFIED" | "PRODUCT";
}

§Properties

§
account?: string
[src]

The target account that owns the entity that changed. Format : accounts/{merchant_id}

§
attribute?: "ATTRIBUTE_UNSPECIFIED" | "STATUS"
[src]

The attribute in the resource that changed, in this case it will be always Status.

§
changes?: ProductChange[]
[src]

A message to describe the change that happened to the product

§
eventTime?: Date
[src]

The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.

§
expirationTime?: Date
[src]

Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.

§
managingAccount?: string
[src]

The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : accounts/{service_provider_id}

§
resource?: string
[src]

The product name. Format: accounts/{account}/products/{product}

§
resourceId?: string
[src]

The product id.

§
resourceType?: "RESOURCE_UNSPECIFIED" | "PRODUCT"
[src]

The resource that changed, in this case it will always be Product.