MediaOrderContent.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?php
  2. namespace UnionOpenExchangeMediaOrderSync;
  3. class MediaOrderContent{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.exchange.MediaOrderContent";
  7. }
  8. private $authorPrice;
  9. public function setAuthorPrice($authorPrice){
  10. $this->params['authorPrice'] = $authorPrice;
  11. }
  12. public function getAuthorPrice(){
  13. return $this->authorPrice;
  14. }
  15. private $authorName;
  16. public function setAuthorName($authorName){
  17. $this->params['authorName'] = $authorName;
  18. }
  19. public function getAuthorName(){
  20. return $this->authorName;
  21. }
  22. private $authorFansNum;
  23. public function setAuthorFansNum($authorFansNum){
  24. $this->params['authorFansNum'] = $authorFansNum;
  25. }
  26. public function getAuthorFansNum(){
  27. return $this->authorFansNum;
  28. }
  29. private $pubTime;
  30. public function setPubTime($pubTime){
  31. $this->params['pubTime'] = $pubTime;
  32. }
  33. public function getPubTime(){
  34. return $this->pubTime;
  35. }
  36. private $contentId;
  37. public function setContentId($contentId){
  38. $this->params['contentId'] = $contentId;
  39. }
  40. public function getContentId(){
  41. return $this->contentId;
  42. }
  43. private $authorId;
  44. public function setAuthorId($authorId){
  45. $this->params['authorId'] = $authorId;
  46. }
  47. public function getAuthorId(){
  48. return $this->authorId;
  49. }
  50. private $authorReferencePrice;
  51. public function setAuthorReferencePrice($authorReferencePrice){
  52. $this->params['authorReferencePrice'] = $authorReferencePrice;
  53. }
  54. public function getAuthorReferencePrice(){
  55. return $this->authorReferencePrice;
  56. }
  57. private $pubLink;
  58. public function setPubLink($pubLink){
  59. $this->params['pubLink'] = $pubLink;
  60. }
  61. public function getPubLink(){
  62. return $this->pubLink;
  63. }
  64. private $contentName;
  65. public function setContentName($contentName){
  66. $this->params['contentName'] = $contentName;
  67. }
  68. public function getContentName(){
  69. return $this->contentName;
  70. }
  71. private $oldContentId;
  72. public function setOldContentId($oldContentId){
  73. $this->params['oldContentId'] = $oldContentId;
  74. }
  75. public function getOldContentId(){
  76. return $this->oldContentId;
  77. }
  78. function getInstance(){
  79. return $this->params;
  80. }
  81. }
  82. ?>