Offer Constructors

Definition

Overloads

Offer()

Initializes a new instance of the Offer class.

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

Initializes a new instance of the Offer class.

Offer()

Initializes a new instance of the Offer class.

public Offer ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Offer class.

public Offer (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Organization seller = default, double? price = default, string priceCurrency = default, string availability = default, Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateRating aggregateRating = default, string lastUpdated = default);
new Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Offer : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.ImageObject * string * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Organization * Nullable<double> * string * string * Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.AggregateRating * string -> Microsoft.Azure.CognitiveServices.Search.ImageSearch.Models.Offer
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)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource.

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.

Applies to