Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • PayPal\Api\Address
  • PayPal\Api\Agreement
  • PayPal\Api\AgreementDetails
  • PayPal\Api\AgreementStateDescriptor
  • PayPal\Api\AgreementTransaction
  • PayPal\Api\AgreementTransactions
  • PayPal\Api\AlternatePayment
  • PayPal\Api\Amount
  • PayPal\Api\Authorization
  • PayPal\Api\BankAccount
  • PayPal\Api\BankAccountsList
  • PayPal\Api\BankToken
  • PayPal\Api\BaseAddress
  • PayPal\Api\Billing
  • PayPal\Api\BillingAgreementToken
  • PayPal\Api\BillingInfo
  • PayPal\Api\CancelNotification
  • PayPal\Api\Capture
  • PayPal\Api\CarrierAccount
  • PayPal\Api\CarrierAccountToken
  • PayPal\Api\CartBase
  • PayPal\Api\ChargeModel
  • PayPal\Api\Cost
  • PayPal\Api\CountryCode
  • PayPal\Api\CreateProfileResponse
  • PayPal\Api\Credit
  • PayPal\Api\CreditCard
  • PayPal\Api\CreditCardHistory
  • PayPal\Api\CreditCardList
  • PayPal\Api\CreditCardToken
  • PayPal\Api\CreditFinancingOffered
  • PayPal\Api\Currency
  • PayPal\Api\CurrencyConversion
  • PayPal\Api\CustomAmount
  • PayPal\Api\DetailedRefund
  • PayPal\Api\Details
  • PayPal\Api\Error
  • PayPal\Api\ErrorDetails
  • PayPal\Api\ExtendedBankAccount
  • PayPal\Api\ExternalFunding
  • PayPal\Api\FileAttachment
  • PayPal\Api\FlowConfig
  • PayPal\Api\FmfDetails
  • PayPal\Api\FundingDetail
  • PayPal\Api\FundingInstrument
  • PayPal\Api\FundingOption
  • PayPal\Api\FundingSource
  • PayPal\Api\FuturePayment
  • PayPal\Api\HyperSchema
  • PayPal\Api\Image
  • PayPal\Api\Incentive
  • PayPal\Api\InputFields
  • PayPal\Api\InstallmentInfo
  • PayPal\Api\InstallmentOption
  • PayPal\Api\Invoice
  • PayPal\Api\InvoiceAddress
  • PayPal\Api\InvoiceItem
  • PayPal\Api\InvoiceNumber
  • PayPal\Api\InvoiceSearchResponse
  • PayPal\Api\Item
  • PayPal\Api\ItemList
  • PayPal\Api\Links
  • PayPal\Api\Measurement
  • PayPal\Api\MerchantInfo
  • PayPal\Api\MerchantPreferences
  • PayPal\Api\Metadata
  • PayPal\Api\NameValuePair
  • PayPal\Api\Notification
  • PayPal\Api\OpenIdAddress
  • PayPal\Api\OpenIdError
  • PayPal\Api\OpenIdSession
  • PayPal\Api\OpenIdTokeninfo
  • PayPal\Api\OpenIdUserinfo
  • PayPal\Api\Order
  • PayPal\Api\OverrideChargeModel
  • PayPal\Api\Participant
  • PayPal\Api\Patch
  • PayPal\Api\PatchRequest
  • PayPal\Api\Payee
  • PayPal\Api\Payer
  • PayPal\Api\PayerInfo
  • PayPal\Api\Payment
  • PayPal\Api\PaymentCard
  • PayPal\Api\PaymentCardToken
  • PayPal\Api\PaymentDefinition
  • PayPal\Api\PaymentDetail
  • PayPal\Api\PaymentExecution
  • PayPal\Api\PaymentHistory
  • PayPal\Api\PaymentInstruction
  • PayPal\Api\PaymentOptions
  • PayPal\Api\PaymentSummary
  • PayPal\Api\PaymentTerm
  • PayPal\Api\Payout
  • PayPal\Api\PayoutBatch
  • PayPal\Api\PayoutBatchHeader
  • PayPal\Api\PayoutItem
  • PayPal\Api\PayoutItemDetails
  • PayPal\Api\PayoutSenderBatchHeader
  • PayPal\Api\Phone
  • PayPal\Api\Plan
  • PayPal\Api\PlanList
  • PayPal\Api\PotentialPayerInfo
  • PayPal\Api\Presentation
  • PayPal\Api\PrivateLabelCard
  • PayPal\Api\ProcessorResponse
  • PayPal\Api\RecipientBankingInstruction
  • PayPal\Api\RedirectUrls
  • PayPal\Api\Refund
  • PayPal\Api\RefundDetail
  • PayPal\Api\RefundRequest
  • PayPal\Api\RelatedResources
  • PayPal\Api\Sale
  • PayPal\Api\Search
  • PayPal\Api\ShippingAddress
  • PayPal\Api\ShippingCost
  • PayPal\Api\ShippingInfo
  • PayPal\Api\Tax
  • PayPal\Api\Template
  • PayPal\Api\TemplateData
  • PayPal\Api\Templates
  • PayPal\Api\TemplateSettings
  • PayPal\Api\TemplateSettingsMetadata
  • PayPal\Api\Terms
  • PayPal\Api\Transaction
  • PayPal\Api\TransactionBase
  • PayPal\Api\Transactions
  • PayPal\Api\VerifyWebhookSignature
  • PayPal\Api\VerifyWebhookSignatureResponse
  • PayPal\Api\Webhook
  • PayPal\Api\WebhookEvent
  • PayPal\Api\WebhookEventList
  • PayPal\Api\WebhookEventType
  • PayPal\Api\WebhookEventTypeList
  • PayPal\Api\WebhookList
  • PayPal\Api\WebProfile
  • PayPal\Auth\OAuthTokenCredential
  • PayPal\Cache\AuthorizationCache
  • PayPal\Common\ArrayUtil
  • PayPal\Common\PayPalModel
  • PayPal\Common\PayPalResourceModel
  • PayPal\Common\PayPalUserAgent
  • PayPal\Common\ReflectionUtil
  • PayPal\Converter\FormatConverter
  • PayPal\Core\PayPalConfigManager
  • PayPal\Core\PayPalConstants
  • PayPal\Core\PayPalCredentialManager
  • PayPal\Core\PayPalHttpConfig
  • PayPal\Core\PayPalHttpConnection
  • PayPal\Core\PayPalLoggingManager
  • PayPal\Handler\OauthHandler
  • PayPal\Handler\RestHandler
  • PayPal\Log\PayPalDefaultLogFactory
  • PayPal\Log\PayPalLogger
  • PayPal\Rest\ApiContext
  • PayPal\Security\Cipher
  • PayPal\Transport\PayPalRestCall
  • PayPal\Validation\ArgumentValidator
  • PayPal\Validation\JsonValidator
  • PayPal\Validation\NumericValidator
  • PayPal\Validation\UrlValidator

Interfaces

  • PayPal\Handler\IPayPalHandler
  • PayPal\Log\PayPalLogFactory
  • PayPal\Rest\IResource

Exceptions

  • PayPal\Exception\PayPalConfigurationException
  • PayPal\Exception\PayPalConnectionException
  • PayPal\Exception\PayPalInvalidCredentialException
  • PayPal\Exception\PayPalMissingCredentialException
  1 <?php
  2 
  3 namespace PayPal\Api;
  4 
  5 use PayPal\Common\PayPalModel;
  6 
  7 /**
  8  * Class HyperSchema
  9  *
 10  * 
 11  *
 12  * @package PayPal\Api
 13  *
 14  * @property \PayPal\Api\Links[] links
 15  * @property string fragmentResolution
 16  * @property bool readonly
 17  * @property string contentEncoding
 18  * @property string pathStart
 19  * @property string mediaType
 20  */
 21 class HyperSchema extends PayPalModel
 22 {
 23     /**
 24      * Sets Links
 25      *
 26      * @param \PayPal\Api\Links[] $links
 27      * 
 28      * @return $this
 29      */
 30     public function setLinks($links)
 31     {
 32         $this->links = $links;
 33         return $this;
 34     }
 35 
 36     /**
 37      * Gets Links
 38      *
 39      * @return \PayPal\Api\Links[]
 40      */
 41     public function getLinks()
 42     {
 43         return $this->links;
 44     }
 45 
 46     /**
 47      * Append Links to the list.
 48      *
 49      * @param \PayPal\Api\Links $links
 50      * @return $this
 51      */
 52     public function addLink($links)
 53     {
 54         if (!$this->getLinks()) {
 55             return $this->setLinks(array($links));
 56         } else {
 57             return $this->setLinks(
 58                 array_merge($this->getLinks(), array($links))
 59             );
 60         }
 61     }
 62 
 63     /**
 64      * Remove Links from the list.
 65      *
 66      * @param \PayPal\Api\Links $links
 67      * @return $this
 68      */
 69     public function removeLink($links)
 70     {
 71         return $this->setLinks(
 72             array_diff($this->getLinks(), array($links))
 73         );
 74     }
 75 
 76     /**
 77      * Sets FragmentResolution
 78      *
 79      * @param string $fragmentResolution
 80      * 
 81      * @return $this
 82      */
 83     public function setFragmentResolution($fragmentResolution)
 84     {
 85         $this->fragmentResolution = $fragmentResolution;
 86         return $this;
 87     }
 88 
 89     /**
 90      * Gets FragmentResolution
 91      *
 92      * @return string
 93      */
 94     public function getFragmentResolution()
 95     {
 96         return $this->fragmentResolution;
 97     }
 98 
 99     /**
100      * Sets Readonly
101      *
102      * @param bool $readonly
103      * 
104      * @return $this
105      */
106     public function setReadonly($readonly)
107     {
108         $this->readonly = $readonly;
109         return $this;
110     }
111 
112     /**
113      * Gets Readonly
114      *
115      * @return bool
116      */
117     public function getReadonly()
118     {
119         return $this->readonly;
120     }
121 
122     /**
123      * Sets ContentEncoding
124      *
125      * @param string $contentEncoding
126      * 
127      * @return $this
128      */
129     public function setContentEncoding($contentEncoding)
130     {
131         $this->contentEncoding = $contentEncoding;
132         return $this;
133     }
134 
135     /**
136      * Gets ContentEncoding
137      *
138      * @return string
139      */
140     public function getContentEncoding()
141     {
142         return $this->contentEncoding;
143     }
144 
145     /**
146      * Sets PathStart
147      *
148      * @param string $pathStart
149      * 
150      * @return $this
151      */
152     public function setPathStart($pathStart)
153     {
154         $this->pathStart = $pathStart;
155         return $this;
156     }
157 
158     /**
159      * Gets PathStart
160      *
161      * @return string
162      */
163     public function getPathStart()
164     {
165         return $this->pathStart;
166     }
167 
168     /**
169      * Sets MediaType
170      *
171      * @param string $mediaType
172      * 
173      * @return $this
174      */
175     public function setMediaType($mediaType)
176     {
177         $this->mediaType = $mediaType;
178         return $this;
179     }
180 
181     /**
182      * Gets MediaType
183      *
184      * @return string
185      */
186     public function getMediaType()
187     {
188         return $this->mediaType;
189     }
190 
191 }
192 
API documentation generated by ApiGen