public class CardBuilder extends BaseCardBuilder<CardBuilder> implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<CardBuilder> |
CREATOR |
OPERATION_NAME_KEY, OPTIONS_KEY| Modifier | Constructor and Description |
|---|---|
|
CardBuilder() |
protected |
CardBuilder(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
CardBuilder |
authenticationInsightRequested(boolean requested) |
protected void |
build(org.json.JSONObject json,
org.json.JSONObject paymentMethodNonceJson) |
protected void |
buildGraphQL(android.content.Context context,
org.json.JSONObject base,
org.json.JSONObject variables) |
CardBuilder |
merchantAccountId(java.lang.String id) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
cardholderName, cardNumber, company, countryCode, cvv, describeContents, expirationDate, expirationMonth, expirationYear, extendedAddress, firstName, getApiPath, getResponsePaymentMethodType, lastName, locality, postalCode, region, streetAddressbuild, buildGraphQL, getDefaultIntegration, getDefaultSource, integration, setSessionId, source, validatepublic static final android.os.Parcelable.Creator<CardBuilder> CREATOR
public CardBuilder()
protected CardBuilder(android.os.Parcel in)
protected void buildGraphQL(android.content.Context context,
org.json.JSONObject base,
org.json.JSONObject variables)
throws BraintreeException,
org.json.JSONException
buildGraphQL in class PaymentMethodBuilder<CardBuilder>BraintreeExceptionorg.json.JSONExceptionpublic CardBuilder merchantAccountId(java.lang.String id)
id - The merchant account id used to generate the authentication insight.CardBuilderpublic CardBuilder authenticationInsightRequested(boolean requested)
requested - If authentication insight will be requested.CardBuilderprotected void build(org.json.JSONObject json,
org.json.JSONObject paymentMethodNonceJson)
throws org.json.JSONException
build in class BaseCardBuilder<CardBuilder>org.json.JSONExceptionpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class BaseCardBuilder<CardBuilder>