1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class Billing
9 *
10 * Billing instrument used to charge the payer.
11 *
12 * @package PayPal\Api
13 *
14 * @deprecated Used internally only.
15 *
16 * @property string billing_agreement_id
17 */
18 class Billing extends PayPalModel
19 {
20 /**
21 * Identifier of the instrument in PayPal Wallet
22 *
23 * @param string $billing_agreement_id
24 *
25 * @return $this
26 */
27 public function setBillingAgreementId($billing_agreement_id)
28 {
29 $this->billing_agreement_id = $billing_agreement_id;
30 return $this;
31 }
32
33 /**
34 * Identifier of the instrument in PayPal Wallet
35 *
36 * @return string
37 */
38 public function getBillingAgreementId()
39 {
40 return $this->billing_agreement_id;
41 }
42
43 }
44