← Back
Editing: dto.php
<?php namespace Directorist\DTO\Refund; defined( "ABSPATH" ) || exit; class DTO extends \Directorist\Utils\DTO { private int $id; private int $order_id; private float $amount; private string $status; private string $reason; /** * Get the value of id * * @return int */ public function get_id(): int { return $this->id; } /** * Set the value of id * * @param int $id * * @return self */ public function set_id( int $id ): self { $this->id = $id; 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; } /** * Get the value of amount * * @return float */ public function get_amount(): float { return $this->amount; } /** * Set the value of amount * * @param float $amount * * @return self */ public function set_amount( float $amount ): self { $this->amount = $amount; return $this; } /** * Get the value of status * * @return string */ public function get_status(): string { return $this->status; } /** * Set the value of status * * @param string $status * * @return self */ public function set_status( string $status ): self { $this->status = $status; return $this; } /** * Get the value of reason * * @return string */ public function get_reason(): string { return $this->reason; } /** * Set the value of reason * * @param string $reason * * @return self */ public function set_reason( string $reason ): self { $this->reason = $reason; return $this; } }
Save File
Cancel