Interface ListPurchasableOffersRequestOrBuilder (3.53.0)

public interface ListPurchasableOffersRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeOfferPurchase()

public abstract ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
Type Description
ListPurchasableOffersRequest.ChangeOfferPurchase

The changeOfferPurchase.

getChangeOfferPurchaseOrBuilder()

public abstract ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
Type Description
ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder

getCreateEntitlementPurchase()

public abstract ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
Type Description
ListPurchasableOffersRequest.CreateEntitlementPurchase

The createEntitlementPurchase.

getCreateEntitlementPurchaseOrBuilder()

public abstract ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
Type Description
ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder

getCustomer()

public abstract String getCustomer()

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The customer.

getCustomerBytes()

public abstract ByteString getCustomerBytes()

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for customer.

getLanguageCode()

public abstract String getLanguageCode()

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getPageSize()

public abstract int getPageSize()

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. A token for a page of results other than the first page.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. A token for a page of results other than the first page.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getPurchaseOptionCase()

public abstract ListPurchasableOffersRequest.PurchaseOptionCase getPurchaseOptionCase()
Returns
Type Description
ListPurchasableOffersRequest.PurchaseOptionCase

hasChangeOfferPurchase()

public abstract boolean hasChangeOfferPurchase()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
Type Description
boolean

Whether the changeOfferPurchase field is set.

hasCreateEntitlementPurchase()

public abstract boolean hasCreateEntitlementPurchase()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
Type Description
boolean

Whether the createEntitlementPurchase field is set.