Google Cloud Commerce Consumer Procurement V1 Client - Class Value (1.1.0)

Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class Value.

Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.Parameter.Value

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1 \ Parameter

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ int64_value int|string

Represents an int64 value.

↳ string_value string

Represents a string value.

↳ double_value float

Represents a double value.

getInt64Value

Represents an int64 value.

Returns
Type Description
int|string

hasInt64Value

setInt64Value

Represents an int64 value.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStringValue

Represents a string value.

Returns
Type Description
string

hasStringValue

setStringValue

Represents a string value.

Parameter
Name Description
var string
Returns
Type Description
$this

getDoubleValue

Represents a double value.

Returns
Type Description
float

hasDoubleValue

setDoubleValue

Represents a double value.

Parameter
Name Description
var float
Returns
Type Description
$this

getKind

Returns
Type Description
string