Skip to content

Commit f036138

Browse files
Add global bin support
1 parent 6e7f818 commit f036138

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Adapter/InstallmentAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ public function searchInstallments(array $request)
1212
return $this->httpGet($path);
1313
}
1414

15-
public function retrieveBinNumber($binNumber)
15+
public function retrieveBinNumber($binNumber, $includeGlobalBins = false)
1616
{
17-
$path = "/installment/v1/bins/" . $binNumber;
17+
$path = "/installment/v1/bins/" . $binNumber . ($includeGlobalBins ? "?includeGlobalBins=true" : "");
1818
return $this->httpGet($path);
1919
}
2020
}

0 commit comments

Comments
 (0)