← Back
Editing: read.php
<?php namespace Directorist\DTO\Refund; defined( "ABSPATH" ) || exit; use Directorist\Utils\DTO; class Read extends DTO { private int $page; private int $per_page; private string $search = ''; private int $order_id; /** * Get the value of page * * @return int */ public function get_page(): int { return $this->page; } /** * Set the value of page * * @param int $page * * @return self */ public function set_page( int $page ): self { $this->page = $page; return $this; } /** * Get the value of per_page * * @return int */ public function get_per_page(): int { return $this->per_page; } /** * Set the value of per_page * * @param int $per_page * * @return self */ public function set_per_page( int $per_page ): self { $this->per_page = $per_page; return $this; } /** * Get the value of search * * @return string */ public function get_search(): string { return $this->search; } /** * Set the value of search * * @param string $search * * @return self */ public function set_search( string $search ): self { $this->search = $search; return $this; } /** * Get the value of order_id * * @return int */ public function get_order_id(): int { return $this->order_id; } /** * Set the value of order_id * * @param int $order_id * * @return self */ public function set_order_id( int $order_id ): self { $this->order_id = $order_id; return $this; } }
Save File
Cancel