1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class RecipientBankingInstruction
9 *
10 * Recipient bank Details.
11 *
12 * @package PayPal\Api
13 *
14 * @property string bank_name
15 * @property string account_holder_name
16 * @property string account_number
17 * @property string routing_number
18 * @property string international_bank_account_number
19 * @property string bank_identifier_code
20 */
21 class RecipientBankingInstruction extends PayPalModel
22 {
23 /**
24 * Name of the financial institution.
25 *
26 * @param string $bank_name
27 *
28 * @return $this
29 */
30 public function setBankName($bank_name)
31 {
32 $this->bank_name = $bank_name;
33 return $this;
34 }
35
36 /**
37 * Name of the financial institution.
38 *
39 * @return string
40 */
41 public function getBankName()
42 {
43 return $this->bank_name;
44 }
45
46 /**
47 * Name of the account holder
48 *
49 * @param string $account_holder_name
50 *
51 * @return $this
52 */
53 public function setAccountHolderName($account_holder_name)
54 {
55 $this->account_holder_name = $account_holder_name;
56 return $this;
57 }
58
59 /**
60 * Name of the account holder
61 *
62 * @return string
63 */
64 public function getAccountHolderName()
65 {
66 return $this->account_holder_name;
67 }
68
69 /**
70 * bank account number
71 *
72 * @param string $account_number
73 *
74 * @return $this
75 */
76 public function setAccountNumber($account_number)
77 {
78 $this->account_number = $account_number;
79 return $this;
80 }
81
82 /**
83 * bank account number
84 *
85 * @return string
86 */
87 public function getAccountNumber()
88 {
89 return $this->account_number;
90 }
91
92 /**
93 * bank routing number
94 *
95 * @param string $routing_number
96 *
97 * @return $this
98 */
99 public function setRoutingNumber($routing_number)
100 {
101 $this->routing_number = $routing_number;
102 return $this;
103 }
104
105 /**
106 * bank routing number
107 *
108 * @return string
109 */
110 public function getRoutingNumber()
111 {
112 return $this->routing_number;
113 }
114
115 /**
116 * IBAN equivalent of the bank
117 *
118 * @param string $international_bank_account_number
119 *
120 * @return $this
121 */
122 public function setInternationalBankAccountNumber($international_bank_account_number)
123 {
124 $this->international_bank_account_number = $international_bank_account_number;
125 return $this;
126 }
127
128 /**
129 * IBAN equivalent of the bank
130 *
131 * @return string
132 */
133 public function getInternationalBankAccountNumber()
134 {
135 return $this->international_bank_account_number;
136 }
137
138 /**
139 * BIC identifier of the financial institution
140 *
141 * @param string $bank_identifier_code
142 *
143 * @return $this
144 */
145 public function setBankIdentifierCode($bank_identifier_code)
146 {
147 $this->bank_identifier_code = $bank_identifier_code;
148 return $this;
149 }
150
151 /**
152 * BIC identifier of the financial institution
153 *
154 * @return string
155 */
156 public function getBankIdentifierCode()
157 {
158 return $this->bank_identifier_code;
159 }
160
161 }
162