Skip to content

Commit

Permalink
Add missing filters to Invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdante committed Feb 15, 2024
1 parent 7d7630d commit 8ad6a4a
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/Invoice/InvoiceSearchStruct.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ public function setCustomerIdFilter(int $customerId)
$this->filters['CUSTOMER_ID'] = $customerId;
}

public function setProjectIdFilter(string $month)
/**
* @Deprecated
*/
public function setMonthFilter(string $month)
{
$this->filters['MONTH'] = $month;
}

/**
* @Deprecated
*/
public function setYearFilter(string $year)
{
$this->filters['YEAR'] = $year;
Expand All @@ -47,6 +53,26 @@ public function setEndDueDateFilter(string $endDueDate)
$this->filters['END_DUE_DATE'] = $endDueDate;
}

public function setStartPaidDateFilter(string $startPaidDate)
{
$this->filters['START_PAID_DATE'] = $startPaidDate;
}

public function setEndPaidDateFilter(string $endPaidDate)
{
$this->filters['END_PAID_DATE'] = $endPaidDate;
}

public function setStartDate(string $startDate)
{
$this->filters['START_DATE'] = $startDate;
}

public function setEndDateFilter(string $endDate)
{
$this->filters['END_DATE'] = $endDate;
}

public function setTypeFilter(string $type)
{
$this->filters['TYPE'] = $type;
Expand Down

0 comments on commit 8ad6a4a

Please sign in to comment.