public static final class RefundService.RefundListRequest<S> extends ListRequest<S,Refund>
Request class for RefundService.list()
.
Returns a cursor-paginated list of your refunds.
Modifier and Type | Class and Description |
---|---|
static class |
RefundService.RefundListRequest.CreatedAt |
static class |
RefundService.RefundListRequest.RefundType |
ListRequest.ListRequestExecutor<S,T>
Modifier and Type | Method and Description |
---|---|
RefundService.RefundListRequest<S> |
withAfter(java.lang.String after)
Cursor pointing to the start of the desired set.
|
RefundService.RefundListRequest<S> |
withBefore(java.lang.String before)
Cursor pointing to the end of the desired set.
|
RefundService.RefundListRequest<S> |
withCreatedAt(RefundService.RefundListRequest.CreatedAt createdAt) |
RefundService.RefundListRequest<S> |
withCreatedAtGt(java.lang.String gt)
Limit to records created after the specified date-time.
|
RefundService.RefundListRequest<S> |
withCreatedAtGte(java.lang.String gte)
Limit to records created on or after the specified date-time.
|
RefundService.RefundListRequest<S> |
withCreatedAtLt(java.lang.String lt)
Limit to records created before the specified date-time.
|
RefundService.RefundListRequest<S> |
withCreatedAtLte(java.lang.String lte)
Limit to records created on or before the specified date-time.
|
RefundService.RefundListRequest<S> |
withHeader(java.lang.String headerName,
java.lang.String headerValue) |
RefundService.RefundListRequest<S> |
withLimit(java.lang.Integer limit)
Number of records to return.
|
RefundService.RefundListRequest<S> |
withMandate(java.lang.String mandate)
Unique identifier, beginning with “MD”.
|
RefundService.RefundListRequest<S> |
withPayment(java.lang.String payment)
Unique identifier, beginning with “PM”.
|
RefundService.RefundListRequest<S> |
withRefundType(RefundService.RefundListRequest.RefundType refundType)
Whether a refund was issued against a mandate or a payment.
|
execute, executeWrapped, iteratingExecutor, pagingExecutor
public RefundService.RefundListRequest<S> withAfter(java.lang.String after)
Cursor pointing to the start of the desired set.
public RefundService.RefundListRequest<S> withBefore(java.lang.String before)
Cursor pointing to the end of the desired set.
public RefundService.RefundListRequest<S> withCreatedAt(RefundService.RefundListRequest.CreatedAt createdAt)
public RefundService.RefundListRequest<S> withCreatedAtGt(java.lang.String gt)
Limit to records created after the specified date-time.
public RefundService.RefundListRequest<S> withCreatedAtGte(java.lang.String gte)
Limit to records created on or after the specified date-time.
public RefundService.RefundListRequest<S> withCreatedAtLt(java.lang.String lt)
Limit to records created before the specified date-time.
public RefundService.RefundListRequest<S> withCreatedAtLte(java.lang.String lte)
Limit to records created on or before the specified date-time.
public RefundService.RefundListRequest<S> withLimit(java.lang.Integer limit)
Number of records to return.
public RefundService.RefundListRequest<S> withMandate(java.lang.String mandate)
Unique identifier, beginning with “MD”.
public RefundService.RefundListRequest<S> withPayment(java.lang.String payment)
Unique identifier, beginning with “PM”.
public RefundService.RefundListRequest<S> withRefundType(RefundService.RefundListRequest.RefundType refundType)
Whether a refund was issued against a mandate or a payment. One of:
payment
: default returns refunds created against payments onlymandate
: returns refunds created against mandates onlypublic RefundService.RefundListRequest<S> withHeader(java.lang.String headerName, java.lang.String headerValue)