Reference documentation and code samples for the Google Cloud Channel V1 Client class ChangeOfferPurchase.
List Offers for ChangeOffer purchase.
Generated from protobuf message google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase
Namespace
Google \ Cloud \ Channel \ V1 \ ListPurchasableOffersRequest
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ entitlement
string
Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
↳ new_sku
string
Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}
↳ billing_account
string
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.
Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
Returns
Type
Description
string
setNewSku
Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
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.
Returns
Type
Description
string
setBillingAccount
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class ChangeOfferPurchase (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.ListPurchasableOffersRequest.ChangeOfferPurchase)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.ListPurchasableOffersRequest.ChangeOfferPurchase) \nReference documentation and code samples for the Google Cloud Channel V1 Client class ChangeOfferPurchase.\n\nList Offers for ChangeOffer purchase.\n\nGenerated from protobuf message `google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1 \\\\ ListPurchasableOffersRequest\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEntitlement\n\nRequired. Resource name of the entitlement.\n\nFormat:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### setEntitlement\n\nRequired. Resource name of the entitlement.\n\nFormat:\naccounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}\n\n### getNewSku\n\nOptional. Resource name of the new target SKU. Provide this SKU when\nupgrading or downgrading an entitlement. Format:\nproducts/{product_id}/skus/{sku_id}\n\n### setNewSku\n\nOptional. Resource name of the new target SKU. Provide this SKU when\nupgrading or downgrading an entitlement. Format:\nproducts/{product_id}/skus/{sku_id}\n\n### getBillingAccount\n\nOptional. Resource name of the new target Billing Account. Provide this\nBilling Account when setting up billing for a trial subscription. Format:\naccounts/{account_id}/billingAccounts/{billing_account_id}.\n\nThis field is only relevant for multi-currency accounts. It should be\nleft empty for single currency accounts.\n\n### setBillingAccount\n\nOptional. Resource name of the new target Billing Account. Provide this\nBilling Account when setting up billing for a trial subscription. Format:\naccounts/{account_id}/billingAccounts/{billing_account_id}.\n\nThis field is only relevant for multi-currency accounts. It should be\nleft empty for single currency accounts."]]