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

#include <address.h>

Inheritance diagram for google_reseller_api::Address:

Public Member Functions

 Address (const Json::Value &storage)
 
 Address (Json::Value *storage)
 
virtual ~Address ()
 
const StringPiece GetTypeName () const
 
bool has_address_line1 () const
 
void clear_address_line1 ()
 
const StringPiece get_address_line1 () const
 
void set_address_line1 (const StringPiece &value)
 
bool has_address_line2 () const
 
void clear_address_line2 ()
 
const StringPiece get_address_line2 () const
 
void set_address_line2 (const StringPiece &value)
 
bool has_address_line3 () const
 
void clear_address_line3 ()
 
const StringPiece get_address_line3 () const
 
void set_address_line3 (const StringPiece &value)
 
bool has_contact_name () const
 
void clear_contact_name ()
 
const StringPiece get_contact_name () const
 
void set_contact_name (const StringPiece &value)
 
bool has_country_code () const
 
void clear_country_code ()
 
const StringPiece get_country_code () const
 
void set_country_code (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_locality () const
 
void clear_locality ()
 
const StringPiece get_locality () const
 
void set_locality (const StringPiece &value)
 
bool has_organization_name () const
 
void clear_organization_name ()
 
const StringPiece get_organization_name () const
 
void set_organization_name (const StringPiece &value)
 
bool has_postal_code () const
 
void clear_postal_code ()
 
const StringPiece get_postal_code () const
 
void set_postal_code (const StringPiece &value)
 
bool has_region () const
 
void clear_region ()
 
const StringPiece get_region () const
 
void set_region (const StringPiece &value)
 

Static Public Member Functions

static AddressNew ()
 

Detailed Description

JSON template for address of a customer.

Constructor & Destructor Documentation

◆ Address() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Address() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Address()

google_reseller_api::Address::~Address ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_address_line1()

void google_reseller_api::Address::clear_address_line1 ( )
inline

Clears the 'addressLine1' attribute.

◆ clear_address_line2()

void google_reseller_api::Address::clear_address_line2 ( )
inline

Clears the 'addressLine2' attribute.

◆ clear_address_line3()

void google_reseller_api::Address::clear_address_line3 ( )
inline

Clears the 'addressLine3' attribute.

◆ clear_contact_name()

void google_reseller_api::Address::clear_contact_name ( )
inline

Clears the 'contactName' attribute.

◆ clear_country_code()

void google_reseller_api::Address::clear_country_code ( )
inline

Clears the 'countryCode' attribute.

◆ clear_kind()

void google_reseller_api::Address::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_locality()

void google_reseller_api::Address::clear_locality ( )
inline

Clears the 'locality' attribute.

◆ clear_organization_name()

void google_reseller_api::Address::clear_organization_name ( )
inline

Clears the 'organizationName' attribute.

◆ clear_postal_code()

void google_reseller_api::Address::clear_postal_code ( )
inline

Clears the 'postalCode' attribute.

◆ clear_region()

void google_reseller_api::Address::clear_region ( )
inline

Clears the 'region' attribute.

◆ get_address_line1()

const StringPiece google_reseller_api::Address::get_address_line1 ( ) const
inline

Get the value of the 'addressLine1' attribute.

◆ get_address_line2()

const StringPiece google_reseller_api::Address::get_address_line2 ( ) const
inline

Get the value of the 'addressLine2' attribute.

◆ get_address_line3()

const StringPiece google_reseller_api::Address::get_address_line3 ( ) const
inline

Get the value of the 'addressLine3' attribute.

◆ get_contact_name()

const StringPiece google_reseller_api::Address::get_contact_name ( ) const
inline

Get the value of the 'contactName' attribute.

◆ get_country_code()

const StringPiece google_reseller_api::Address::get_country_code ( ) const
inline

Get the value of the 'countryCode' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_locality()

const StringPiece google_reseller_api::Address::get_locality ( ) const
inline

Get the value of the 'locality' attribute.

◆ get_organization_name()

const StringPiece google_reseller_api::Address::get_organization_name ( ) const
inline

Get the value of the 'organizationName' attribute.

◆ get_postal_code()

const StringPiece google_reseller_api::Address::get_postal_code ( ) const
inline

Get the value of the 'postalCode' attribute.

◆ get_region()

const StringPiece google_reseller_api::Address::get_region ( ) const
inline

Get the value of the 'region' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_reseller_api::Address

◆ has_address_line1()

bool google_reseller_api::Address::has_address_line1 ( ) const
inline

Determine if the 'addressLine1' attribute was set.

Returns
true if the 'addressLine1' attribute was set.

◆ has_address_line2()

bool google_reseller_api::Address::has_address_line2 ( ) const
inline

Determine if the 'addressLine2' attribute was set.

Returns
true if the 'addressLine2' attribute was set.

◆ has_address_line3()

bool google_reseller_api::Address::has_address_line3 ( ) const
inline

Determine if the 'addressLine3' attribute was set.

Returns
true if the 'addressLine3' attribute was set.

◆ has_contact_name()

bool google_reseller_api::Address::has_contact_name ( ) const
inline

Determine if the 'contactName' attribute was set.

Returns
true if the 'contactName' attribute was set.

◆ has_country_code()

bool google_reseller_api::Address::has_country_code ( ) const
inline

Determine if the 'countryCode' attribute was set.

Returns
true if the 'countryCode' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_locality()

bool google_reseller_api::Address::has_locality ( ) const
inline

Determine if the 'locality' attribute was set.

Returns
true if the 'locality' attribute was set.

◆ has_organization_name()

bool google_reseller_api::Address::has_organization_name ( ) const
inline

Determine if the 'organizationName' attribute was set.

Returns
true if the 'organizationName' attribute was set.

◆ has_postal_code()

bool google_reseller_api::Address::has_postal_code ( ) const
inline

Determine if the 'postalCode' attribute was set.

Returns
true if the 'postalCode' attribute was set.

◆ has_region()

bool google_reseller_api::Address::has_region ( ) const
inline

Determine if the 'region' attribute was set.

Returns
true if the 'region' attribute was set.

◆ New()

Address * google_reseller_api::Address::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_address_line1()

void google_reseller_api::Address::set_address_line1 ( const StringPiece &  value)
inline

Change the 'addressLine1' attribute.

A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional.

Parameters
[in]valueThe new value.

◆ set_address_line2()

void google_reseller_api::Address::set_address_line2 ( const StringPiece &  value)
inline

Change the 'addressLine2' attribute.

Line 2 of the address.

Parameters
[in]valueThe new value.

◆ set_address_line3()

void google_reseller_api::Address::set_address_line3 ( const StringPiece &  value)
inline

Change the 'addressLine3' attribute.

Line 3 of the address.

Parameters
[in]valueThe new value.

◆ set_contact_name()

void google_reseller_api::Address::set_contact_name ( const StringPiece &  value)
inline

Change the 'contactName' attribute.

The customer contact's name. This is required.

Parameters
[in]valueThe new value.

◆ set_country_code()

void google_reseller_api::Address::set_country_code ( const StringPiece &  value)
inline

Change the 'countryCode' attribute.

For countryCode information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Identifies the resource as a customer address. Value: customers::address.

Parameters
[in]valueThe new value.

◆ set_locality()

void google_reseller_api::Address::set_locality ( const StringPiece &  value)
inline

Change the 'locality' attribute.

An example of a locality value is the city of San Francisco.

Parameters
[in]valueThe new value.

◆ set_organization_name()

void google_reseller_api::Address::set_organization_name ( const StringPiece &  value)
inline

Change the 'organizationName' attribute.

The company or company division name. This is required.

Parameters
[in]valueThe new value.

◆ set_postal_code()

void google_reseller_api::Address::set_postal_code ( const StringPiece &  value)
inline

Change the 'postalCode' attribute.

A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer.

Parameters
[in]valueThe new value.

◆ set_region()

void google_reseller_api::Address::set_region ( const StringPiece &  value)
inline

Change the 'region' attribute.

An example of a region value is CA for the state of California.

Parameters
[in]valueThe new value.

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