<?php
/**
 * WARNING: Do not edit by hand, this file was generated by Crank:
 *
 * https://github.com/gocardless/crank
 */

namespace GoCardlessPro\Resources;

/**
 * A thin wrapper around a tax_rate, providing access to its
 * attributes
 *
 * @property-read mixed $end_date
 * @property-read mixed $id
 * @property-read mixed $jurisdiction
 * @property-read mixed $percentage
 * @property-read mixed $start_date
 * @property-read mixed $type
 */
class TaxRate extends BaseResource
{
    protected $model_name = "TaxRate";

    /**
     * Date at which GoCardless stopped applying the tax rate for the
     * jurisdiction.
     */
    protected $end_date;

    /**
     * The unique identifier created by the jurisdiction, tax type and version
     */
    protected $id;

    /**
     * The jurisdiction this tax rate applies to
     */
    protected $jurisdiction;

    /**
     * The percentage of tax that is applied onto of GoCardless fees
     */
    protected $percentage;

    /**
     * Date at which GoCardless started applying the tax rate in the
     * jurisdiction.
     */
    protected $start_date;

    /**
     * The type of tax applied by this rate
     */
    protected $type;

}
