Class RotatingBarcodeValues
A payload containing many barcode values and start date/time.
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class RotatingBarcodeValues : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PeriodMillis
Required. The amount of time each barcode is valid for.
Declaration
[JsonProperty("periodMillis")]
public virtual long? PeriodMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |
StartDateTime
Required. The date/time the first barcode is valid from. Barcodes will be rotated through using
period_millis defined on the object's RotatingBarcodeValueInfo. This is an ISO 8601 extended format
date/time, with an offset. Time may be specified up to nanosecond precision. Offsets may be specified with
seconds precision (even though offset seconds is not part of ISO 8601). For example:
1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in
UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th,
1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this
would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe
Daylight Saving Time (or Summer Time), depending on the time of the year.
Declaration
[JsonProperty("startDateTime")]
public virtual string StartDateTime { get; set; }
Property Value
Type | Description |
---|---|
string |
Values
Required. The values to encode in the barcode. At least one value is required.
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |