View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaPaidOfferDetail (google_api_content_warehouse v0.4.0)

Represents BUY and RENT offers and associated cost info. Next ID: 3

Attributes

  • cost (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCost.t), default: nil) - Represents the price of this offer according to the locale and region.
  • paidOfferType (type: String.t, default: nil) - Specifies the type of offer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaPaidOfferDetail{
    cost:
      [
        GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCost.t()
      ]
      | nil,
    paidOfferType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.