1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class FundingDetail
9 *
10 * Additional detail of the funding.
11 *
12 * @package PayPal\Api
13 *
14 * @property string clearing_time
15 * @property string payment_hold_date
16 * @property string payment_debit_date
17 * @property string processing_type
18 */
19 class FundingDetail extends PayPalModel
20 {
21 /**
22 * Expected clearing time
23 *
24 * @param string $clearing_time
25 *
26 * @return $this
27 */
28 public function setClearingTime($clearing_time)
29 {
30 $this->clearing_time = $clearing_time;
31 return $this;
32 }
33
34 /**
35 * Expected clearing time
36 *
37 * @return string
38 */
39 public function getClearingTime()
40 {
41 return $this->clearing_time;
42 }
43
44 /**
45 * [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
46 *
47 * @param string $payment_hold_date
48 *
49 * @return $this
50 */
51 public function setPaymentHoldDate($payment_hold_date)
52 {
53 $this->payment_hold_date = $payment_hold_date;
54 return $this;
55 }
56
57 /**
58 * @deprecated [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
59 *
60 * @return string
61 */
62 public function getPaymentHoldDate()
63 {
64 return $this->payment_hold_date;
65 }
66
67 /**
68 * Date when funds will be debited from the payer's account
69 *
70 * @param string $payment_debit_date
71 *
72 * @return $this
73 */
74 public function setPaymentDebitDate($payment_debit_date)
75 {
76 $this->payment_debit_date = $payment_debit_date;
77 return $this;
78 }
79
80 /**
81 * Date when funds will be debited from the payer's account
82 *
83 * @return string
84 */
85 public function getPaymentDebitDate()
86 {
87 return $this->payment_debit_date;
88 }
89
90 /**
91 * Processing type of the payment card
92 * Valid Values: ["CUP_SECURE", "PINLESS_DEBIT"]
93 *
94 * @param string $processing_type
95 *
96 * @return $this
97 */
98 public function setProcessingType($processing_type)
99 {
100 $this->processing_type = $processing_type;
101 return $this;
102 }
103
104 /**
105 * Processing type of the payment card
106 *
107 * @return string
108 */
109 public function getProcessingType()
110 {
111 return $this->processing_type;
112 }
113
114 }
115