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 PaymentExecution

Class PaymentExecution

Let's you execute a PayPal Account based Payment resource with the payer_id obtained from web approval url.

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

Methods summary

public
# setPayerId( string $payer_id )

The ID of the Payer, passed in the return_url by PayPal.

The ID of the Payer, passed in the return_url by PayPal.

Parameters

$payer_id

Returns


$this
public string
# getPayerId( )

The ID of the Payer, passed in the return_url by PayPal.

The ID of the Payer, passed in the return_url by PayPal.

Returns

string
public
# setCarrierAccountId( string $carrier_account_id )

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.

Deprecated

Not publicly available

Parameters

$carrier_account_id

Returns


$this
public string
# getCarrierAccountId( )

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.

Deprecated

Not publicly available

Returns

string
public
# setTransactions( PayPal\Api\Transaction[] $transactions )

Transactional details including the amount and item details.

Transactional details including the amount and item details.

Parameters

$transactions

Returns


$this
public PayPal\Api\Transaction[]
# getTransactions( )

Transactional details including the amount and item details.

Transactional details including the amount and item details.

Returns

PayPal\Api\Transaction[]
public
# addTransaction( PayPal\Api\Transaction $transaction )

Append Transactions to the list.

Append Transactions to the list.

Parameters

$transaction

Returns


$this
public
# removeTransaction( PayPal\Api\Transaction $transaction )

Remove Transactions from the list.

Remove Transactions from the list.

Parameters

$transaction

Returns


$this

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