-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from Mangopay/bugfix/address-types
address typings improvements
- Loading branch information
Showing
5 changed files
with
5 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,14 +41,6 @@ const legalUser = new api.models.UserLegal({ | |
PostalCode: "20007", | ||
Country: "US" | ||
}), | ||
LegalRepresentativeAddress: new api.models.Address({ | ||
AddressLine1: "4101 Reservoir Rd NW", | ||
AddressLine2: "", | ||
City: "Washington", | ||
Region: "District of Columbia", | ||
PostalCode: "20007", | ||
Country: "US" | ||
}), | ||
LegalRepresentativeBirthday: 1300186358, | ||
LegalRepresentativeNationality: "FR", | ||
LegalRepresentativeCountryOfResidence: "FR", | ||
|
@@ -179,15 +171,7 @@ const userLegalPayer = new api.models.UserLegalPayer({ | |
LegalPersonType: "BUSINESS", | ||
LegalRepresentativeFirstName: "Mango", | ||
LegalRepresentativeLastName: "Pay", | ||
LegalRepresentativeEmail: "[email protected]", | ||
LegalRepresentativeAddress: new api.models.Address({ | ||
AddressLine1: "4101 Reservoir Rd NW", | ||
AddressLine2: "", | ||
City: "Washington", | ||
Region: "District of Columbia", | ||
PostalCode: "20007", | ||
Country: "US" | ||
}) | ||
LegalRepresentativeEmail: "[email protected]" | ||
}); | ||
|
||
api.Users.create(userLegalPayer, | ||
|
@@ -212,14 +196,6 @@ const userLegalOwner = new api.models.UserLegalOwner({ | |
PostalCode: "20007", | ||
Country: "US" | ||
}), | ||
LegalRepresentativeAddress: new api.models.Address({ | ||
AddressLine1: "4101 Reservoir Rd NW", | ||
AddressLine2: "", | ||
City: "Washington", | ||
Region: "District of Columbia", | ||
PostalCode: "20007", | ||
Country: "US" | ||
}), | ||
LegalRepresentativeBirthday: 1300186358, | ||
LegalRepresentativeNationality: "FR", | ||
LegalRepresentativeCountryOfResidence: "FR", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters