PaymentSDK
Mobile payment SDK
|
Contains input fields for card data. More...
Classes | |
class | Builder |
Public Class Methods | |
static WirecardCardFormFragment | newInstance (int textSize, int textColorID, int hintColorID) |
Returns WirecardCardFormFragment new instance. Use this method if you want to set text size and color for input fields. More... | |
Public Instance Methods | |
View | onCreateView (LayoutInflater inflater,@Nullable ViewGroup container,@Nullable Bundle savedInstanceState) |
void | onViewCreated (View view,@Nullable Bundle savedInstanceState) |
void | onSaveInstanceState (Bundle outState) |
void | clearAllFields () |
Clears all input fields. More... | |
void | setLocale (String locale) |
Set locale for card form fragment. More... | |
String | getCardBrand () |
Returns brand of card entered by user. More... | |
boolean | isCardValid () |
Whether all card data provided by user are valid. More... | |
String | getLocale () |
Get locale for card form fragment. More... | |
WirecardExtendedCardPayment | getWirecardExtendedCardPayment () throws WirecardException |
Returns WirecardExtendedCardPayment object with appended card data if provided by user. More... | |
Static Public Attributes | |
static final int | INPUT_UNSPECIFIED = -1 |
Private Instance Methods | |
WirecardExtendedCardPayment | appendData (WirecardExtendedCardPayment wirecardExtendedCardPayment) throws WirecardException |
Private Fields | |
CardFormComponent | mCardFormComponent |
String | mLocale |
WirecardExtendedCardPayment | mWirecardExtendedCardPayment |
Static Private Attributes | |
static final String | KEY_PAYMENT = "KEY_PAYMENT" |
static final String | KEY_TEXT_SIZE = "KEY_TEXT_SIZE" |
static final String | KEY_TEXT_COLOR = "KEY_TEXT_COLOR" |
static final String | KEY_HIDE_CARD_ICON = "KEY_HIDE_CARD_ICON" |
static final String | KEY_HINT_COLOR = "KEY_HINT_COLOR" |
static final String | KEY_LOCALE = "KEY_LOCALE" |
static final String | KEY_EXP_DATE = "KEY_EXP_DATE" |
static final String | KEY_CARD_BRAND = "KEY_CARD_BRAND" |
static final String | KEY_REQUEST_FOCUS = "KEY_REQUEST_FOCUS" |
static final String | KEY_SUPPORTED_CARD_BRANDS = "KEY_SUPPORTED_CARD_BRANDS" |
Contains input fields for card data.
|
inlineprivate |
|
inline |
Clears all input fields.
|
inline |
Returns brand of card entered by user.
|
inline |
Get locale for card form fragment.
|
inline |
Returns WirecardExtendedCardPayment object with appended card data if provided by user.
WirecardException | when card form not initialized yet. |
|
inline |
Whether all card data provided by user are valid.
|
inlinestatic |
Returns WirecardCardFormFragment new instance. Use this method if you want to set text size and color for input fields.
textSize | new text size of input fields. in SP units. |
textColorID | resource ID for text color. |
hintColorID | resource ID for hint color. |
|
inline |
|
inline |
|
inline |
|
inline |
Set locale for card form fragment.
|
static |
Use this flag when you don't want to change property settings.
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |