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

#include <customer.h>

Inheritance diagram for google_reseller_api::Customer:

Public Member Functions

 Customer (const Json::Value &storage)
 
 Customer (Json::Value *storage)
 
virtual ~Customer ()
 
const StringPiece GetTypeName () const
 
bool has_alternate_email () const
 
void clear_alternate_email ()
 
const StringPiece get_alternate_email () const
 
void set_alternate_email (const StringPiece &value)
 
bool has_customer_domain () const
 
void clear_customer_domain ()
 
const StringPiece get_customer_domain () const
 
void set_customer_domain (const StringPiece &value)
 
bool has_customer_domain_verified () const
 
void clear_customer_domain_verified ()
 
bool get_customer_domain_verified () const
 
void set_customer_domain_verified (bool value)
 
bool has_customer_id () const
 
void clear_customer_id ()
 
const StringPiece get_customer_id () const
 
void set_customer_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_phone_number () const
 
void clear_phone_number ()
 
const StringPiece get_phone_number () const
 
void set_phone_number (const StringPiece &value)
 
bool has_postal_address () const
 
void clear_postal_address ()
 
const Address get_postal_address () const
 
Address mutable_postalAddress ()
 
bool has_resource_ui_url () const
 
void clear_resource_ui_url ()
 
const StringPiece get_resource_ui_url () const
 
void set_resource_ui_url (const StringPiece &value)
 

Static Public Member Functions

static CustomerNew ()
 

Detailed Description

JSON template for a customer.

Constructor & Destructor Documentation

◆ Customer() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Customer() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Customer()

google_reseller_api::Customer::~Customer ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_alternate_email()

void google_reseller_api::Customer::clear_alternate_email ( )
inline

Clears the 'alternateEmail' attribute.

◆ clear_customer_domain()

void google_reseller_api::Customer::clear_customer_domain ( )
inline

Clears the 'customerDomain' attribute.

◆ clear_customer_domain_verified()

void google_reseller_api::Customer::clear_customer_domain_verified ( )
inline

Clears the 'customerDomainVerified' attribute.

◆ clear_customer_id()

void google_reseller_api::Customer::clear_customer_id ( )
inline

Clears the 'customerId' attribute.

◆ clear_kind()

void google_reseller_api::Customer::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_phone_number()

void google_reseller_api::Customer::clear_phone_number ( )
inline

Clears the 'phoneNumber' attribute.

◆ clear_postal_address()

void google_reseller_api::Customer::clear_postal_address ( )
inline

Clears the 'postalAddress' attribute.

◆ clear_resource_ui_url()

void google_reseller_api::Customer::clear_resource_ui_url ( )
inline

Clears the 'resourceUiUrl' attribute.

◆ get_alternate_email()

const StringPiece google_reseller_api::Customer::get_alternate_email ( ) const
inline

Get the value of the 'alternateEmail' attribute.

◆ get_customer_domain()

const StringPiece google_reseller_api::Customer::get_customer_domain ( ) const
inline

Get the value of the 'customerDomain' attribute.

◆ get_customer_domain_verified()

bool google_reseller_api::Customer::get_customer_domain_verified ( ) const
inline

Get the value of the 'customerDomainVerified' attribute.

◆ get_customer_id()

const StringPiece google_reseller_api::Customer::get_customer_id ( ) const
inline

Get the value of the 'customerId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_phone_number()

const StringPiece google_reseller_api::Customer::get_phone_number ( ) const
inline

Get the value of the 'phoneNumber' attribute.

◆ get_postal_address()

const Address google_reseller_api::Customer::get_postal_address ( ) const

Get a reference to the value of the 'postalAddress' attribute.

◆ get_resource_ui_url()

const StringPiece google_reseller_api::Customer::get_resource_ui_url ( ) const
inline

Get the value of the 'resourceUiUrl' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_reseller_api::Customer

◆ has_alternate_email()

bool google_reseller_api::Customer::has_alternate_email ( ) const
inline

Determine if the 'alternateEmail' attribute was set.

Returns
true if the 'alternateEmail' attribute was set.

◆ has_customer_domain()

bool google_reseller_api::Customer::has_customer_domain ( ) const
inline

Determine if the 'customerDomain' attribute was set.

Returns
true if the 'customerDomain' attribute was set.

◆ has_customer_domain_verified()

bool google_reseller_api::Customer::has_customer_domain_verified ( ) const
inline

Determine if the 'customerDomainVerified' attribute was set.

Returns
true if the 'customerDomainVerified' attribute was set.

◆ has_customer_id()

bool google_reseller_api::Customer::has_customer_id ( ) const
inline

Determine if the 'customerId' attribute was set.

Returns
true if the 'customerId' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_phone_number()

bool google_reseller_api::Customer::has_phone_number ( ) const
inline

Determine if the 'phoneNumber' attribute was set.

Returns
true if the 'phoneNumber' attribute was set.

◆ has_postal_address()

bool google_reseller_api::Customer::has_postal_address ( ) const
inline

Determine if the 'postalAddress' attribute was set.

Returns
true if the 'postalAddress' attribute was set.

◆ has_resource_ui_url()

bool google_reseller_api::Customer::has_resource_ui_url ( ) const
inline

Determine if the 'resourceUiUrl' attribute was set.

Returns
true if the 'resourceUiUrl' attribute was set.

◆ mutable_postalAddress()

Address google_reseller_api::Customer::mutable_postalAddress ( )

Gets a reference to a mutable value of the 'postalAddress' property.

A customer's address information. Each field has a limit of 255 charcters.

Returns
The result can be modified to change the attribute value.

◆ New()

Customer * google_reseller_api::Customer::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_alternate_email()

void google_reseller_api::Customer::set_alternate_email ( const StringPiece &  value)
inline

Change the 'alternateEmail' attribute.

Like the "Customer email" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new customer and should not use the same domain as customerDomain.

Parameters
[in]valueThe new value.

◆ set_customer_domain()

void google_reseller_api::Customer::set_customer_domain ( const StringPiece &  value)
inline

Change the 'customerDomain' attribute.

The customer's primary domain name string. customerDomain is required when creating a new customer. Do not include the www prefix in the domain when adding a customer.

Parameters
[in]valueThe new value.

◆ set_customer_domain_verified()

void google_reseller_api::Customer::set_customer_domain_verified ( bool  value)
inline

Change the 'customerDomainVerified' attribute.

Whether the customer's primary domain has been verified.

Parameters
[in]valueThe new value.

◆ set_customer_id()

void google_reseller_api::Customer::set_customer_id ( const StringPiece &  value)
inline

Change the 'customerId' attribute.

This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Identifies the resource as a customer. Value: reseller::customer.

Parameters
[in]valueThe new value.

◆ set_phone_number()

void google_reseller_api::Customer::set_phone_number ( const StringPiece &  value)
inline

Change the 'phoneNumber' attribute.

Customer contact phone number. Must start with "+" followed by the country code. The rest of the number can be contiguous numbers or respect the phone local format conventions, but it must be a real phone number and not, for example, "123". This field is silently ignored if invalid.

Parameters
[in]valueThe new value.

◆ set_resource_ui_url()

void google_reseller_api::Customer::set_resource_ui_url ( const StringPiece &  value)
inline

Change the 'resourceUiUrl' attribute.

URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task in the Admin console.

Parameters
[in]valueThe new value.

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