public class RecurringFilterParameters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecurringFilterParameters.SortOrderEnum
Sort based on order of results.
|
static class |
RecurringFilterParameters.TypeEnum
Filter recurring payments by certain type (applicable to /api/recurrings endpoint only): `SCHEDULED` for scheduled recurring payments `ONECLICK` for one-click payments `INSTALLMENT` for installment payments
|
| Constructor and Description |
|---|
RecurringFilterParameters() |
public void setRequestId(String requestId)
public RecurringFilterParameters requestId(String requestId)
requestId - Request IDpublic void setMerchantOrderId(String merchantOrderId)
public RecurringFilterParameters merchantOrderId(String merchantOrderId)
merchantOrderId - Merchant order number from the merchant systempublic void setPaymentMethod(String paymentMethod)
public RecurringFilterParameters paymentMethod(String paymentMethod)
paymentMethod - Used payment method type name from payment methods listpublic void setStartTime(OffsetDateTime startTime)
public RecurringFilterParameters startTime(OffsetDateTime startTime)
startTime - Date and time up to milliseconds (in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when requested period starts (inclusive), UTC time, default is 24 hours before 'end_time' (format: yyyy-MM-dd'T'HH:mm:ss'Z')public void setEndTime(OffsetDateTime endTime)
public RecurringFilterParameters endTime(OffsetDateTime endTime)
endTime - Date and time up to milliseconds (in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when requested period ends (not inclusive), UTC time, must be less than 7 days after 'start_time', default is current time (format: yyyy-MM-dd'T'HH:mm:ss'Z')public void setMaxCount(Integer maxCount)
public RecurringFilterParameters maxCount(Integer maxCount)
maxCount - Limit number of returned transactions (must be less than 10000, default is 1000)public void setSortOrder(RecurringFilterParameters.SortOrderEnum sortOrder)
public RecurringFilterParameters sortOrder(RecurringFilterParameters.SortOrderEnum sortOrder)
sortOrder - Sort based on order of results. `asc` for ascending order or `desc` for descending order (default value)public void setCurrency(String currency)
public RecurringFilterParameters currency(String currency)
currency - [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of transactions currencypublic void setType(RecurringFilterParameters.TypeEnum type)
public RecurringFilterParameters type(RecurringFilterParameters.TypeEnum type)
type - Filter recurring payments by certain type (applicable to /api/recurrings endpoint only): `SCHEDULED` for scheduled recurring payments `ONECLICK` for one-click payments `INSTALLMENT` for installment paymentsCopyright © 2019. All rights reserved.