CreditCard extends CreditCardModel implements Parcelable { public void declineTerms(@NonNull ApiCallback<CreditCard> callback) { makePostCall(DECLINE_TERMS, null, CreditCard.class, callback); } CreditCard(); protected  CreditCard(Parcel in); @Nullable Link getWebappCardLink(); void acceptTerms(@NonNull ApiCallback<CreditCard> callback); boolean canAcceptTerms(); @Deprecated boolean hasLink(String linkName); void declineTerms(@NonNull ApiCallback<CreditCard> callback); boolean canDeclineTerms(); void reactivate(@NonNull Reason reason, @NonNull ApiCallback<CreditCard> callback); boolean canReactivate(); void deactivate(@NonNull Reason reason, @NonNull ApiCallback<CreditCard> callback); boolean canDeactivate(); void makeDefault(@NonNull ApiCallback<Void> callback); void makeDefault(String deviceId, @NonNull ApiCallback<Void> callback); boolean canMakeDefault(); void deleteCard(@NonNull ApiCallback<Void> callback); boolean canDelete(); void updateCard(String name, Address address, @NonNull ApiCallback<CreditCard> callback); boolean canUpdateCard(); void getTransactions(int limit, int offset, ApiCallback<Collections.TransactionCollection> callback); boolean canGetTransactions(); @Nullable String getAcceptTermsUrl(); void setAcceptTermsUrl(@NonNull String acceptTermsUrl); void getSelectedVerificationMethod(@NonNull ApiCallback<VerificationMethod> callback); void getVerificationMethods(@NonNull ApiCallback<VerificationMethods> callback); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final Parcelable.Creator<CreditCard> CREATOR; }
@Test public void test18_declineTerms() throws InterruptedException { steps.createCard("9999411111111115"); steps.declineTerms(); }