You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 satır
664B

  1. <?php
  2. namespace App\Transmission\Layouts;
  3. use App\Transmission\InterfaceID;
  4. class IF24_01Response extends IFResponse
  5. {
  6. public int $shopNo;
  7. public int $discountTicketCode;
  8. const COL_NAME_SHOP_NO = 'ShopNo';
  9. const COL_NAME_DISCOUNTTICKET_CODE = 'DiscountTicketCode';
  10. public function __construct()
  11. {
  12. parent::__construct();
  13. $this->header->interfaceId = InterfaceID::IF24_01->value;
  14. }
  15. public function getBodyArray(): array
  16. {
  17. $body = [];
  18. $body[self::COL_NAME_SHOP_NO] = $this->shopNo;
  19. $body[self::COL_NAME_DISCOUNTTICKET_CODE] = $this->discountTicketCode;
  20. return $body;
  21. }
  22. }