You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
849 B

<?php
class GTCondition extends GTApiRequest{
private $key;
private $values;
private $opt_type;
public function getKey()
{
return $this->key;
}
public function setKey($key)
{
$this->key = $key;
$this->apiParam["key"] = $key;
}
public function getValues()
{
return $this->values;
}
public function setValues($values)
{
$this->values = $values;
}
public function getOptType()
{
return $this->opt_type;
}
public function setOptType($opt_type)
{
$this->opt_type = $opt_type;
$this->apiParam["opt_type"] = $opt_type;
}
public function getApiParam()
{
if ($this->values != null){
$this->apiParam["values"] = $this->values;
}
return $this->apiParam;
}
}