SetPartnerSellMessage.php 1015 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. namespace App\Generated\V1\Messages\Partner;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class SetPartnerSellMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $partner_id;
  10. protected $is_sell;
  11. /**
  12. * @return int
  13. */
  14. public function getPartner_id()
  15. {
  16. return $this->partner_id;
  17. }
  18. /**
  19. * @return boolean
  20. */
  21. public function getIs_sell()
  22. {
  23. return $this->is_sell;
  24. }
  25. /**
  26. * @return boolean
  27. */
  28. public function isIs_sell()
  29. {
  30. return $this->is_sell;
  31. }
  32. public function requestRules()
  33. {
  34. return [
  35. ['partner_id', 'partner_id', 'bail|integer', Constants::INTEGER, null],
  36. ['is_sell', 'is_sell', 'bail|boolean', Constants::BOOLEAN, null],
  37. ];
  38. }
  39. public function responseRules()
  40. {
  41. return [
  42. ];
  43. }
  44. public function setResponse()
  45. {
  46. }
  47. }