Bagikan melalui


AggregateOffer Constructors

Definition

Overloads

AggregateOffer()

Initializes a new instance of the AggregateOffer class.

AggregateOffer(String, String, String, String, String, ImageObject, String, String, String, Organization, Nullable<Double>, String, String, AggregateRating, String, IList<Offer>)

Initializes a new instance of the AggregateOffer class.

AggregateOffer()

Initializes a new instance of the AggregateOffer class.

public AggregateOffer ();
Public Sub New ()

Applies to

AggregateOffer(String, String, String, String, String, ImageObject, String, String, String, Organization, Nullable<Double>, String, String, AggregateRating, String, IList<Offer>)

Initializes a new instance of the AggregateOffer class.

public AggregateOffer (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Organization seller = default, double? price = default, string priceCurrency = default, string availability = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.AggregateRating aggregateRating = default, string lastUpdated = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Offer> offers = default);
new Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.AggregateOffer : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageObject * string * string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Organization * Nullable<double> * string * string * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.AggregateRating * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.Offer> -> Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.AggregateOffer
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional alternateName As String = Nothing, Optional bingId As String = Nothing, Optional seller As Organization = Nothing, Optional price As Nullable(Of Double) = Nothing, Optional priceCurrency As String = Nothing, Optional availability As String = Nothing, Optional aggregateRating As AggregateRating = Nothing, Optional lastUpdated As String = Nothing, Optional offers As IList(Of Offer) = Nothing)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource. To use the URL, append query parameters as appropriate and include the Ocp-Apim-Subscription-Key header.

webSearchUrl
String

The URL to Bing's search result for this item.

name
String

The name of the thing represented by this object.

url
String

The URL to get more information about the thing represented by this object.

image
ImageObject

An image of the item.

description
String

A short description of the item.

alternateName
String

An alias for the item.

bingId
String

An ID that uniquely identifies this item.

seller
Organization

Seller for this offer.

price
Nullable<Double>

The item's price.

priceCurrency
String

The monetary currency. For example, USD. Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW'

availability
String

The item's availability. The following are the possible values: Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut. Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut'

aggregateRating
AggregateRating

An aggregated rating that indicates how well the product has been rated by others.

lastUpdated
String

The last date that the offer was updated. The date is in the form YYYY-MM-DD.

offers
IList<Offer>

A list of offers from merchants that have offerings related to the image.

Applies to