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, streetAddress
build, buildGraphQL, getDefaultIntegration, getDefaultSource, integration, setSessionId, source, validate
public 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>
BraintreeException
org.json.JSONException
public CardBuilder merchantAccountId(java.lang.String id)
id
- The merchant account id used to generate the authentication insight.CardBuilder
public CardBuilder authenticationInsightRequested(boolean requested)
requested
- If authentication insight will be requested.CardBuilder
protected void build(org.json.JSONObject json, org.json.JSONObject paymentMethodNonceJson) throws org.json.JSONException
build
in class BaseCardBuilder<CardBuilder>
org.json.JSONException
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class BaseCardBuilder<CardBuilder>