[[["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-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class Price (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.Price)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.Price)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.Price)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.Price)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.Price)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.Price)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.Price)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.Price)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.Price)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.Price)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.Price)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.Price)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.Price)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.Price) \nReference documentation and code samples for the Google Cloud Channel V1 Client class Price.\n\nRepresents the price of the Offer.\n\nGenerated from protobuf message `google.cloud.channel.v1.Price`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBasePrice\n\nBase price.\n\n### hasBasePrice\n\n### clearBasePrice\n\n### setBasePrice\n\nBase price.\n\n### getDiscount\n\nDiscount percentage, represented as decimal.\n\nFor example, a 20% discount will be represent as 0.2.\n\n### setDiscount\n\nDiscount percentage, represented as decimal.\n\nFor example, a 20% discount will be represent as 0.2.\n\n### getEffectivePrice\n\nEffective Price after applying the discounts.\n\n### hasEffectivePrice\n\n### clearEffectivePrice\n\n### setEffectivePrice\n\nEffective Price after applying the discounts.\n\n### getExternalPriceUri\n\nLink to external price list, such as link to Google Voice rate card.\n\n### setExternalPriceUri\n\nLink to external price list, such as link to Google Voice rate card."]]