Interface PrivateOffer.CustomerOrBuilder (0.1.0)

public static interface PrivateOffer.CustomerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress() (deprecated)

public abstract String getAddress()

Deprecated. google.cloud.commerceproducer.v1beta.PrivateOffer.Customer.address is deprecated. See google/cloud/commerceproducer/v1beta/private_offer.proto;l=97

Output only. Legal address of the customer organization. This field can no longer be set, but it is preserved to return the data from existing offers where address is set.

string address = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The address.

getAddressBytes() (deprecated)

public abstract ByteString getAddressBytes()

Deprecated. google.cloud.commerceproducer.v1beta.PrivateOffer.Customer.address is deprecated. See google/cloud/commerceproducer/v1beta/private_offer.proto;l=97

Output only. Legal address of the customer organization. This field can no longer be set, but it is preserved to return the data from existing offers where address is set.

string address = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for address.

getContact()

public abstract String getContact()

Optional. A string identifying the customer contact. Must be provided when publishing the offer. Maximum length: 256 characters.

string contact = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The contact.

getContactBytes()

public abstract ByteString getContactBytes()

Optional. A string identifying the customer contact. Must be provided when publishing the offer. Maximum length: 256 characters.

string contact = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for contact.

getEmail()

public abstract String getEmail()

Optional. Email of customer contact. If provided, it must be a well-formed email address.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Optional. Email of customer contact. If provided, it must be a well-formed email address.

string email = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getEntityTitle()

public abstract String getEntityTitle()

Optional. A string identifying the customer's entity (for example, the customer's organization or company name). Must be provided when publishing the offer. Maximum length: 256 characters.

string entity_title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The entityTitle.

getEntityTitleBytes()

public abstract ByteString getEntityTitleBytes()

Optional. A string identifying the customer's entity (for example, the customer's organization or company name). Must be provided when publishing the offer. Maximum length: 256 characters.

string entity_title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for entityTitle.

getTargetBillingAccount()

public abstract String getTargetBillingAccount()

Optional. The customer's billing account targeted by the offer. The private offer once published can be accepted by a billing administrator of the target billing account. If the customer accepts the offer and later moves the resulting order to a new billing account, this field will continue to reflect the original billing account to which the private offer was extended. Must be provided when publishing the offer.

To publish this private offer:

  • The billing account must exist.
  • The billing account must not be in a free trial.
  • The billing account must comply with Marketplace Reselling Policies.
  • Reseller parent billing accounts are prohibited. Reseller subaccounts are prohibited unless the service is enabled for reselling.

    Format: billingAccounts/012345-567890-ABCDEF

string target_billing_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The targetBillingAccount.

getTargetBillingAccountBytes()

public abstract ByteString getTargetBillingAccountBytes()

Optional. The customer's billing account targeted by the offer. The private offer once published can be accepted by a billing administrator of the target billing account. If the customer accepts the offer and later moves the resulting order to a new billing account, this field will continue to reflect the original billing account to which the private offer was extended. Must be provided when publishing the offer.

To publish this private offer:

  • The billing account must exist.
  • The billing account must not be in a free trial.
  • The billing account must comply with Marketplace Reselling Policies.
  • Reseller parent billing accounts are prohibited. Reseller subaccounts are prohibited unless the service is enabled for reselling.

    Format: billingAccounts/012345-567890-ABCDEF

string target_billing_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for targetBillingAccount.