Show / Hide Table of Contents

Class RotatingBarcode

Inheritance
object
RotatingBarcode
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class RotatingBarcode : IDirectResponseSchema

Properties

AlternateText

An optional text that will override the default text that shows under the barcode. This field is intended for a human readable equivalent of the barcode value, used when the barcode cannot be scanned.

Declaration
[JsonProperty("alternateText")]
public virtual string AlternateText { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

InitialRotatingBarcodeValues

Input only. NOTE: This feature is only available for the transit vertical. Optional set of initial rotating barcode values. This allows a small subset of barcodes to be included with the object. Further rotating barcode values must be uploaded with the UploadRotatingBarcodeValues endpoint.

Declaration
[JsonProperty("initialRotatingBarcodeValues")]
public virtual RotatingBarcodeValues InitialRotatingBarcodeValues { get; set; }
Property Value
Type Description
RotatingBarcodeValues

RenderEncoding

The render encoding for the barcode. When specified, barcode is rendered in the given encoding. Otherwise best known encoding is chosen by Google.

Declaration
[JsonProperty("renderEncoding")]
public virtual string RenderEncoding { get; set; }
Property Value
Type Description
string

ShowCodeText

Optional text that will be shown when the barcode is hidden behind a click action. This happens in cases where a pass has Smart Tap enabled. If not specified, a default is chosen by Google.

Declaration
[JsonProperty("showCodeText")]
public virtual LocalizedString ShowCodeText { get; set; }
Property Value
Type Description
LocalizedString

TotpDetails

Details used to evaluate the {totp_value_n} substitutions.

Declaration
[JsonProperty("totpDetails")]
public virtual RotatingBarcodeTotpDetails TotpDetails { get; set; }
Property Value
Type Description
RotatingBarcodeTotpDetails

Type

The type of this barcode.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

ValuePattern

String encoded barcode value. This string supports the following substitutions: * {totp_value_n}: Replaced with the TOTP value (see TotpDetails.parameters). * {totp_timestamp_millis}: Replaced with the timestamp (millis since epoch) at which the barcode was generated. * {totp_timestamp_seconds}: Replaced with the timestamp (seconds since epoch) at which the barcode was generated.

Declaration
[JsonProperty("valuePattern")]
public virtual string ValuePattern { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX