Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 905 Bytes

CREDIT.md

File metadata and controls

30 lines (25 loc) · 905 Bytes

#CREDIT CARD

alt tag

Example instance setted card:

        final OptionView creditCardSetted = new OptionView.Builder()
                .creditCard()
                .setCVV("233")
                .setCardHolderName("Lacorte Michele")
                .setCardNumber("5566784298446522")
                .setCardExpiry("01/20")
                .title("Credit Card")
                .menuItem(R.menu.menu_main)
                .toolbarListener(toolbarListener)
                .build();

Credit card creation:

        final OptionView creditCardCreation = new OptionView.Builder()
                .creditCard()
                .setCardCreation(MainActivity.this) //Pass your activity
                .title("Credit Card")
                .menuItem(R.menu.menu_main)
                .toolbarListener(toolbarListener)
                .build();