|
cloudbilling
v1
|
#include <pricing_info.h>
Public Member Functions | |
| PricingInfo (const Json::Value &storage) | |
| PricingInfo (Json::Value *storage) | |
| virtual | ~PricingInfo () |
| const StringPiece | GetTypeName () const |
| bool | has_aggregation_info () const |
| void | clear_aggregation_info () |
| const AggregationInfo | get_aggregation_info () const |
| AggregationInfo | mutable_aggregationInfo () |
| bool | has_currency_conversion_rate () const |
| void | clear_currency_conversion_rate () |
| double | get_currency_conversion_rate () const |
| void | set_currency_conversion_rate (double value) |
| bool | has_effective_time () const |
| void | clear_effective_time () |
| const StringPiece | get_effective_time () const |
| void | set_effective_time (const StringPiece &value) |
| bool | has_pricing_expression () const |
| void | clear_pricing_expression () |
| const PricingExpression | get_pricing_expression () const |
| PricingExpression | mutable_pricingExpression () |
| bool | has_summary () const |
| void | clear_summary () |
| const StringPiece | get_summary () const |
| void | set_summary (const StringPiece &value) |
Static Public Member Functions | |
| static PricingInfo * | New () |
Represents the pricing information for a SKU at a single point of time.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'aggregationInfo' attribute.
|
inline |
Clears the 'currencyConversionRate' attribute.
|
inline |
Clears the 'effectiveTime' attribute.
|
inline |
Clears the 'pricingExpression' attribute.
|
inline |
Clears the 'summary' attribute.
| const AggregationInfo google_cloudbilling_api::PricingInfo::get_aggregation_info | ( | ) | const |
Get a reference to the value of the 'aggregationInfo' attribute.
|
inline |
Get the value of the 'currencyConversionRate' attribute.
|
inline |
Get the value of the 'effectiveTime' attribute.
| const PricingExpression google_cloudbilling_api::PricingInfo::get_pricing_expression | ( | ) | const |
Get a reference to the value of the 'pricingExpression' attribute.
|
inline |
Get the value of the 'summary' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'aggregationInfo' attribute was set.
aggregationInfo' attribute was set.
|
inline |
Determine if the 'currencyConversionRate' attribute was set.
currencyConversionRate' attribute was set.
|
inline |
Determine if the 'effectiveTime' attribute was set.
effectiveTime' attribute was set.
|
inline |
Determine if the 'pricingExpression' attribute was set.
pricingExpression' attribute was set.
|
inline |
Determine if the 'summary' attribute was set.
summary' attribute was set. | AggregationInfo google_cloudbilling_api::PricingInfo::mutable_aggregationInfo | ( | ) |
Gets a reference to a mutable value of the 'aggregationInfo' property.
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
| PricingExpression google_cloudbilling_api::PricingInfo::mutable_pricingExpression | ( | ) |
Gets a reference to a mutable value of the 'pricingExpression' property.
Expresses the pricing formula. See PricingExpression for an example.
|
static |
Creates a new default instance.
|
inline |
Change the 'currencyConversionRate' attribute.
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.
| [in] | value | The new value. |
|
inline |
Change the 'effectiveTime' attribute.
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.
| [in] | value | The new value. |
|
inline |
Change the 'summary' attribute.
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
| [in] | value | The new value. |