TransactionRequest { @Deprecated public void setCardPaymentInfo(String clickType, boolean isSecureCard) { Logger.i("clicktype:" + clickType + ",isSecured:" + isSecureCard); this.cardClickType = clickType; this.isSecureCard = isSecureCard; } TransactionRequest(@NonNull String orderId, @NonNull Double amount, @NonNull String currency);  TransactionRequest(@NonNull String orderId, double amount); CustomerDetails getCustomerDetails(); void setCustomerDetails(@NonNull CustomerDetails customerDetails); ArrayList<BillingAddress> getBillingAddressArrayList(); void setBillingAddressArrayList(@NonNull ArrayList<BillingAddress> billingAddressArrayList); ArrayList<ShippingAddress> getShippingAddressArrayList(); void setShippingAddressArrayList(@NonNull ArrayList<ShippingAddress> shippingAddressArrayList); String getOrderId(); double getAmount(); int getPaymentMethod(); boolean isSecureCard(); String getCardClickType(); BillInfoModel getBillInfoModel(); void setBillInfoModel(BillInfoModel billInfoModel); ArrayList<ItemDetails> getItemDetails(); void setItemDetails(ArrayList<ItemDetails> itemDetails); @Deprecated void setCardPaymentInfo(String clickType, boolean isSecureCard); CreditCard getCreditCard(); void setCreditCard(CreditCard creditCard); ExpiryModel getExpiry(); void setExpiry(ExpiryModel expiry); List<String> getPromoCodes(); void setPromoCodes(List<String> promoCodes); boolean isPromoEnabled(); void setPromoEnabled(boolean promoEnabled); String getCustomField1(); void setCustomField1(String customField1); String getCustomField2(); void setCustomField2(String customField2); String getCustomField3(); void setCustomField3(String customField3); BankTransferRequestModel getPermataVa(); void setPermataVa(BankTransferRequestModel permataVa); BcaBankTransferRequestModel getBcaVa(); void setBcaVa(BcaBankTransferRequestModel bcaVa); BankTransferRequestModel getBniVa(); void setBniVa(BankTransferRequestModel bniVa); List<String> getEnabledPayments(); void setEnabledPayments(List<String> enabledPayments); void setCurrency(String currency); String getCurrency(); Gopay getGopay(); void setGopay(Gopay gopay);  }
@Test public void setCardPaymentInfoTest() { transactionRequest.setCardPaymentInfo(clickType, isScureCard); Assert.assertEquals(clickType, transactionRequest.getCardClickType()); Assert.assertEquals(isScureCard, transactionRequest.isSecureCard()); }