- Adjust to use only one HttpClient for all SDK requests
- Addition of DiscountCampaign class to allow find a valid discount
- Addition of MPRequestOptions to allow configure each request (configure access token, add headers, configure timeouts)
MPRequestOptions requestOptions = MPRequestOptions.builder()
.setAccessToken("ACCESS_TOKEN")
.build();
- Added functionality to allow creation of a card token using card id
CardToken cardToken = new CardToken();
cardToken.setCustomerId("CUSTOMER_ID");
cardToken.setCardId("CARD_ID");
cardToken.setSecurityCode("123");
cardToken.save();