Class PricingInfo
Represents the pricing information for a SKU at a single point of time.
Implements
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1.Data
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class PricingInfo : IDirectResponseSchema
Properties
AggregationInfo
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
Declaration
[JsonProperty("aggregationInfo")]
public virtual AggregationInfo AggregationInfo { get; set; }
Property Value
Type | Description |
---|---|
AggregationInfo |
CurrencyConversionRate
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
Declaration
[JsonProperty("currencyConversionRate")]
public virtual double? CurrencyConversionRate { get; set; }
Property Value
Type | Description |
---|---|
double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EffectiveTime
object representation of EffectiveTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EffectiveTimeDateTimeOffset instead.")]
public virtual object EffectiveTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EffectiveTimeDateTimeOffset
DateTimeOffset representation of EffectiveTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EffectiveTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EffectiveTimeRaw
The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
Declaration
[JsonProperty("effectiveTime")]
public virtual string EffectiveTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
PricingExpression
Expresses the pricing formula. See PricingExpression
for an example.
Declaration
[JsonProperty("pricingExpression")]
public virtual PricingExpression PricingExpression { get; set; }
Property Value
Type | Description |
---|---|
PricingExpression |
Summary
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
Declaration
[JsonProperty("summary")]
public virtual string Summary { get; set; }
Property Value
Type | Description |
---|---|
string |