1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class CarrierAccountToken
9 *
10 * A resource representing a carrier account that can be used to fund a payment.
11 *
12 * @package PayPal\Api
13 *
14 * @property string carrier_account_id
15 * @property string external_customer_id
16 */
17 class CarrierAccountToken extends PayPalModel
18 {
19 /**
20 * ID of a previously saved carrier account resource.
21 *
22 * @param string $carrier_account_id
23 *
24 * @return $this
25 */
26 public function setCarrierAccountId($carrier_account_id)
27 {
28 $this->carrier_account_id = $carrier_account_id;
29 return $this;
30 }
31
32 /**
33 * ID of a previously saved carrier account resource.
34 *
35 * @return string
36 */
37 public function getCarrierAccountId()
38 {
39 return $this->carrier_account_id;
40 }
41
42 /**
43 * The unique identifier of the payer used when saving this carrier account instrument.
44 *
45 * @param string $external_customer_id
46 *
47 * @return $this
48 */
49 public function setExternalCustomerId($external_customer_id)
50 {
51 $this->external_customer_id = $external_customer_id;
52 return $this;
53 }
54
55 /**
56 * The unique identifier of the payer used when saving this carrier account instrument.
57 *
58 * @return string
59 */
60 public function getExternalCustomerId()
61 {
62 return $this->external_customer_id;
63 }
64
65 }
66