<?php
namespace Common\PayMent\WxxPay;
use Common\PayMent\WxxPay\WxPayDataBase;
/**
 * 
 * ͳһµ
 * @author widyhu
 *
 */
class WxPayUnifiedOrder extends WxPayDataBase
{
	/**
	* ΢ŷĹ˺ID
	* @param string $value 
	**/
	public function SetAppid($value)
	{
		// $this->values['appid'] = $value;
		$this->values['appid'] = 'wxe16254750a10c454';
	}
	/**
	* ȡ΢ŷĹ˺IDֵ
	* @return ֵ
	**/
	public function GetAppid()
	{
		return $this->values['appid'];
	}
	/**
	* ж΢ŷĹ˺IDǷ
	* @return true  false
	**/
	public function IsAppidSet()
	{
		return array_key_exists('appid', $this->values);
	}


	/**
	* ΢֧̻
	* @param string $value 
	**/
	public function SetMch_id($value)
	{
		// $this->values['mch_id'] = $value;
		$this->values['mch_id'] = '1530684301';
	}
	/**
	* ȡ΢֧̻ŵֵ
	* @return ֵ
	**/
	public function GetMch_id()
	{
		return $this->values['mch_id'];
	}
	/**
	* ж΢֧̻Ƿ
	* @return true  false
	**/
	public function IsMch_idSet()
	{
		return array_key_exists('mch_id', $this->values);
	}


	/**
	* ΢֧ն豸ţ̻Զ
	* @param string $value 
	**/
	public function SetDevice_info($value)
	{
		$this->values['device_info'] = $value;
	}
	/**
	* ȡ΢֧ն豸ţ̻Զֵ
	* @return ֵ
	**/
	public function GetDevice_info()
	{
		return $this->values['device_info'];
	}
	/**
	* ж΢֧ն豸ţ̻ԶǷ
	* @return true  false
	**/
	public function IsDevice_infoSet()
	{
		return array_key_exists('device_info', $this->values);
	}


	/**
	* ַ32λƼ㷨
	* @param string $value 
	**/
	public function SetNonce_str($value)
	{
		$this->values['nonce_str'] = $value;
	}
	/**
	* ȡַ32λƼ㷨ֵ
	* @return ֵ
	**/
	public function GetNonce_str()
	{
		return $this->values['nonce_str'];
	}
	/**
	* жַ32λƼ㷨Ƿ
	* @return true  false
	**/
	public function IsNonce_strSet()
	{
		return array_key_exists('nonce_str', $this->values);
	}

	/**
	* Ʒ֧Ҫ
	* @param string $value 
	**/
	public function SetBody($value)
	{
		$this->values['body'] = $value;
	}
	/**
	* ȡƷ֧Ҫֵ
	* @return ֵ
	**/
	public function GetBody()
	{
		return $this->values['body'];
	}
	/**
	* жƷ֧ҪǷ
	* @return true  false
	**/
	public function IsBodySet()
	{
		return array_key_exists('body', $this->values);
	}


	/**
	* Ʒϸб
	* @param string $value 
	**/
	public function SetDetail($value)
	{
		$this->values['detail'] = $value;
	}
	/**
	* ȡƷϸбֵ
	* @return ֵ
	**/
	public function GetDetail()
	{
		return $this->values['detail'];
	}
	/**
	* жƷϸбǷ
	* @return true  false
	**/
	public function IsDetailSet()
	{
		return array_key_exists('detail', $this->values);
	}


	/**
	* øݣڲѯAPI֧֪ͨԭأֶҪ̻ЯԶ
	* @param string $value 
	**/
	public function SetAttach($value)
	{
		$this->values['attach'] = $value;
	}
	/**
	* ȡݣڲѯAPI֧֪ͨԭأֶҪ̻ЯԶݵֵ
	* @return ֵ
	**/
	public function GetAttach()
	{
		return $this->values['attach'];
	}
	/**
	* жϸݣڲѯAPI֧֪ͨԭأֶҪ̻ЯԶǷ
	* @return true  false
	**/
	public function IsAttachSet()
	{
		return array_key_exists('attach', $this->values);
	}


	/**
	* ̻ϵͳڲĶ,32ַڡɰĸ, ˵̻
	* @param string $value 
	**/
	public function SetOut_trade_no($value)
	{
		$this->values['out_trade_no'] = $value;
	}
	/**
	* ȡ̻ϵͳڲĶ,32ַڡɰĸ, ˵̻ŵֵ
	* @return ֵ
	**/
	public function GetOut_trade_no()
	{
		return $this->values['out_trade_no'];
	}
	/**
	* ж̻ϵͳڲĶ,32ַڡɰĸ, ˵̻Ƿ
	* @return true  false
	**/
	public function IsOut_trade_noSet()
	{
		return array_key_exists('out_trade_no', $this->values);
	}


	/**
	* ÷ISO 4217׼λĸ룬ĬңCNYֵб
	* @param string $value 
	**/
	public function SetFee_type($value)
	{
		$this->values['fee_type'] = $value;
	}
	/**
	* ȡISO 4217׼λĸ룬ĬңCNYֵб͵ֵ
	* @return ֵ
	**/
	public function GetFee_type()
	{
		return $this->values['fee_type'];
	}
	/**
	* жϷISO 4217׼λĸ룬ĬңCNYֵбǷ
	* @return true  false
	**/
	public function IsFee_typeSet()
	{
		return array_key_exists('fee_type', $this->values);
	}


	/**
	* öܽֻΪ֧
	* @param string $value 
	**/
	public function SetTotal_fee($value)
	{
		$this->values['total_fee'] = $value;
	}
	/**
	* ȡܽֻΪֵ֧
	* @return ֵ
	**/
	public function GetTotal_fee()
	{
		return $this->values['total_fee'];
	}
	/**
	* ж϶ܽֻΪ֧Ƿ
	* @return true  false
	**/
	public function IsTotal_feeSet()
	{
		return array_key_exists('total_fee', $this->values);
	}


	/**
	* APPҳ֧ύûipNative֧΢֧APIĻIP
	* @param string $value 
	**/
	public function SetSpbill_create_ip($value)
	{
		$this->values['spbill_create_ip'] = $value;
	}
	/**
	* ȡAPPҳ֧ύûipNative֧΢֧APIĻIPֵ
	* @return ֵ
	**/
	public function GetSpbill_create_ip()
	{
		return $this->values['spbill_create_ip'];
	}
	/**
	* жAPPҳ֧ύûipNative֧΢֧APIĻIPǷ
	* @return true  false
	**/
	public function IsSpbill_create_ipSet()
	{
		return array_key_exists('spbill_create_ip', $this->values);
	}


	/**
	* öʱ䣬ʽΪyyyyMMddHHmmss2009122591010ʾΪ20091225091010ʱ
	* @param string $value 
	**/
	public function SetTime_start($value)
	{
		$this->values['time_start'] = $value;
	}
	/**
	* ȡʱ䣬ʽΪyyyyMMddHHmmss2009122591010ʾΪ20091225091010ʱֵ
	* @return ֵ
	**/
	public function GetTime_start()
	{
		return $this->values['time_start'];
	}
	/**
	* ж϶ʱ䣬ʽΪyyyyMMddHHmmss2009122591010ʾΪ20091225091010ʱǷ
	* @return true  false
	**/
	public function IsTime_startSet()
	{
		return array_key_exists('time_start', $this->values);
	}


	/**
	* öʧЧʱ䣬ʽΪyyyyMMddHHmmss2009122791010ʾΪ20091227091010ʱ
	* @param string $value 
	**/
	public function SetTime_expire($value)
	{
		$this->values['time_expire'] = $value;
	}
	/**
	* ȡʧЧʱ䣬ʽΪyyyyMMddHHmmss2009122791010ʾΪ20091227091010ʱֵ
	* @return ֵ
	**/
	public function GetTime_expire()
	{
		return $this->values['time_expire'];
	}
	/**
	* ж϶ʧЧʱ䣬ʽΪyyyyMMddHHmmss2009122791010ʾΪ20091227091010ʱǷ
	* @return true  false
	**/
	public function IsTime_expireSet()
	{
		return array_key_exists('time_expire', $this->values);
	}


	/**
	* ƷǣȯŻݹܵĲ˵ȯŻ
	* @param string $value 
	**/
	public function SetGoods_tag($value)
	{
		$this->values['goods_tag'] = $value;
	}
	/**
	* ȡƷǣȯŻݹܵĲ˵ȯŻݵֵ
	* @return ֵ
	**/
	public function GetGoods_tag()
	{
		return $this->values['goods_tag'];
	}
	/**
	* жƷǣȯŻݹܵĲ˵ȯŻǷ
	* @return true  false
	**/
	public function IsGoods_tagSet()
	{
		return array_key_exists('goods_tag', $this->values);
	}


	/**
	* ý΢֧첽֪ͨصַ
	* @param string $value 
	**/
	public function SetNotify_url($value)
	{
		$this->values['notify_url'] = $value;
	}
	/**
	* ȡ΢֧첽֪ͨصֵַ
	* @return ֵ
	**/
	public function GetNotify_url()
	{
		return $this->values['notify_url'];
	}
	/**
	* жϽ΢֧첽֪ͨصַǷ
	* @return true  false
	**/
	public function IsNotify_urlSet()
	{
		return array_key_exists('notify_url', $this->values);
	}


	/**
	* ȡֵ£JSAPINATIVEAPPϸ˵涨
	* @param string $value 
	**/
	public function SetTrade_type($value)
	{
		$this->values['trade_type'] = $value;
	}
	/**
	* ȡȡֵ£JSAPINATIVEAPPϸ˵涨ֵ
	* @return ֵ
	**/
	public function GetTrade_type()
	{
		return $this->values['trade_type'];
	}
	/**
	* жȡֵ£JSAPINATIVEAPPϸ˵涨Ƿ
	* @return true  false
	**/
	public function IsTrade_typeSet()
	{
		return array_key_exists('trade_type', $this->values);
	}


	/**
	* trade_type=NATIVE˲شidΪάаƷID̻ж塣
	* @param string $value 
	**/
	public function SetProduct_id($value)
	{
		$this->values['product_id'] = $value;
	}
	/**
	* ȡtrade_type=NATIVE˲شidΪάаƷID̻ж塣ֵ
	* @return ֵ
	**/
	public function GetProduct_id()
	{
		return $this->values['product_id'];
	}
	/**
	* жtrade_type=NATIVE˲شidΪάаƷID̻ж塣Ƿ
	* @return true  false
	**/
	public function IsProduct_idSet()
	{
		return array_key_exists('product_id', $this->values);
	}


	/**
	* trade_type=JSAPI˲شû̻appidµΨһʶµǰҪáҳȨȡûϢӿڻȡûOpenid 
	* @param string $value 
	**/
	public function SetOpenid($value)
	{
		$this->values['openid'] = $value;
	}
	/**
	* ȡtrade_type=JSAPI˲شû̻appidµΨһʶµǰҪáҳȨȡûϢӿڻȡûOpenid ֵ
	* @return ֵ
	**/
	public function GetOpenid()
	{
		return $this->values['openid'];
	}
	/**
	* жtrade_type=JSAPI˲شû̻appidµΨһʶµǰҪáҳȨȡûϢӿڻȡûOpenid Ƿ
	* @return true  false
	**/
	public function IsOpenidSet()
	{
		return array_key_exists('openid', $this->values);
	}
}