reseller  v1
Public Member Functions | Static Public Member Functions | List of all members
google_reseller_api::RenewalSettings Class Reference

#include <renewal_settings.h>

Inheritance diagram for google_reseller_api::RenewalSettings:

Public Member Functions

 RenewalSettings (const Json::Value &storage)
 
 RenewalSettings (Json::Value *storage)
 
virtual ~RenewalSettings ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_renewal_type () const
 
void clear_renewal_type ()
 
const StringPiece get_renewal_type () const
 
void set_renewal_type (const StringPiece &value)
 

Static Public Member Functions

static RenewalSettingsNew ()
 

Detailed Description

JSON template for a subscription renewal settings.

Constructor & Destructor Documentation

◆ RenewalSettings() [1/2]

google_reseller_api::RenewalSettings::RenewalSettings ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RenewalSettings() [2/2]

google_reseller_api::RenewalSettings::RenewalSettings ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RenewalSettings()

google_reseller_api::RenewalSettings::~RenewalSettings ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_reseller_api::RenewalSettings::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_renewal_type()

void google_reseller_api::RenewalSettings::clear_renewal_type ( )
inline

Clears the 'renewalType' attribute.

◆ get_kind()

const StringPiece google_reseller_api::RenewalSettings::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_renewal_type()

const StringPiece google_reseller_api::RenewalSettings::get_renewal_type ( ) const
inline

Get the value of the 'renewalType' attribute.

◆ GetTypeName()

const StringPiece google_reseller_api::RenewalSettings::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_reseller_api::RenewalSettings

◆ has_kind()

bool google_reseller_api::RenewalSettings::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_renewal_type()

bool google_reseller_api::RenewalSettings::has_renewal_type ( ) const
inline

Determine if the 'renewalType' attribute was set.

Returns
true if the 'renewalType' attribute was set.

◆ New()

RenewalSettings * google_reseller_api::RenewalSettings::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_reseller_api::RenewalSettings::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies the resource as a subscription renewal setting. Value: subscriptions::renewalSettings.

Parameters
[in]valueThe new value.

◆ set_renewal_type()

void google_reseller_api::RenewalSettings::set_renewal_type ( const StringPiece &  value)
inline

Change the 'renewalType' attribute.

Renewal settings for the annual commitment plan. For more detailed information, see renewal options in the administrator help center. When renewing a subscription, the renewalType is a required property.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: