google_api_content v0.30.0 GoogleApi.Content.V2.Model.TestOrderLineItemProduct View Source
Attributes
brand(type:String.t, default:nil) - Required. Brand of the item.channel(type:String.t, default:nil) - Deprecated.Acceptable values are:
- "
online"
- "
condition(type:String.t, default:nil) - Required. Condition or state of the item.Acceptable values are:
- "
new"
- "
contentLanguage(type:String.t, default:nil) - Required. The two-letter ISO 639-1 language code for the item.Acceptable values are:
- "
en" - "
fr"
- "
fees(type:list(GoogleApi.Content.V2.Model.OrderLineItemProductFee.t), default:nil) - Fees for the item. Optional.gtin(type:String.t, default:nil) - Global Trade Item Number (GTIN) of the item. Optional.imageLink(type:String.t, default:nil) - Required. URL of an image of the item.itemGroupId(type:String.t, default:nil) - Shared identifier for all variants of the same product. Optional.mpn(type:String.t, default:nil) - Manufacturer Part Number (MPN) of the item. Optional.offerId(type:String.t, default:nil) - Required. An identifier of the item.price(type:GoogleApi.Content.V2.Model.Price.t, default:nil) - Required. The price for the product. Tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied.targetCountry(type:String.t, default:nil) - Required. The CLDR territory code of the target country of the product.title(type:String.t, default:nil) - Required. The title of the product.variantAttributes(type:list(GoogleApi.Content.V2.Model.OrderLineItemProductVariantAttribute.t), default:nil) - Variant attributes for the item. Optional.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Content.V2.Model.TestOrderLineItemProduct{
brand: String.t(),
channel: String.t(),
condition: String.t(),
contentLanguage: String.t(),
fees: [GoogleApi.Content.V2.Model.OrderLineItemProductFee.t()],
gtin: String.t(),
imageLink: String.t(),
itemGroupId: String.t(),
mpn: String.t(),
offerId: String.t(),
price: GoogleApi.Content.V2.Model.Price.t(),
targetCountry: String.t(),
title: String.t(),
variantAttributes: [
GoogleApi.Content.V2.Model.OrderLineItemProductVariantAttribute.t()
]
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.