Credit Card

Credit Card: Expiring Between

Returns a collection of Credit Card objects that expire between the specified dates.

  1. Java
Calendar start = Calendar.getInstance();
start.set(2018, 0, 1);
Calendar end = Calendar.getInstance();
end.set(2018, 11, 30);

ResourceCollection<CreditCard> expiredCards = gateway.creditCard().expiringBetween(start, end);
Arguments
endDaterequired, string
The maximum expiration date of cards returned in the search (inclusive).
startDaterequired, string
The minimum expiration date of cards returned in the search (inclusive).