Class Barcode
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class Barcode : 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 |
Kind
Identifies what kind of resource this is. Value: the fixed string "walletobjects#barcode"
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
Type
The type of barcode.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
The value encoded in the barcode.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |