PayPalApiPayerInfo

Class PayerInfo.

Defined (1)

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

/classes/lib/PayPal/Api/PayerInfo.php  
  1. class PayerInfo extends PayPalModel 
  2. /** 
  3. * Email address representing the payer. 127 characters max. 
  4. * @param string $email 
  5. * @return $this 
  6. */ 
  7. public function setEmail($email) 
  8. $this->email = $email; 
  9. return $this; 
  10.  
  11. /** 
  12. * Email address representing the payer. 127 characters max. 
  13. * @return string 
  14. */ 
  15. public function getEmail() 
  16. return $this->email; 
  17.  
  18. /** 
  19. * External Remember Me id representing the payer 
  20. * @param string $external_remember_me_id 
  21. * @return $this 
  22. */ 
  23. public function setExternalRememberMeId($external_remember_me_id) 
  24. $this->external_remember_me_id = $external_remember_me_id; 
  25. return $this; 
  26.  
  27. /** 
  28. * External Remember Me id representing the payer 
  29. * @return string 
  30. */ 
  31. public function getExternalRememberMeId() 
  32. return $this->external_remember_me_id; 
  33.  
  34. /** 
  35. * Account Number representing the Payer 
  36. * @deprecated Not publicly available 
  37. * @param string $account_number 
  38. * @return $this 
  39. */ 
  40. public function setAccountNumber($account_number) 
  41. $this->account_number = $account_number; 
  42. return $this; 
  43.  
  44. /** 
  45. * Account Number representing the Payer 
  46. * @deprecated Not publicly available 
  47. * @return string 
  48. */ 
  49. public function getAccountNumber() 
  50. return $this->account_number; 
  51.  
  52. /** 
  53. * Salutation of the payer. 
  54. * @param string $salutation 
  55. * @return $this 
  56. */ 
  57. public function setSalutation($salutation) 
  58. $this->salutation = $salutation; 
  59. return $this; 
  60.  
  61. /** 
  62. * Salutation of the payer. 
  63. * @return string 
  64. */ 
  65. public function getSalutation() 
  66. return $this->salutation; 
  67.  
  68. /** 
  69. * First name of the payer. 
  70. * @param string $first_name 
  71. * @return $this 
  72. */ 
  73. public function setFirstName($first_name) 
  74. $this->first_name = $first_name; 
  75. return $this; 
  76.  
  77. /** 
  78. * First name of the payer. 
  79. * @return string 
  80. */ 
  81. public function getFirstName() 
  82. return $this->first_name; 
  83.  
  84. /** 
  85. * Middle name of the payer. 
  86. * @param string $middle_name 
  87. * @return $this 
  88. */ 
  89. public function setMiddleName($middle_name) 
  90. $this->middle_name = $middle_name; 
  91. return $this; 
  92.  
  93. /** 
  94. * Middle name of the payer. 
  95. * @return string 
  96. */ 
  97. public function getMiddleName() 
  98. return $this->middle_name; 
  99.  
  100. /** 
  101. * Last name of the payer. 
  102. * @param string $last_name 
  103. * @return $this 
  104. */ 
  105. public function setLastName($last_name) 
  106. $this->last_name = $last_name; 
  107. return $this; 
  108.  
  109. /** 
  110. * Last name of the payer. 
  111. * @return string 
  112. */ 
  113. public function getLastName() 
  114. return $this->last_name; 
  115.  
  116. /** 
  117. * Suffix of the payer. 
  118. * @param string $suffix 
  119. * @return $this 
  120. */ 
  121. public function setSuffix($suffix) 
  122. $this->suffix = $suffix; 
  123. return $this; 
  124.  
  125. /** 
  126. * Suffix of the payer. 
  127. * @return string 
  128. */ 
  129. public function getSuffix() 
  130. return $this->suffix; 
  131.  
  132. /** 
  133. * PayPal assigned encrypted Payer ID. 
  134. * @param string $payer_id 
  135. * @return $this 
  136. */ 
  137. public function setPayerId($payer_id) 
  138. $this->payer_id = $payer_id; 
  139. return $this; 
  140.  
  141. /** 
  142. * PayPal assigned encrypted Payer ID. 
  143. * @return string 
  144. */ 
  145. public function getPayerId() 
  146. return $this->payer_id; 
  147.  
  148. /** 
  149. * Phone number representing the payer. 20 characters max. 
  150. * @param string $phone 
  151. * @return $this 
  152. */ 
  153. public function setPhone($phone) 
  154. $this->phone = $phone; 
  155. return $this; 
  156.  
  157. /** 
  158. * Phone number representing the payer. 20 characters max. 
  159. * @return string 
  160. */ 
  161. public function getPhone() 
  162. return $this->phone; 
  163.  
  164. /** 
  165. * Phone type 
  166. * Valid Values: ["HOME", "WORK", "MOBILE", "OTHER"] 
  167. * @param string $phone_type 
  168. * @return $this 
  169. */ 
  170. public function setPhoneType($phone_type) 
  171. $this->phone_type = $phone_type; 
  172. return $this; 
  173.  
  174. /** 
  175. * Phone type 
  176. * @return string 
  177. */ 
  178. public function getPhoneType() 
  179. return $this->phone_type; 
  180.  
  181. /** 
  182. * Birth date of the Payer in ISO8601 format (yyyy-mm-dd). 
  183. * @param string $birth_date 
  184. * @return $this 
  185. */ 
  186. public function setBirthDate($birth_date) 
  187. $this->birth_date = $birth_date; 
  188. return $this; 
  189.  
  190. /** 
  191. * Birth date of the Payer in ISO8601 format (yyyy-mm-dd). 
  192. * @return string 
  193. */ 
  194. public function getBirthDate() 
  195. return $this->birth_date; 
  196.  
  197. /** 
  198. * Payer*s tax ID. Only supported when the `payment_method` is set to `paypal`. 
  199. * @param string $tax_id 
  200. * @return $this 
  201. */ 
  202. public function setTaxId($tax_id) 
  203. $this->tax_id = $tax_id; 
  204. return $this; 
  205.  
  206. /** 
  207. * Payer*s tax ID. Only supported when the `payment_method` is set to `paypal`. 
  208. * @return string 
  209. */ 
  210. public function getTaxId() 
  211. return $this->tax_id; 
  212.  
  213. /** 
  214. * Payer*s tax ID type. Allowed values: `BR_CPF` or `BR_CNPJ`. Only supported when the `payment_method` is set to `paypal`. 
  215. * Valid Values: ["BR_CPF", "BR_CNPJ"] 
  216. * @param string $tax_id_type 
  217. * @return $this 
  218. */ 
  219. public function setTaxIdType($tax_id_type) 
  220. $this->tax_id_type = $tax_id_type; 
  221. return $this; 
  222.  
  223. /** 
  224. * Payer*s tax ID type. Allowed values: `BR_CPF` or `BR_CNPJ`. Only supported when the `payment_method` is set to `paypal`. 
  225. * @return string 
  226. */ 
  227. public function getTaxIdType() 
  228. return $this->tax_id_type; 
  229.  
  230. /** 
  231. * Two-letter registered country code of the payer to identify the buyer country. 
  232. * @param string $country_code 
  233. * @return $this 
  234. */ 
  235. public function setCountryCode($country_code) 
  236. $this->country_code = $country_code; 
  237. return $this; 
  238.  
  239. /** 
  240. * Two-letter registered country code of the payer to identify the buyer country. 
  241. * @return string 
  242. */ 
  243. public function getCountryCode() 
  244. return $this->country_code; 
  245.  
  246. /** 
  247. * Billing address of the Payer. 
  248. * @param \PayPal\Api\Address $billing_address 
  249. * @return $this 
  250. */ 
  251. public function setBillingAddress($billing_address) 
  252. $this->billing_address = $billing_address; 
  253. return $this; 
  254.  
  255. /** 
  256. * Billing address of the Payer. 
  257. * @return \PayPal\Api\Address 
  258. */ 
  259. public function getBillingAddress() 
  260. return $this->billing_address; 
  261.  
  262. /** 
  263. * Shipping address of payer PayPal account. 
  264. * @param \PayPal\Api\ShippingAddress $shipping_address 
  265. * @return $this 
  266. */ 
  267. public function setShippingAddress($shipping_address) 
  268. $this->shipping_address = $shipping_address; 
  269. return $this; 
  270.  
  271. /** 
  272. * Shipping address of payer PayPal account. 
  273. * @return \PayPal\Api\ShippingAddress 
  274. */ 
  275. public function getShippingAddress() 
  276. return $this->shipping_address; 
  277.