class CardMultilineWidget extends LinearLayout {

    @Nullable
    public Card getCard() {
        if (validateAllFields()) {
            String cardNumber = mCardNumberEditText.getCardNumber();
            int[] cardDate = mExpiryDateEditText.getValidDateFields();
            String cvcValue = mCvcEditText.getText().toString();

            Card card = new Card(cardNumber, cardDate[0], cardDate[1], cvcValue);
            if (mShouldShowPostalCode) {
                card.setAddressZip(mPostalCodeEditText.getText().toString());
            }
            return card.addLoggingToken(CARD_MULTILINE_TOKEN);
        }

        return null;
    }

    public  CardMultilineWidget(Context context);
    public  CardMultilineWidget(Context context, AttributeSet attrs);
    public  CardMultilineWidget(Context context, AttributeSet attrs, int defStyleAttr);
    @VisibleForTesting  CardMultilineWidget(Context context, boolean shouldShowPostalCode);

}