File tree 8 files changed +93
-9
lines changed
8 files changed +93
-9
lines changed Original file line number Diff line number Diff line change 1
1
ChangeLog
2
2
=========
3
+ 2.4.4
4
+ -------------------
5
+ - Added attribute 'isDefaultTransferMethod' to identify default accounts.
6
+
3
7
2.2.3
4
8
-------------------
5
9
- Enhanced the code base to support PHP build from version 5.6 to 8.x
Original file line number Diff line number Diff line change 63
63
* @property string $stateProvince The state or province
64
64
* @property string $country The country
65
65
* @property string $postalCode The postal code
66
+ * @property bool $isDefaultTransferMethod The flag to denote default account
66
67
*
67
68
* @package Hyperwallet\Model
68
69
*/
@@ -1020,4 +1021,23 @@ public function setPostalCode($postalCode) {
1020
1021
return $ this ;
1021
1022
}
1022
1023
1024
+ /**
1025
+ * Get the is default transfer method
1026
+ *
1027
+ * @return bool
1028
+ */
1029
+ public function getIsDefaultTransferMethod () {
1030
+ return $ this ->isDefaultTransferMethod ;
1031
+ }
1032
+
1033
+ /**
1034
+ * Set the is default transfer method
1035
+ *
1036
+ * @param bool $isDefaultTransferMethod
1037
+ * @return BankAccount
1038
+ */
1039
+ public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
1040
+ $ this ->isDefaultTransferMethod = $ isDefaultTransferMethod ;
1041
+ return $ this ;
1042
+ }
1023
1043
}
Original file line number Diff line number Diff line change 20
20
* @property string $cvv The bank card cvv
21
21
* @property \DateTime $dateOfExpiry The bank card expiry date
22
22
* @property string $processingTime The processing time
23
+ * @property bool $isDefaultTransferMethod The flag to denote default account
23
24
*
24
25
* @package Hyperwallet\Model
25
26
*/
@@ -258,4 +259,23 @@ public function setProcessingTime($processingTime) {
258
259
return $ this ;
259
260
}
260
261
262
+ /**
263
+ * Get the is default transfer method
264
+ *
265
+ * @return bool
266
+ */
267
+ public function getIsDefaultTransferMethod () {
268
+ return $ this ->isDefaultTransferMethod ;
269
+ }
270
+
271
+ /**
272
+ * Set the is default transfer method
273
+ *
274
+ * @param bool $isDefaultTransferMethod
275
+ * @return BankCard
276
+ */
277
+ public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
278
+ $ this ->isDefaultTransferMethod = $ isDefaultTransferMethod ;
279
+ return $ this ;
280
+ }
261
281
}
Original file line number Diff line number Diff line change 30
30
* @property string $gender The gender
31
31
* @property string $governmentId The government id
32
32
* @property string $governmentIdType The government id type
33
- * @property string $isDefaultTransferMethod The is default transfer method
33
+ * @property bool $isDefaultTransferMethod The flag to denote default account
34
34
* @property string $lastName The last name
35
35
* @property string $middleName The middle name
36
36
* @property string $mobileNumber The mobile number
@@ -420,7 +420,7 @@ public function getGovernmentIdType() {
420
420
/**
421
421
* Get the is default transfer method
422
422
*
423
- * @return string
423
+ * @return bool
424
424
*/
425
425
public function getIsDefaultTransferMethod () {
426
426
return $ this ->isDefaultTransferMethod ;
@@ -429,7 +429,7 @@ public function getIsDefaultTransferMethod() {
429
429
/**
430
430
* Set the is default transfer method
431
431
*
432
- * @param string $isDefaultTransferMethod
432
+ * @param bool $isDefaultTransferMethod
433
433
* @return PaperCheck
434
434
*/
435
435
public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
Original file line number Diff line number Diff line change 10
10
* @property string $type The transfer method type
11
11
* @property string $transferMethodCountry The transfer method country
12
12
* @property string $transferMethodCurrency The transfer method currency
13
- * @property string $isDefaultTransferMethod The is default transfer method
13
+ * @property bool $isDefaultTransferMethod The flag to denote default account
14
14
* @property string $email The PayPal account email
15
15
16
16
*
@@ -142,7 +142,7 @@ public function setTransferMethodCurrency($transferMethodCurrency) {
142
142
/**
143
143
* Get the is default transfer method
144
144
*
145
- * @return string
145
+ * @return bool
146
146
*/
147
147
public function getIsDefaultTransferMethod () {
148
148
return $ this ->isDefaultTransferMethod ;
@@ -151,7 +151,7 @@ public function getIsDefaultTransferMethod() {
151
151
/**
152
152
* Set the is default transfer method
153
153
*
154
- * @param string $isDefaultTransferMethod
154
+ * @param bool $isDefaultTransferMethod
155
155
* @return PayPalAccount
156
156
*/
157
157
public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
Original file line number Diff line number Diff line change 21
21
* @property string $cardNumber The prepaid card number
22
22
* @property string $cardBrand The prepaid card brand
23
23
* @property \DateTime $dateOfExpiry The prepaid card expiry date
24
+ * @property bool $isDefaultTransferMethod The flag to denote default account
24
25
*
25
26
* @package Hyperwallet\Model
26
27
*/
@@ -245,4 +246,23 @@ public function setReplacementReason($replacementReason) {
245
246
return $ this ;
246
247
}
247
248
249
+ /**
250
+ * Get the is default transfer method
251
+ *
252
+ * @return bool
253
+ */
254
+ public function getIsDefaultTransferMethod () {
255
+ return $ this ->isDefaultTransferMethod ;
256
+ }
257
+
258
+ /**
259
+ * Set the is default transfer method
260
+ *
261
+ * @param bool $isDefaultTransferMethod
262
+ * @return PrepaidCard
263
+ */
264
+ public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
265
+ $ this ->isDefaultTransferMethod = $ isDefaultTransferMethod ;
266
+ return $ this ;
267
+ }
248
268
}
Original file line number Diff line number Diff line change 70
70
* @property string $stateProvince The state or province
71
71
* @property string $country The country
72
72
* @property string $postalCode The postal code
73
+ * @property bool $isDefaultTransferMethod The flag to denote default account
73
74
*
74
75
* @package Hyperwallet\Model
75
76
*/
@@ -1096,4 +1097,23 @@ public function setPostalCode($postalCode) {
1096
1097
return $ this ;
1097
1098
}
1098
1099
1100
+ /**
1101
+ * Get the is default transfer method
1102
+ *
1103
+ * @return bool
1104
+ */
1105
+ public function getIsDefaultTransferMethod () {
1106
+ return $ this ->isDefaultTransferMethod ;
1107
+ }
1108
+
1109
+ /**
1110
+ * Set the is default transfer method
1111
+ *
1112
+ * @param bool $isDefaultTransferMethod
1113
+ * @return TransferMethod
1114
+ */
1115
+ public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
1116
+ $ this ->isDefaultTransferMethod = $ isDefaultTransferMethod ;
1117
+ return $ this ;
1118
+ }
1099
1119
}
Original file line number Diff line number Diff line change 11
11
* @property string $type The transfer method type
12
12
* @property string $transferMethodCountry The transfer method country
13
13
* @property string $transferMethodCurrency The transfer method currency
14
- * @property string $isDefaultTransferMethod The is default transfer method
14
+ * @property bool $isDefaultTransferMethod The flag to denote default account
15
15
* @property string $accountId The Venmo account
16
16
*
17
17
* @package Hyperwallet\Model
@@ -140,7 +140,7 @@ public function setTransferMethodCurrency($transferMethodCurrency) {
140
140
/**
141
141
* Get the is default transfer method
142
142
*
143
- * @return string
143
+ * @return bool
144
144
*/
145
145
public function getIsDefaultTransferMethod () {
146
146
return $ this ->isDefaultTransferMethod ;
@@ -149,7 +149,7 @@ public function getIsDefaultTransferMethod() {
149
149
/**
150
150
* Set the is default transfer method
151
151
*
152
- * @param string $isDefaultTransferMethod
152
+ * @param bool $isDefaultTransferMethod
153
153
* @return VenmoAccount
154
154
*/
155
155
public function setIsDefaultTransferMethod ($ isDefaultTransferMethod ) {
You can’t perform that action at this time.
0 commit comments