<?php
/*
 * PagarmeCoreApiLib
 *
 * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
 */

namespace PagarmeCoreApiLib\Models;

use JsonSerializable;

/**
 *Recipient response
 */
class GetRecipientPhonesResponse implements JsonSerializable
{

    /**
     * DDD
     * @required
     * @maps ddd
     * @var string $ddd public property
     */
    public $ddd;
    /**
     * Number
     * @required
     * @maps number
     * @var string $number public property
     */
    public $number;
    /**
     * Type
     * @required
     * @maps type
     * @var string $type public property
     */
    public $type;


    /**
     * Constructor to set initial or default values of member properties
     
     */
    public function __construct()
    {
        if (func_num_args() === 3) {
            $this->ddd       = func_get_arg(0);
            $this->number    = func_get_arg(1);
            $this->type      = func_get_arg(2);
        }
    }


    /**
     * Encode this object to JSON
     */
    #[\ReturnTypeWillChange]
    public function jsonSerialize()
    {
        $json = array();
        $json['ddd']    = $this->ddd;
        $json['number'] = $this->number;
        $json['type']   = $this->type;

        return $json;
    }
}
