Skip to content
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.*
!.gitignore
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,17 @@ This behaviour is not documented by Bondora.
## Bondora API support
Bondora API changelog - https://api.bondora.com/ChangeLog
##### Supported versions:
- v1.0.2.7 (18.04.2018)
- v1.0.2.6 (08.12.2017)
- v1.0.2.5 (14.09.2017)
- v1.0.2.4 (11.09.2017)
- v1.0.2.3 (11.07.2017)
- v1.0.2.2 (14.06.2017)
- v1.0.2.1 (20.04.2017)
- v1.0.2.0 (16.03.2017)
- v1.0.1.9 (02.02.2017)
- v1.0.1.8 (27.09.2016)
- v1.0.1.7 (23.09.2016)
- v1.0.1.6 (08.09.2016)
- v1.0.1.5 (15.07.2016)
- Renamed enum classes:
Expand Down
31 changes: 31 additions & 0 deletions src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,10 @@ public function accountBalance() {
* defaultedDateTo date Defaulted date to
* rescheduledFrom date Defaulted date from
* rescheduledTo date Defaulted date to
* soldDateFrom date When it was sold on Secondary market from
* rescheduledTo date Defaulted date to
* purchaseDateFrom date When you received the investment Auctions/Secondary market from
* purchaseDateTo date When you received the investment Auctions/Secondary market to
* nextPaymentDateFrom string|\DateTime Loan issued start date from (string format YYYY-MM-DD hh:mm:ss)
* nextPaymentDateTo string|\DateTime Loan issued start date to (string format YYYY-MM-DD hh:mm:ss)
* lastPaymentDateFrom date Last payment date from
Expand Down Expand Up @@ -542,6 +546,10 @@ public function accountInvestments($request=array()) {
'defaultedDateTo',
'rescheduledFrom',
'rescheduledTo',
'soldDateFrom',
'purchaseDateFrom',
'purchaseDateT',
'soldDateTo',
'lastPaymentDateFrom',
'lastPaymentDateTo',
);
Expand Down Expand Up @@ -1073,8 +1081,31 @@ public function bidCancel($id) {
* @return Definition\LoanDatasetItem[]
* @throws ApiException
* @throws \Exception
* @deprecated discouraged since v1.0.1.9, use publicdataset() instead
*/
public function loandataset($request=array()) {
return $this->publicdataset($request);
}

/**
* Provides daily dataset of all loan data that is not covered by the data protection laws.
*
* $request array supported keys:
* loanIds string[] Specific loans to search
* countries string[] Two letter iso code for country of origin: EE, ES, FI
* ratings string[] Bondora's rating: AA, A, B, C, D, E, F, HR
* wasFunded bool Loan was funded
* loanDateFrom date Loan start date from
* loanDateTo date Loan start date to
* pageSize int Max returned results, default is 1000. Range: inclusive between 1 and 1000
* pageNr int Result page nr. Range: inclusive between 1 and 2147483647
*
* @param array $request
* @return Definition\LoanDatasetItem[]
* @throws ApiException
* @throws \Exception
*/
public function publicdataset($request=array()) {
$resource = 'loandataset';

$array_fields = array(
Expand Down
16 changes: 16 additions & 0 deletions src/Definition/Auction.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ class Auction extends Definition {
* @see Petslane\Bondora\Enum\AuctionPurpose
*
* @var int
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $UseOfLoan;

Expand All @@ -262,6 +263,7 @@ class Auction extends Definition {
* @see Petslane\Bondora\Enum\MaritalStatus
*
* @var int
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $MaritalStatus;

Expand All @@ -270,6 +272,7 @@ class Auction extends Definition {
* Number of children or other dependants
*
* @var string
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $NrOfDependants;

Expand All @@ -281,6 +284,7 @@ class Auction extends Definition {
* @see Petslane\Bondora\Enum\EmploymentStatus
*
* @var int
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $EmploymentStatus;

Expand All @@ -297,6 +301,7 @@ class Auction extends Definition {
* Employment position
*
* @var string
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $EmploymentPosition;

Expand All @@ -305,6 +310,7 @@ class Auction extends Definition {
* Work experience in total
*
* @var string
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $WorkExperience;

Expand All @@ -315,6 +321,7 @@ class Auction extends Definition {
* Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -1
* @see Petslane\Bondora\Enum\OccupationArea
*
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
* @var int
*/
public $OccupationArea;
Expand All @@ -335,6 +342,7 @@ class Auction extends Definition {
* Salary
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromPrincipalEmployer;

Expand All @@ -343,6 +351,7 @@ class Auction extends Definition {
* Pension
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromPension;

Expand All @@ -351,6 +360,7 @@ class Auction extends Definition {
* Family allowance
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromFamilyAllowance;

Expand All @@ -359,6 +369,7 @@ class Auction extends Definition {
* Social welfare
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromSocialWelfare;

Expand All @@ -367,6 +378,7 @@ class Auction extends Definition {
* Leave pay
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromLeavePay;

Expand All @@ -375,6 +387,7 @@ class Auction extends Definition {
* Child support
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeFromChildSupport;

Expand All @@ -383,6 +396,7 @@ class Auction extends Definition {
* Other income
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IncomeOther;

Expand All @@ -399,6 +413,7 @@ class Auction extends Definition {
* Discretionary Income
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $FreeCash;

Expand All @@ -407,6 +422,7 @@ class Auction extends Definition {
* Debt to income ratio
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $DebtToIncome;

Expand Down
1 change: 1 addition & 0 deletions src/Definition/BidResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class BidResponse extends Definition {
* the investment into the auction's loan is not made.
*
* @var float
* @deprecated 1.0.2.1 Obsolete: Not used actively anymore
*/
public $MinAmount;

Expand Down
1 change: 1 addition & 0 deletions src/Definition/BidSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class BidSummary extends Definition {
* Minimum amount that was specified for auction
*
* @var float
* @deprecated 1.0.2.1 Obsolete: Not used actively anymore
*/
public $RequestedBidMinimumLimit;

Expand Down
1 change: 1 addition & 0 deletions src/Definition/DebtManagementEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class DebtManagementEvent extends Definition {

/**
* @var string
* @deprecated 1.0.2.0 Obsolete: Not used actively anymore
*/
public $Description;

Expand Down
4 changes: 4 additions & 0 deletions src/Definition/Liability.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Liability extends Definition {
* Is refinanced
*
* @var bool
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $IsRefinanced;

Expand All @@ -21,6 +22,7 @@ class Liability extends Definition {
* Enum: 0, 1, 2, 3, 4, 5, 6, 7, 101, 102, 103, 104, 105, 106, 107
*
* @var int
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $TypeOfLiability;

Expand All @@ -45,6 +47,7 @@ class Liability extends Definition {
* Outstanding
*
* @var float
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $Outstanding;

Expand All @@ -55,6 +58,7 @@ class Liability extends Definition {
* Enum: 0, 1, 2, 3, 4, 5, 6, 7
*
* @var int
* @deprecated 1.0.2.2 Obsolete: Not used actively anymore
*/
public $CollateralType;

Expand Down