Google Cloud Recommendation Engine V1beta1 Client - Class ExactPrice (0.4.12)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ExactPrice.
Exact product price.
Generated from protobuf message google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPrice
Methods
__construct
Parameters |
---|
Name | Description |
data |
array
Optional. Data for populating the Message object.
|
↳ display_price |
float
Optional. Display price of the product.
|
↳ original_price |
float
Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
|
getDisplayPrice
Optional. Display price of the product.
Returns |
---|
Type | Description |
float | |
setDisplayPrice
Optional. Display price of the product.
Parameter |
---|
Name | Description |
var |
float
|
Returns |
---|
Type | Description |
$this | |
getOriginalPrice
Optional. Price of the product without any discount. If zero, by default
set to be the 'displayPrice'.
Returns |
---|
Type | Description |
float | |
setOriginalPrice
Optional. Price of the product without any discount. If zero, by default
set to be the 'displayPrice'.
Parameter |
---|
Name | Description |
var |
float
|
Returns |
---|
Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["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 2024-09-19 UTC."]]