Overview

Namespaces

  • mcfedr
    • Paypal
      • Exceptions
      • Notifications
      • Products
  • PHP

Classes

  • Authentication
  • Buyer
  • Paypal
  • Settings
  • Overview
  • Namespace
  • Class
  • Tree

Class Buyer

Describes the buyer of your product, this info is received in notifications

Namespace: mcfedr\Paypal
Located at mcfedr/Paypal/Buyer.php
Methods summary
public
# __construct( array $vars )

Extract buyer info from the vars from notifications

Extract buyer info from the vars from notifications

Parameters

$vars
array
$vars
public
# setParams( array & $params )

Set params in button for buyer

Set params in button for buyer

Parameters

$params
array
$params
Properties summary
public string $id
#

Unique id for this buyer

Unique id for this buyer

public string $firstName
#

First name

First name

public string $lastName
#

Last name

Last name

public string $email
#

Email

Email

public string $business
#

business name if has one

business name if has one

public string $phone
#

contact phone

contact phone

public string $status
#

status, ie verified or not

status, ie verified or not

public string $residenceCountry
#

Code of country of residence

Code of country of residence

public string $addressCountry
#

Country

Country

public string $addressCountryCode
#

Country code ie gb or fr etc

Country code ie gb or fr etc

public string $addressZip
#

Zip code or similar

Zip code or similar

public string $addressState
#

State

State

public string $addressCity
#

City

City

public string $addressStreet
#

Street

Street

public string $addressName
#

Name to be used with address

Name to be used with address

public string $addressStatus
#

status of address, ie verifed or not

status of address, ie verifed or not

Paypal API documentation generated by ApiGen 2.8.0