Skip to content

Commit c4cb56b

Browse files
authored
feat: add filter to clean non allowed fee plans (#233)
1 parent 639c7dd commit c4cb56b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Plugin/Infrastructure/Adapter/FeePlanListAdapterInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,11 @@ public function filterFeePlanList(array $paymentMethod): FeePlanListAdapterInter
4343
* @return FeePlanListAdapterInterface
4444
*/
4545
public function filterEnabled(): FeePlanListAdapterInterface;
46+
47+
/**
48+
* Returns a FeePlanList containing only available FeePlans (allowed by Alma).
49+
*
50+
* @return FeePlanListAdapterInterface
51+
*/
52+
public function filterAvailable(): FeePlanListAdapterInterface;
4653
}

0 commit comments

Comments
 (0)