<?php

declare(strict_types=1);

/*
 * PaypalServerSdkLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

namespace PaypalServerSdkLib\Models;

/**
 * Indicates if this is a `first` or `subsequent` payment using a stored payment source (also referred
 * to as stored credential or card on file).
 */
class StoredPaymentSourceUsageType
{
    /**
     * Indicates the Initial/First payment with a payment_source that is intended to be stored upon
     * successful processing of the payment.
     */
    public const FIRST = 'FIRST';

    /**
     * Indicates a payment using a stored payment_source which has been successfully used previously for a
     * payment.
     */
    public const SUBSEQUENT = 'SUBSEQUENT';

    /**
     * Indicates that PayPal will derive the value of `FIRST` or `SUBSEQUENT` based on data available to
     * PayPal.
     */
    public const DERIVED = 'DERIVED';
}
