ConversionRequestRepositoryInterface
in
Interface ConversionRequest
Tags
Table of Contents
Methods
- approveConversionRequest() : ConversionRequest
- cancelConversionRequest() : ConversionRequest
- createConversionRequest() : mixed
- denyConversionRequest() : ConversionRequest
- viewConversionRequestAdminCP() : Paginator
- viewConversionRequests() : Paginator
Methods
approveConversionRequest()
public
approveConversionRequest(User $user, ConversionRequest $request) : ConversionRequest
Parameters
- $user : User
- $request : ConversionRequest
Return values
ConversionRequestcancelConversionRequest()
public
cancelConversionRequest(User $user, ConversionRequest $request) : ConversionRequest
Parameters
- $user : User
- $request : ConversionRequest
Return values
ConversionRequestcreateConversionRequest()
public
createConversionRequest(User $user, int $points[, string $currency = Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY ]) : mixed
Parameters
- $user : User
- $points : int
- $currency : string = Support::DEFAULT_CONVERSION_RATE_CURRENCY_TO_MONEY
denyConversionRequest()
public
denyConversionRequest(User $user, ConversionRequest $request[, string|null $reason = null ]) : ConversionRequest
Parameters
- $user : User
- $request : ConversionRequest
- $reason : string|null = null
Return values
ConversionRequestviewConversionRequestAdminCP()
public
viewConversionRequestAdminCP([array<string|int, mixed> $attributes = [] ]) : Paginator
Parameters
- $attributes : array<string|int, mixed> = []
Return values
PaginatorviewConversionRequests()
public
viewConversionRequests(User $user[, array<string|int, mixed> $attributes = [] ]) : Paginator
Parameters
- $user : User
- $attributes : array<string|int, mixed> = []