<?php
/**
 * MailClassOutboundOnly
 *
 * PHP version 5
 *
 * @category Class
 * @package  USPS\DomesticPrices
 * @author   Swagger Codegen team
 * @link     https://github.com/swagger-api/swagger-codegen
 */

/**
 * Domestic Prices
 *
 * Contact Us: [USPS API Support](https://emailus.usps.com/s/usps-APIs) | [Terms of Service](https://about.usps.com/termsofuse.htm)  The prices API can be used to calculate postage rates for domestic packages:  * Base postage based on a set of given package characteristics * Base postage based on a given Stock Keeping Units (SKUs) * Extra service postage based on a given extra service code and mail class * A list of eligible products for a given set of package characteristics  For specifications such as package and letter dimensions, delivery information, etc., please refer to the [Domestic Mail Manual (DMM)](https://pe.usps.com/DMM300).  For a list of published prices please refer to the [USPS&#174; Price List](https://pe.usps.com/text/dmm300/Notice123.htm).  To discover the rate ingredients for this API, please visit [Publication 205](https://postalpro.usps.com/pub205).    **Authentication, Authorization and Access Control**      Client applications are given authorized access to protected information resources. Authorization is accomplished via the USPS&#174; Customer Onboarding Platform, where Customer Registration users may grant applications access to their protected business information. All client applications must go through this onboarding process. Any Customer Registration user wishing to share their protected business information with client application(s) may also grant authorized access.  The OAuth2, version 3 (/v3), API is based on this authorization grant and must be used to get tokens for all V3 APIs. * The resulting OAuth2 access token is to be placed in the **Authorization** header, using the **Bearer** authentication scheme. * All version 3 APIs validate access to protected information resources and will respond with a *401* HTTP status, *Unauthorized* reason, when the client application has not been authorized to access the given information resource.  The following APIs may include payment account or permit identification used to get contract rates.  If all mail classes are needed, please use the /total-rates/search endpoint.
 *
 * OpenAPI spec version: 3.4.27
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 * Swagger Codegen version: 3.0.71
 */
/**
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen
 * Do not edit the class manually.
 */

namespace USPS\DomesticPrices\Model;
use \USPS\DomesticPrices\ObjectSerializer;

/**
 * MailClassOutboundOnly Class Doc Comment
 *
 * @category Class
 * @description The mail service requested.   Note:  - A single mail class option is deprecated and will be removed in the next major revision.  This attribute will be replaced with the list of mail classes.  - &#x60;PARCEL_SELECT_LIGHTWEIGHT&#x60; is deprecated and will convert to &#x60;PARCEL_SELECT&#x60;  - &#x60;FIRST-CLASS_PACKAGE_SERVICE&#x60; is deprecated and will convert to &#x60;USPS_GROUND_ADVANTAGE&#x60;  - &#x60;USPS_RETAIL_GROUND&#x60; is no longer supported and will return a 400 if used
 * @package  USPS\DomesticPrices
 * @author   Swagger Codegen team
 * @link     https://github.com/swagger-api/swagger-codegen
 */
class MailClassOutboundOnly
{
    /**
     * Possible values of this enum
     */
    const PARCEL_SELECT = 'PARCEL_SELECT';
    const PARCEL_SELECT_LIGHTWEIGHT = 'PARCEL_SELECT_LIGHTWEIGHT';
    const PRIORITY_MAIL_EXPRESS = 'PRIORITY_MAIL_EXPRESS';
    const PRIORITY_MAIL = 'PRIORITY_MAIL';
    const FIRST_CLASS_PACKAGE_SERVICE = 'FIRST-CLASS_PACKAGE_SERVICE';
    const LIBRARY_MAIL = 'LIBRARY_MAIL';
    const MEDIA_MAIL = 'MEDIA_MAIL';
    const BOUND_PRINTED_MATTER = 'BOUND_PRINTED_MATTER';
    const USPS_CONNECT_LOCAL = 'USPS_CONNECT_LOCAL';
    const USPS_CONNECT_MAIL = 'USPS_CONNECT_MAIL';
    const USPS_CONNECT_REGIONAL = 'USPS_CONNECT_REGIONAL';
    const USPS_GROUND_ADVANTAGE = 'USPS_GROUND_ADVANTAGE';
    const USPS_RETAIL_GROUND = 'USPS_RETAIL_GROUND';
    const ALL = 'ALL';
    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::PARCEL_SELECT,
            self::PARCEL_SELECT_LIGHTWEIGHT,
            self::PRIORITY_MAIL_EXPRESS,
            self::PRIORITY_MAIL,
            self::FIRST_CLASS_PACKAGE_SERVICE,
            self::LIBRARY_MAIL,
            self::MEDIA_MAIL,
            self::BOUND_PRINTED_MATTER,
            self::USPS_CONNECT_LOCAL,
            self::USPS_CONNECT_MAIL,
            self::USPS_CONNECT_REGIONAL,
            self::USPS_GROUND_ADVANTAGE,
            self::USPS_RETAIL_GROUND,
            self::ALL
        ];
    }
}
