Google Cloud Commerce Producer V1beta Client - Class PartnerContact (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class PartnerContact.

Contact information for the partner representative.

Generated from protobuf message google.cloud.commerceproducer.v1beta.PrivateOffer.PartnerContact

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ PrivateOffer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ contact string

Optional. Display text identifying the partner sales contact. Displayed to the customer. Must be provided when publishing the offer. Maximum length: 256 characters.

↳ email string

Optional. The email address of the partner sales contact. Displayed to the customer. The format of the provided email address is validated when publishing the offer, but no verification is performed that the email address actually exists, accepts email, or is otherwise functional.

getContact

Optional. Display text identifying the partner sales contact.

Displayed to the customer. Must be provided when publishing the offer. Maximum length: 256 characters.

Returns
Type Description
string

setContact

Optional. Display text identifying the partner sales contact.

Displayed to the customer. Must be provided when publishing the offer. Maximum length: 256 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getEmail

Optional. The email address of the partner sales contact.

Displayed to the customer. The format of the provided email address is validated when publishing the offer, but no verification is performed that the email address actually exists, accepts email, or is otherwise functional.

Returns
Type Description
string

setEmail

Optional. The email address of the partner sales contact.

Displayed to the customer. The format of the provided email address is validated when publishing the offer, but no verification is performed that the email address actually exists, accepts email, or is otherwise functional.

Parameter
Name Description
var string
Returns
Type Description
$this