View Source GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductStatusChangeMessage (google_api_merchant_api v0.4.0)

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

Attributes

  • account (type: String.t, default: nil) - The target account that owns the entity that changed. Format : accounts/{merchant_id}
  • attribute (type: String.t, default: nil) - The attribute in the resource that changed, in this case it will be always Status.
  • changes (type: list(GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductChange.t), default: nil) - A message to describe the change that happened to the product
  • expirationTime (type: DateTime.t, default: nil) - The product expiration time.
  • managingAccount (type: String.t, default: nil) - 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 (type: String.t, default: nil) - The product name. Format: {product.name=accounts/{account}/products/{product}}
  • resourceId (type: String.t, default: nil) - The product id.
  • resourceType (type: String.t, default: nil) - The resource that changed, in this case it will always be Product.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductStatusChangeMessage{
  account: String.t() | nil,
  attribute: String.t() | nil,
  changes: [GoogleApi.MerchantAPI.Reports_v1beta.Model.ProductChange.t()] | nil,
  expirationTime: DateTime.t() | nil,
  managingAccount: String.t() | nil,
  resource: String.t() | nil,
  resourceId: String.t() | nil,
  resourceType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.