public sealed class TrialSettings : IMessage<TrialSettings>, IEquatable<TrialSettings>, IDeepCloneable<TrialSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Channel v1 API class TrialSettings.
Settings for trial offers.
Implements
IMessageTrialSettings, IEquatableTrialSettings, IDeepCloneableTrialSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Channel.V1Assembly
Google.Cloud.Channel.V1.dll
Constructors
TrialSettings()
public TrialSettings()
TrialSettings(TrialSettings)
public TrialSettings(TrialSettings other)
Parameter | |
---|---|
Name | Description |
other |
TrialSettings |
Properties
EndTime
public Timestamp EndTime { get; set; }
Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.
Property Value | |
---|---|
Type | Description |
Timestamp |
Trial
public bool Trial { get; set; }
Determines if the entitlement is in a trial or not:
true
- The entitlement is in trial.false
- The entitlement is not in trial.
Property Value | |
---|---|
Type | Description |
bool |