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

namespace PagarmeCoreApiLib\Models;

use JsonSerializable;

/**
 *Anticipation limits
 */
class GetAnticipationLimitsResponse implements JsonSerializable
{
    /**
     * Max limit
     * @required
     * @var \PagarmeCoreApiLib\Models\GetAnticipationLimitResponse $max public property
     */
    public $max;

    /**
     * Min limit
     * @required
     * @var \PagarmeCoreApiLib\Models\GetAnticipationLimitResponse $min public property
     */
    public $min;

    /**
     * Constructor to set initial or default values of member properties
     * @param GetAnticipationLimitResponse $max Initialization value for $this->max
     * @param GetAnticipationLimitResponse $min Initialization value for $this->min
     */
    public function __construct()
    {
        if (2 == func_num_args()) {
            $this->max = func_get_arg(0);
            $this->min = func_get_arg(1);
        }
    }


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

        return $json;
    }
}
