<?php
class GoodsDetail
{
private $goodsId;
private $alipayGoodsId;
private $goodsName;
private $quantity;
private $price;
private $goodsCategory;
private $body;
private $goodsDetail = array();
public function getGoodsDetail()
{
return $this->goodsDetail;
}
public function setGoodsId($goodsId)
{
$this->goodsId = $goodsId;
$this->goodsDetail['goods_id'] = $goodsId;
}
public function getGoodsId()
{
return $this->goodsId;
}
public function setAlipayGoodsId($alipayGoodsId)
{
$this->alipayGoodsId = $alipayGoodsId;
$this->goodsDetail['alipay_goods_id'] = $alipayGoodsId;
}
public function getAlipayGoodsId()
{
return $this->alipayGoodsId;
}
public function setGoodsName($goodsName)
{
$this->goodsName = $goodsName;
$this->goodsDetail['goods_name'] = $goodsName;
}
public function getGoodsName()
{
return $this->goodsName;
}
public function setQuantity($quantity)
{
$this->quantity = $quantity;
$this->goodsDetail['quantity'] = $quantity;
}
public function getQuantity()
{
return $this->quantity;
}
public function setPrice($price)
{
$this->price = $price;
$this->goodsDetail['price'] = $price;
}
public function getPrice()
{
return $this->price;
}
public function setGoodsCategory($goodsCategory)
{
$this->goodsCategory = $goodsCategory;
$this->goodsDetail['goods_category'] = $goodsCategory;
}
public function getGoodsCategory()
{
return $this->goodsCategory;
}
public function setBody($body)
{
$this->body = $body;
$this->goodsDetail['body'] = $body;
}
public function getBody()
{
return $this->body;
}
}
?>