<?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 currency_exchange_rate, providing access to its
 * attributes
 *
 * @property-read mixed $rate
 * @property-read mixed $source
 * @property-read mixed $target
 * @property-read mixed $time
 */
class CurrencyExchangeRate extends BaseResource
{
    protected $model_name = "CurrencyExchangeRate";

    /**
     * The exchange rate from the source to target currencies provided with up
     * to 10 decimal places.
     */
    protected $rate;

    /**
     * Source currency
     */
    protected $source;

    /**
     * Target currency
     */
    protected $target;

    /**
     * Time at which the rate was retrieved from the provider.
     */
    protected $time;

}
