123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?php
- namespace JinDouYun\Model\Order;
- /**
- * 销售订单打印数据
- * Class SaleOrder
- * @package JinDouYun\Model\Order
- */
- class SaleOrder
- {
- /**
- * @var string 单号
- */
- public $no;
- /**
- * @var string 单据名称
- */
- public $receiptTitle;
- /**
- * @var string 单号名称
- */
- public $codeName;
- /**
- * @var string 客户名称
- */
- public $customerName;
- /**
- * @var int 客户手机号
- */
- public $customerMobile;
- /**
- * @var float 优惠金额
- */
- public $preferentialAmount;
- /**
- * @var float 总金额
- */
- public $totalAmount;
- /**
- * @var float 支付金额
- */
- public $payAmount;
- /**
- * @var int 时间
- */
- public $createTime;
- /**
- * @var string 店铺名称
- */
- public $shopName;
- /**
- * @var array
- */
- public $goodsDetails;
- /**
- * @var string
- */
- public $address;
- /**
- * @return string
- */
- public function getAddress(): string
- {
- return $this->address;
- }
- /**
- * @param string $address
- */
- public function setAddress(string $address): void
- {
- $this->address = $address;
- }
- /**
- * @return string
- */
- public function getNo(): string
- {
- return $this->no;
- }
- /**
- * @param string $no
- */
- public function setNo(string $no): void
- {
- $this->no = $no;
- }
- /**
- * @return string
- */
- public function getReceiptTitle(): string
- {
- return $this->receiptTitle;
- }
- /**
- * @param string $receiptTitle
- */
- public function setReceiptTitle(string $receiptTitle): void
- {
- $this->receiptTitle = $receiptTitle;
- }
- /**
- * @return string
- */
- public function getCodeName(): string
- {
- return $this->codeName;
- }
- /**
- * @param string $codeName
- */
- public function setCodeName(string $codeName): void
- {
- $this->codeName = $codeName;
- }
- /**
- * @return string
- */
- public function getCustomerName(): string
- {
- return $this->customerName;
- }
- /**
- * @param string $customerName
- */
- public function setCustomerName(string $customerName): void
- {
- $this->customerName = $customerName;
- }
- /**
- * @return int
- */
- public function getCustomerMobile(): int
- {
- return $this->customerMobile;
- }
- /**
- * @param int $customerMobile
- */
- public function setCustomerMobile(int $customerMobile): void
- {
- $this->customerMobile = $customerMobile;
- }
- /**
- * @return float
- */
- public function getPreferentialAmount(): float
- {
- return $this->preferentialAmount;
- }
- /**
- * @param float $preferentialAmount
- */
- public function setPreferentialAmount(float $preferentialAmount): void
- {
- $this->preferentialAmount = $preferentialAmount;
- }
- /**
- * @return float
- */
- public function getTotalAmount(): float
- {
- return $this->totalAmount;
- }
- /**
- * @param float $totalAmount
- */
- public function setTotalAmount(float $totalAmount): void
- {
- $this->totalAmount = $totalAmount;
- }
- /**
- * @return float
- */
- public function getPayAmount(): float
- {
- return $this->payAmount;
- }
- /**
- * @param float $payAmount
- */
- public function setPayAmount(float $payAmount): void
- {
- $this->payAmount = $payAmount;
- }
- /**
- * @return array
- */
- public function getGoodsDetails(): array
- {
- return (array)$this->goodsDetails;
- }
- /**
- * @param array $goodsDetails
- */
- public function setGoodsDetails(array $goodsDetails): void
- {
- $this->goodsDetails = $goodsDetails;
- }
- /**
- * @return int
- */
- public function getCreateTime(): int
- {
- return $this->createTime;
- }
- /**
- * @param int $createTime
- */
- public function setCreateTime(int $createTime): void
- {
- $this->createTime = $createTime;
- }
- /**
- * @return string
- */
- public function getShopName(): string
- {
- return $this->shopName;
- }
- /**
- * @param string $shopName
- */
- public function setShopName(string $shopName): void
- {
- $this->shopName = $shopName;
- }
- }
|