<?php

declare(strict_types=1);

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

namespace PaypalServerSdkLib\Models;

/**
 * DEPRECATED. DEPRECATED. The shipping preference: Displays the shipping address to the customer.
 * Enables the customer to choose an address on the PayPal site. Restricts the customer from changing
 * the address during the payment-approval process. .  The fields in `application_context` are now
 * available in the `experience_context` object under the `payment_source` which supports them (eg.
 * `payment_source.paypal.experience_context.shipping_preference`). Please specify this field in the
 * `experience_context` object instead of the `application_context` object.
 */
class OrderApplicationContextShippingPreference
{
    /**
     * Use the customer-provided shipping address on the PayPal site.
     */
    public const GET_FROM_FILE = 'GET_FROM_FILE';

    /**
     * Redact the shipping address from the PayPal site. Recommended for digital goods.
     */
    public const NO_SHIPPING = 'NO_SHIPPING';

    /**
     * Use the merchant-provided address. The customer cannot change this address on the PayPal site.
     */
    public const SET_PROVIDED_ADDRESS = 'SET_PROVIDED_ADDRESS';
}
