Overview
  • Namespace
  • Class

Namespaces

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

Classes

  • Address
  • Agreement
  • AgreementDetails
  • AgreementStateDescriptor
  • AgreementTransaction
  • AgreementTransactions
  • AlternatePayment
  • Amount
  • Authorization
  • BankAccount
  • BankAccountsList
  • BankToken
  • BaseAddress
  • Billing
  • BillingAgreementToken
  • BillingInfo
  • CancelNotification
  • Capture
  • CarrierAccount
  • CarrierAccountToken
  • CartBase
  • ChargeModel
  • Cost
  • CountryCode
  • CreateProfileResponse
  • Credit
  • CreditCard
  • CreditCardHistory
  • CreditCardList
  • CreditCardToken
  • CreditFinancingOffered
  • Currency
  • CurrencyConversion
  • CustomAmount
  • DetailedRefund
  • Details
  • Error
  • ErrorDetails
  • ExtendedBankAccount
  • ExternalFunding
  • FileAttachment
  • FlowConfig
  • FmfDetails
  • FundingDetail
  • FundingInstrument
  • FundingOption
  • FundingSource
  • FuturePayment
  • HyperSchema
  • Image
  • Incentive
  • InputFields
  • InstallmentInfo
  • InstallmentOption
  • Invoice
  • InvoiceAddress
  • InvoiceItem
  • InvoiceNumber
  • InvoiceSearchResponse
  • Item
  • ItemList
  • Links
  • Measurement
  • MerchantInfo
  • MerchantPreferences
  • Metadata
  • NameValuePair
  • Notification
  • OpenIdAddress
  • OpenIdError
  • OpenIdSession
  • OpenIdTokeninfo
  • OpenIdUserinfo
  • Order
  • OverrideChargeModel
  • Participant
  • Patch
  • PatchRequest
  • Payee
  • Payer
  • PayerInfo
  • Payment
  • PaymentCard
  • PaymentCardToken
  • PaymentDefinition
  • PaymentDetail
  • PaymentExecution
  • PaymentHistory
  • PaymentInstruction
  • PaymentOptions
  • PaymentSummary
  • PaymentTerm
  • Payout
  • PayoutBatch
  • PayoutBatchHeader
  • PayoutItem
  • PayoutItemDetails
  • PayoutSenderBatchHeader
  • Phone
  • Plan
  • PlanList
  • PotentialPayerInfo
  • Presentation
  • PrivateLabelCard
  • ProcessorResponse
  • RecipientBankingInstruction
  • RedirectUrls
  • Refund
  • RefundDetail
  • RefundRequest
  • RelatedResources
  • Sale
  • Search
  • ShippingAddress
  • ShippingCost
  • ShippingInfo
  • Tax
  • Template
  • TemplateData
  • Templates
  • TemplateSettings
  • TemplateSettingsMetadata
  • Terms
  • Transaction
  • TransactionBase
  • Transactions
  • VerifyWebhookSignature
  • VerifyWebhookSignatureResponse
  • Webhook
  • WebhookEvent
  • WebhookEventList
  • WebhookEventType
  • WebhookEventTypeList
  • WebhookList
  • WebProfile

Class Patch

Class Patch

A JSON patch object that you can use to apply partial updates to resources.

PayPal\Common\PayPalModel
Extended by PayPal\Api\Patch
Namespace: PayPal\Api
Package: PayPal\Api
Located at PayPal/Api/Patch.php

Methods summary

public
# setOp( string $op )

The operation to perform. Valid Values: ["add", "remove", "replace", "move", "copy", "test"]

The operation to perform. Valid Values: ["add", "remove", "replace", "move", "copy", "test"]

Parameters

$op

Returns


$this
public string
# getOp( )

The operation to perform.

The operation to perform.

Returns

string
public
# setPath( string $path )

A JSON pointer that references a location in the target document where the operation is performed. A string value.

A JSON pointer that references a location in the target document where the operation is performed. A string value.

Parameters

$path

Returns


$this
public string
# getPath( )

A JSON pointer that references a location in the target document where the operation is performed. A string value.

A JSON pointer that references a location in the target document where the operation is performed. A string value.

Returns

string
public
# setValue( mixed $value )

New value to apply based on the operation.

New value to apply based on the operation.

Parameters

$value

Returns


$this
public mixed
# getValue( )

New value to apply based on the operation.

New value to apply based on the operation.

Returns

mixed
public
# setFrom( string $from )

A string containing a JSON Pointer value that references the location in the target document to move the value from.

A string containing a JSON Pointer value that references the location in the target document to move the value from.

Parameters

$from

Returns


$this
public string
# getFrom( )

A string containing a JSON Pointer value that references the location in the target document to move the value from.

A string containing a JSON Pointer value that references the location in the target document to move the value from.

Returns

string

Methods inherited from PayPal\Common\PayPalModel

__construct(), __get(), __isset(), __set(), __toString(), __unset(), fromArray(), fromJson(), getList(), setCredential(), toArray(), toJSON()

Properties summary

Properties inherited from PayPal\Common\PayPalModel

$credential

API documentation generated by ApiGen