Interface ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder (3.44.0)

public static interface ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBillingAccount()

public abstract String getBillingAccount()

Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

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

Returns
TypeDescription
String

The billingAccount.

getBillingAccountBytes()

public abstract ByteString getBillingAccountBytes()

Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

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

Returns
TypeDescription
ByteString

The bytes for billingAccount.

getEntitlement()

public abstract String getEntitlement()

Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The entitlement.

getEntitlementBytes()

public abstract ByteString getEntitlementBytes()

Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for entitlement.

getNewSku()

public abstract String getNewSku()

Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}

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

Returns
TypeDescription
String

The newSku.

getNewSkuBytes()

public abstract ByteString getNewSkuBytes()

Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}

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

Returns
TypeDescription
ByteString

The bytes for newSku.