Klasse CreditscoreClient
java.lang.Object
de.wunderkopfservices.creditscore.client.CreditscoreClient
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreditscoreClient(String refreshToken, String organizationId, CreditscoreClient.Environment environment) Create a new client -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected CreditscoreResponsefetchPersonScoreDe(CreditscoreAddress address, java.time.LocalDate birthday, CreditscorePurpose purpose, String referenceId) protected CreditscoreResponsefetchPersonScoreDe(CreditscoreRequest creditscoreRequest) fetchPersonScoreDe(String fristname, String surname, String street, String streetnr, String postcode, String city, java.time.LocalDate birthday, CreditscorePurpose purpose, String referenceId) Make a request to get the credit score of a person in Germany.static CreditscoreClientCreate a new production client.static CreditscoreClientCreate a new production client.
-
Konstruktordetails
-
CreditscoreClient
public CreditscoreClient(String refreshToken, String organizationId, CreditscoreClient.Environment environment) Create a new client- Parameter:
refreshToken- The refreshToken is obtained from console.wunderkopf.technologyorganizationId- The corresponding organizatonId you want to charge the request to.environment- The selection if your
-
-
Methodendetails
-
prod
Create a new production client.- Parameter:
refreshToken- The refreshToken is obtained from console.wunderkopf.technologyorganizationId- The corresponding organizatonId you want to charge the request to.- Gibt zurück:
-
test
Create a new production client.- Parameter:
refreshToken- The refreshToken is obtained from console.wunderkopf.technologyorganizationId- The corresponding organizatonId you want to charge the request to.- Gibt zurück:
-
fetchPersonScoreDe
public CreditscoreResponse fetchPersonScoreDe(String fristname, String surname, String street, String streetnr, String postcode, String city, java.time.LocalDate birthday, CreditscorePurpose purpose, String referenceId) throws WkApiClientException Make a request to get the credit score of a person in Germany.- Parameter:
fristname-surname-street-streetnr-postcode-city-birthday- (optional)purpose-referenceId- (max 40 characters)- Gibt zurück:
- A wrapper with the score.
- Löst aus:
WkApiClientException
-
fetchPersonScoreDe
protected CreditscoreResponse fetchPersonScoreDe(CreditscoreAddress address, java.time.LocalDate birthday, CreditscorePurpose purpose, String referenceId) throws WkApiClientException - Löst aus:
WkApiClientException
-
fetchPersonScoreDe
protected CreditscoreResponse fetchPersonScoreDe(CreditscoreRequest creditscoreRequest) throws WkApiClientException - Löst aus:
WkApiClientException
-