4 use PayPal\Common\PPModel;
 
   6 class PayerInfo extends PPModel {
 
   8          * Email address representing the Payer.
 
  11         public function setEmail($email) {
 
  12                 $this->email = $email;
 
  17          * Email address representing the Payer.
 
  20         public function getEmail() {
 
  26          * First Name of the Payer from their PayPal Account.
 
  27          * @param string $first_name
 
  29         public function setFirstName($first_name) {
 
  30                 $this->first_name = $first_name;
 
  35          * First Name of the Payer from their PayPal Account.
 
  38         public function getFirstName() {
 
  39                 return $this->first_name;
 
  43          * First Name of the Payer from their PayPal Account.
 
  44          * @param string $first_name
 
  45          * @deprecated. Instead use setFirstName
 
  47         public function setFirst_name($first_name) {
 
  48                 $this->first_name = $first_name;
 
  52          * First Name of the Payer from their PayPal Account.
 
  54          * @deprecated. Instead use getFirstName
 
  56         public function getFirst_name() {
 
  57                 return $this->first_name;
 
  61          * Last Name of the Payer from their PayPal Account.
 
  62          * @param string $last_name
 
  64         public function setLastName($last_name) {
 
  65                 $this->last_name = $last_name;
 
  70          * Last Name of the Payer from their PayPal Account.
 
  73         public function getLastName() {
 
  74                 return $this->last_name;
 
  78          * Last Name of the Payer from their PayPal Account.
 
  79          * @param string $last_name
 
  80          * @deprecated. Instead use setLastName
 
  82         public function setLast_name($last_name) {
 
  83                 $this->last_name = $last_name;
 
  87          * Last Name of the Payer from their PayPal Account.
 
  89          * @deprecated. Instead use getLastName
 
  91         public function getLast_name() {
 
  92                 return $this->last_name;
 
  96          * PayPal assigned Payer ID.
 
  97          * @param string $payer_id
 
  99         public function setPayerId($payer_id) {
 
 100                 $this->payer_id = $payer_id;
 
 105          * PayPal assigned Payer ID.
 
 108         public function getPayerId() {
 
 109                 return $this->payer_id;
 
 113          * PayPal assigned Payer ID.
 
 114          * @param string $payer_id
 
 115          * @deprecated. Instead use setPayerId
 
 117         public function setPayer_id($payer_id) {
 
 118                 $this->payer_id = $payer_id;
 
 122          * PayPal assigned Payer ID.
 
 124          * @deprecated. Instead use getPayerId
 
 126         public function getPayer_id() {
 
 127                 return $this->payer_id;
 
 131          * Phone number representing the Payer.
 
 132          * @param string $phone
 
 134         public function setPhone($phone) {
 
 135                 $this->phone = $phone;
 
 140          * Phone number representing the Payer.
 
 143         public function getPhone() {
 
 149          * Shipping address of the Payer from their PayPal Account.
 
 150          * @param PayPal\Api\Address $shipping_address
 
 152         public function setShippingAddress($shipping_address) {
 
 153                 $this->shipping_address = $shipping_address;
 
 158          * Shipping address of the Payer from their PayPal Account.
 
 159          * @return PayPal\Api\Address
 
 161         public function getShippingAddress() {
 
 162                 return $this->shipping_address;
 
 166          * Shipping address of the Payer from their PayPal Account.
 
 167          * @param PayPal\Api\Address $shipping_address
 
 168          * @deprecated. Instead use setShippingAddress
 
 170         public function setShipping_address($shipping_address) {
 
 171                 $this->shipping_address = $shipping_address;
 
 175          * Shipping address of the Payer from their PayPal Account.
 
 176          * @return PayPal\Api\Address
 
 177          * @deprecated. Instead use getShippingAddress
 
 179         public function getShipping_address() {
 
 180                 return $this->shipping_address;