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 PlanList

Class PlanList

Resource representing a list of billing plans with basic information and get link.

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

Methods summary

public
# setPlans( PayPal\Api\Plan[] $plans )

Array of billing plans.

Array of billing plans.

Parameters

$plans

Returns


$this
public PayPal\Api\Plan[]
# getPlans( )

Array of billing plans.

Array of billing plans.

Returns

PayPal\Api\Plan[]
public
# addPlan( PayPal\Api\Plan $plan )

Append Plans to the list.

Append Plans to the list.

Parameters

$plan

Returns


$this
public
# removePlan( PayPal\Api\Plan $plan )

Remove Plans from the list.

Remove Plans from the list.

Parameters

$plan

Returns


$this
public
# setTotalItems( string $total_items )

Total number of items.

Total number of items.

Parameters

$total_items

Returns


$this
public string
# getTotalItems( )

Total number of items.

Total number of items.

Returns

string
public
# setTotalPages( string $total_pages )

Total number of pages.

Total number of pages.

Parameters

$total_pages

Returns


$this
public string
# getTotalPages( )

Total number of pages.

Total number of pages.

Returns

string
public
# setLinks( PayPal\Api\Links[] $links )

Sets Links

Sets Links

Parameters

$links

Returns


$this
public PayPal\Api\Links[]
# getLinks( )

Gets Links

Gets Links

Returns

PayPal\Api\Links[]
public
# addLink( PayPal\Api\Links $links )

Append Links to the list.

Append Links to the list.

Parameters

$links

Returns


$this
public
# removeLink( PayPal\Api\Links $links )

Remove Links from the list.

Remove Links from the list.

Parameters

$links

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