PayPalApiShippingInfo

Class ShippingInfo.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/ShippingInfo.php  
  1. class ShippingInfo extends PayPalModel 
  2. /** 
  3. * First name of the invoice recipient. 30 characters max. 
  4. * @param string $first_name 
  5. *  
  6. * @return $this 
  7. */ 
  8. public function setFirstName($first_name) 
  9. $this->first_name = $first_name; 
  10. return $this; 
  11.  
  12. /** 
  13. * First name of the invoice recipient. 30 characters max. 
  14. * @return string 
  15. */ 
  16. public function getFirstName() 
  17. return $this->first_name; 
  18.  
  19. /** 
  20. * Last name of the invoice recipient. 30 characters max. 
  21. * @param string $last_name 
  22. *  
  23. * @return $this 
  24. */ 
  25. public function setLastName($last_name) 
  26. $this->last_name = $last_name; 
  27. return $this; 
  28.  
  29. /** 
  30. * Last name of the invoice recipient. 30 characters max. 
  31. * @return string 
  32. */ 
  33. public function getLastName() 
  34. return $this->last_name; 
  35.  
  36. /** 
  37. * Company business name of the invoice recipient. 100 characters max. 
  38. * @param string $business_name 
  39. *  
  40. * @return $this 
  41. */ 
  42. public function setBusinessName($business_name) 
  43. $this->business_name = $business_name; 
  44. return $this; 
  45.  
  46. /** 
  47. * Company business name of the invoice recipient. 100 characters max. 
  48. * @return string 
  49. */ 
  50. public function getBusinessName() 
  51. return $this->business_name; 
  52.  
  53. /** 
  54. * @param \PayPal\Api\Phone $phone 
  55. * @return $this 
  56. */ 
  57. public function setPhone($phone) 
  58. $this->phone = $phone; 
  59. return $this; 
  60.  
  61. /** 
  62. * @return \PayPal\Api\Phone 
  63. */ 
  64. public function getPhone() 
  65. return $this->phone; 
  66.  
  67. /** 
  68. * @param string $email 
  69. * @return $this 
  70. */ 
  71. public function setEmail($email) 
  72. $this->email = $email; 
  73. return $this; 
  74.  
  75. /** 
  76. * @return string 
  77. */ 
  78. public function getEmail() 
  79. return $this->email; 
  80.  
  81. /** 
  82. * Address of the invoice recipient. 
  83. * @param \PayPal\Api\InvoiceAddress $address 
  84. *  
  85. * @return $this 
  86. */ 
  87. public function setAddress($address) 
  88. $this->address = $address; 
  89. return $this; 
  90.  
  91. /** 
  92. * Address of the invoice recipient. 
  93. * @return \PayPal\Api\InvoiceAddress 
  94. */ 
  95. public function getAddress() 
  96. return $this->address; 
  97.