Skip to content

Commit 4f27456

Browse files
authored
Merge pull request #27 from hyperwallet/feature/HW-54847-remove-relationship-field-from-server-sdk
HW-54847 Remove Relationship field from Server SDK
2 parents 0b0de99 + 4a5cbce commit 4f27456

File tree

3 files changed

+1
-89
lines changed

3 files changed

+1
-89
lines changed

src/Hyperwallet/Model/BankAccount.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* @property string $branchName The branch name
1919
* @property string $branchId The branch id
2020
* @property string $bankAccountId The bank account id
21-
* @property string $bankAccountRelationship The bank account relationship
2221
* @property string $bankAccountPurpose The bank account purpose
2322
*
2423
* @property string $branchAddressLine1 The branch address line 1
@@ -84,17 +83,6 @@ class BankAccount extends BaseModel {
8483
const STATUS_INVALID = 'INVALID';
8584
const STATUS_DE_ACTIVATED = 'DE_ACTIVATED';
8685

87-
const BANK_ACCOUNT_RELATIONSHIP_SELF = 'SELF';
88-
const BANK_ACCOUNT_RELATIONSHIP_JOINT_ACCOUNT = 'JOINT_ACCOUNT';
89-
const BANK_ACCOUNT_RELATIONSHIP_SPOUSE = 'SPOUSE';
90-
const BANK_ACCOUNT_RELATIONSHIP_RELATIVE = 'RELATIVE';
91-
const BANK_ACCOUNT_RELATIONSHIP_BUSINESS_PARTNER = 'BUSINESS_PARTNER';
92-
const BANK_ACCOUNT_RELATIONSHIP_UPLINE = 'UPLINE';
93-
const BANK_ACCOUNT_RELATIONSHIP_DOWNLINE = 'DOWNLINE';
94-
const BANK_ACCOUNT_RELATIONSHIP_OWN_COMPANY = 'OWN_COMPANY';
95-
const BANK_ACCOUNT_RELATIONSHIP_BILL_PAYMENT = 'BILL_PAYMENT';
96-
const BANK_ACCOUNT_RELATIONSHIP_OTHER = 'OTHER';
97-
9886
const PROFILE_TYPE_INDIVIDUAL = 'INDIVIDUAL';
9987
const PROFILE_TYPE_BUSINESS = 'BUSINESS';
10088

@@ -304,26 +292,6 @@ public function getCreatedOn() {
304292
return $this->createdOn ? new \DateTime($this->createdOn) : null;
305293
}
306294

307-
/**
308-
* Get the bank account relationship
309-
*
310-
* @return string
311-
*/
312-
public function getBankAccountRelationship() {
313-
return $this->bankAccountRelationship;
314-
}
315-
316-
/**
317-
* Set the bank account relationship
318-
*
319-
* @param string $bankAccountRelationship
320-
* @return BankAccount
321-
*/
322-
public function setBankAccountRelationship($bankAccountRelationship) {
323-
$this->bankAccountRelationship = $bankAccountRelationship;
324-
return $this;
325-
}
326-
327295
/**
328296
* Get the bank account purpose
329297
*

src/Hyperwallet/Model/PaperCheck.php

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* @property string $transferMethodCurrency The transfer method currency
1313
* @property string $addressLine1 The address line #1
1414
* @property string $addressLine2 The address line #2
15-
* @property string $bankAccountRelationship The bank account relationship
1615
* @property string $businessContactRole The business contact role
1716
* @property string $businessName The business name
1817
* @property string $businessRegistrationCountry The business registration country
@@ -62,10 +61,7 @@ class PaperCheck extends BaseModel {
6261
const STATUS_VERIFIED = 'VERIFIED';
6362
const STATUS_INVALID = 'INVALID';
6463
const STATUS_DE_ACTIVATED = 'DE_ACTIVATED';
65-
66-
const BANK_ACCOUNT_RELATIONSHIP_SELF = 'SELF';
67-
const BANK_ACCOUNT_RELATIONSHIP_OWN_COMPANY = 'OWN_COMPANY';
68-
64+
6965
const BUSINESS_CONTACT_ROLE_DIRECTOR = 'DIRECTOR';
7066
const BUSINESS_CONTACT_ROLE_OWNER = 'OWNER';
7167
const BUSINESS_CONTACT_ROLE_OTHER = 'OTHER';
@@ -232,26 +228,6 @@ public function setAddressLine2($addressLine2) {
232228
return $this;
233229
}
234230

235-
/**
236-
* Get the bank account relationship
237-
*
238-
* @return string
239-
*/
240-
public function getBankAccountRelationship() {
241-
return $this->bankAccountRelationship;
242-
}
243-
244-
/**
245-
* Set the bank account relationship
246-
*
247-
* @param string $bankAccountRelationship
248-
* @return PaperCheck
249-
*/
250-
public function setBankAccountRelationship($bankAccountRelationship) {
251-
$this->bankAccountRelationship = $bankAccountRelationship;
252-
return $this;
253-
}
254-
255231
/**
256232
* Get the business contact role
257233
*

src/Hyperwallet/Model/TransferMethod.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @property string $branchName The branch name
2626
* @property string $branchId The branch id
2727
* @property string $bankAccountId The bank account id
28-
* @property string $bankAccountRelationship The bank account relationship
2928
* @property string $bankAccountPurpose The bank account purpose
3029
*
3130
* @property string $branchAddressLine1 The branch address line 1
@@ -105,17 +104,6 @@ class TransferMethod extends BaseModel {
105104
const CARD_BRAND_VISA = 'VISA';
106105
const CARD_BRAND_MASTERCARD = 'MASTERCARD';
107106

108-
const BANK_ACCOUNT_RELATIONSHIP_SELF = 'SELF';
109-
const BANK_ACCOUNT_RELATIONSHIP_JOINT_ACCOUNT = 'JOINT_ACCOUNT';
110-
const BANK_ACCOUNT_RELATIONSHIP_SPOUSE = 'SPOUSE';
111-
const BANK_ACCOUNT_RELATIONSHIP_RELATIVE = 'RELATIVE';
112-
const BANK_ACCOUNT_RELATIONSHIP_BUSINESS_PARTNER = 'BUSINESS_PARTNER';
113-
const BANK_ACCOUNT_RELATIONSHIP_UPLINE = 'UPLINE';
114-
const BANK_ACCOUNT_RELATIONSHIP_DOWNLINE = 'DOWNLINE';
115-
const BANK_ACCOUNT_RELATIONSHIP_OWN_COMPANY = 'OWN_COMPANY';
116-
const BANK_ACCOUNT_RELATIONSHIP_BILL_PAYMENT = 'BILL_PAYMENT';
117-
const BANK_ACCOUNT_RELATIONSHIP_OTHER = 'OTHER';
118-
119107
const PROFILE_TYPE_INDIVIDUAL = 'INDIVIDUAL';
120108
const PROFILE_TYPE_BUSINESS = 'BUSINESS';
121109

@@ -381,26 +369,6 @@ public function getCreatedOn() {
381369
return $this->createdOn ? new \DateTime($this->createdOn) : null;
382370
}
383371

384-
/**
385-
* Get the bank account relationship
386-
*
387-
* @return string
388-
*/
389-
public function getBankAccountRelationship() {
390-
return $this->bankAccountRelationship;
391-
}
392-
393-
/**
394-
* Set the bank account relationship
395-
*
396-
* @param string $bankAccountRelationship
397-
* @return TransferMethod
398-
*/
399-
public function setBankAccountRelationship($bankAccountRelationship) {
400-
$this->bankAccountRelationship = $bankAccountRelationship;
401-
return $this;
402-
}
403-
404372
/**
405373
* Get the bank account purpose
406374
*

0 commit comments

Comments
 (0)