public class Cards extends AbstractApi
clientpublic Cards(Client client)
public CardResponse createCard(String customerId, String token)
customerId - the id of the customer with which to associate the cardtoken - the card token stringpublic CardResponse createCard(String customerId, CreateCardRequest request)
customerId - the id of the customer with which to associate the cardrequest - the card creation requestpublic CardResponse updateCard(String customerId, String cardId, UpdateCardRequest request)
customerId - the id of the customer with which the card record is associatedcardId - the id of the card to be updatedrequest - the update request datapublic CardResponse getCard(String customerId, String cardId)
customerId - the id of the customer with which the card record is associatedcardId - the id of the card to be retrievedpublic DeleteResponse deleteCard(String customerId, String cardId)
customerId - the id of the customer with which the card record is associatedcardId - the id of the card to be deletedpublic ListCardsResponse listCards(String customerId)
customerId - the id of the customer for which to list cardspublic ListCardsResponse listCards(String customerId, Integer limit)
customerId - the id of the customer for which to list cardslimit - optionally limit the number of card records returnedCopyright © 2014. All rights reserved.