Skip to content

Commit

Permalink
wip: paged merchants api endpoint. (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsorcery authored May 18, 2024
1 parent 07a0893 commit bc772dc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/NoFrixion.MoneyMoov/Models/ApiPageResponseBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ public PaymentAccountPageResponse(List<PaymentAccount> content,
{ }
}

public class MerchantPageResponse : ApiPageResponseBase<Merchant>
{
public MerchantPageResponse(List<Merchant> content,
int pageNumber = 1,
int pageSize = 10,
int totalPages = default,
long totalSize = default)
: base(content, pageNumber, pageSize, totalPages, totalSize)
{ }
}

public abstract class ApiPageResponseBase<T> : PageResponse<T>
{
/// <summary>
Expand Down

0 comments on commit bc772dc

Please sign in to comment.