GoogleApi.Content.V2.Model.InventorySetRequest (google_api_content v0.58.1) View Source

Attributes

  • availability (type: String.t, default: nil) - The availability of the product. Acceptable values are: - "in stock" - "out of stock" - "preorder"
  • customLabel0 (type: String.t, default: nil) - Custom label 0 for custom grouping of items in a Shopping campaign. Only supported for online products.
  • customLabel1 (type: String.t, default: nil) - Custom label 1 for custom grouping of items in a Shopping campaign. Only supported for online products.
  • customLabel2 (type: String.t, default: nil) - Custom label 2 for custom grouping of items in a Shopping campaign. Only supported for online products.
  • customLabel3 (type: String.t, default: nil) - Custom label 3 for custom grouping of items in a Shopping campaign. Only supported for online products.
  • customLabel4 (type: String.t, default: nil) - Custom label 3 for custom grouping of items in a Shopping campaign. Only supported for online products.
  • installment (type: GoogleApi.Content.V2.Model.Installment.t, default: nil) - Number and amount of installments to pay for an item. Brazil only.
  • instoreProductLocation (type: String.t, default: nil) - The instore product location. Supported only for local products.
  • loyaltyPoints (type: GoogleApi.Content.V2.Model.LoyaltyPoints.t, default: nil) - Loyalty points that users receive after purchasing the item. Japan only.
  • pickup (type: GoogleApi.Content.V2.Model.InventoryPickup.t, default: nil) - Store pickup information. Only supported for local inventory. Not setting pickup means "don't update" while setting it to the empty value ({} in JSON) means "delete". Otherwise, pickupMethod and pickupSla must be set together, unless pickupMethod is "not supported".
  • price (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - The price of the product.
  • quantity (type: integer(), default: nil) - The quantity of the product. Must be equal to or greater than zero. Supported only for local products.
  • salePrice (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - The sale price of the product. Mandatory if sale_price_effective_date is defined.
  • salePriceEffectiveDate (type: String.t, default: nil) - A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.
  • sellOnGoogleQuantity (type: integer(), default: nil) - The quantity of the product that is available for selling on Google. Supported only for online products.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.InventorySetRequest{
  availability: String.t() | nil,
  customLabel0: String.t() | nil,
  customLabel1: String.t() | nil,
  customLabel2: String.t() | nil,
  customLabel3: String.t() | nil,
  customLabel4: String.t() | nil,
  installment: GoogleApi.Content.V2.Model.Installment.t() | nil,
  instoreProductLocation: String.t() | nil,
  loyaltyPoints: GoogleApi.Content.V2.Model.LoyaltyPoints.t() | nil,
  pickup: GoogleApi.Content.V2.Model.InventoryPickup.t() | nil,
  price: GoogleApi.Content.V2.Model.Price.t() | nil,
  quantity: integer() | nil,
  salePrice: GoogleApi.Content.V2.Model.Price.t() | nil,
  salePriceEffectiveDate: String.t() | nil,
  sellOnGoogleQuantity: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.