Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/TemplateSettings.php
Строк: 57
<?php

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class TemplateSettings
 *
 * Settings per template
 *
 * @package PayPalApi
 *
 * @property string field_name
 * @property PayPalApiTemplateSettingsMetadata display_preference
 */
class TemplateSettings extends PayPalModel
{
    
/**
     * The field name (for any field in template_data) for which the corresponding display preferences will be mapped to.
     *
     * @param string $field_name
     * 
     * @return $this
     */
    
public function setFieldName($field_name)
    {
        
$this->field_name $field_name;
        return 
$this;
    }

    
/**
     * The field name (for any field in template_data) for which the corresponding display preferences will be mapped to.
     *
     * @return string
     */
    
public function getFieldName()
    {
        return 
$this->field_name;
    }

    
/**
     * Settings metadata for each field.
     *
     * @param PayPalApiTemplateSettingsMetadata $display_preference
     * 
     * @return $this
     */
    
public function setDisplayPreference($display_preference)
    {
        
$this->display_preference $display_preference;
        return 
$this;
    }

    
/**
     * Settings metadata for each field.
     *
     * @return PayPalApiTemplateSettingsMetadata
     */
    
public function getDisplayPreference()
    {
        return 
$this->display_preference;
    }

}
Онлайн: 1
Реклама