Class CardProvisionParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class CardProvisionParams implements Params
Allow your cardholders to directly add payment cards to the device's digital wallet (e.g. Apple Pay) with one touch from your app.
This requires some additional setup and configuration. Please Contact Us or your Customer Success representative for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardProvisionParams.BuilderA builder for CardProvisionParams.
public final classCardProvisionParams.Bodypublic final classCardProvisionParams.DigitalWalletName of digital wallet provider.
-
Method Summary
Modifier and Type Method Description final Optional<String>cardToken()final Optional<String>certificate()Only applicable if digital_walletisAPPLE_PAY.final Optional<String>clientDeviceId()Only applicable if digital_walletisGOOGLE_PAYorSAMSUNG_PAYand the card is on the Visa network.final Optional<String>clientWalletAccountId()Only applicable if digital_walletisGOOGLE_PAYorSAMSUNG_PAYand the card is on the Visa network.final Optional<CardProvisionParams.DigitalWallet>digitalWallet()Name of digital wallet provider. final Optional<String>nonce()Only applicable if digital_walletisAPPLE_PAY.final Optional<String>nonceSignature()Only applicable if digital_walletisAPPLE_PAY.final JsonField<String>_certificate()Returns the raw JSON value of certificate. final JsonField<String>_clientDeviceId()Returns the raw JSON value of clientDeviceId. final JsonField<String>_clientWalletAccountId()Returns the raw JSON value of clientWalletAccountId. final JsonField<CardProvisionParams.DigitalWallet>_digitalWallet()Returns the raw JSON value of digitalWallet. final JsonField<String>_nonce()Returns the raw JSON value of nonce. final JsonField<String>_nonceSignature()Returns the raw JSON value of nonceSignature. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final CardProvisionParams.BuildertoBuilder()final CardProvisionParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static CardProvisionParamsnone()final static CardProvisionParams.Builderbuilder()Returns a mutable builder for constructing an instance of CardProvisionParams. -
-
Method Detail
-
certificate
final Optional<String> certificate()
Only applicable if
digital_walletisAPPLE_PAY. Omit to receive onlyactivationDatain the response. Apple's public leaf certificate. Base64 encoded in PEM format with headers(-----BEGIN CERTIFICATE-----)and trailers omitted. Provided by the device's wallet.
-
clientDeviceId
final Optional<String> clientDeviceId()
Only applicable if
digital_walletisGOOGLE_PAYorSAMSUNG_PAYand the card is on the Visa network. Stable device identification set by the wallet provider.
-
clientWalletAccountId
final Optional<String> clientWalletAccountId()
Only applicable if
digital_walletisGOOGLE_PAYorSAMSUNG_PAYand the card is on the Visa network. Consumer ID that identifies the wallet account holder entity.
-
digitalWallet
final Optional<CardProvisionParams.DigitalWallet> digitalWallet()
Name of digital wallet provider.
-
nonce
final Optional<String> nonce()
Only applicable if
digital_walletisAPPLE_PAY. Omit to receive onlyactivationDatain the response. Base64 cryptographic nonce provided by the device's wallet.
-
nonceSignature
final Optional<String> nonceSignature()
Only applicable if
digital_walletisAPPLE_PAY. Omit to receive onlyactivationDatain the response. Base64 cryptographic nonce provided by the device's wallet.
-
_certificate
final JsonField<String> _certificate()
Returns the raw JSON value of certificate.
Unlike certificate, this method doesn't throw if the JSON field has an unexpected type.
-
_clientDeviceId
final JsonField<String> _clientDeviceId()
Returns the raw JSON value of clientDeviceId.
Unlike clientDeviceId, this method doesn't throw if the JSON field has an unexpected type.
-
_clientWalletAccountId
final JsonField<String> _clientWalletAccountId()
Returns the raw JSON value of clientWalletAccountId.
Unlike clientWalletAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_digitalWallet
final JsonField<CardProvisionParams.DigitalWallet> _digitalWallet()
Returns the raw JSON value of digitalWallet.
Unlike digitalWallet, this method doesn't throw if the JSON field has an unexpected type.
-
_nonce
final JsonField<String> _nonce()
Returns the raw JSON value of nonce.
Unlike nonce, this method doesn't throw if the JSON field has an unexpected type.
-
_nonceSignature
final JsonField<String> _nonceSignature()
Returns the raw JSON value of nonceSignature.
Unlike nonceSignature, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final CardProvisionParams.Builder toBuilder()
-
_body
final CardProvisionParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static CardProvisionParams none()
-
builder
final static CardProvisionParams.Builder builder()
Returns a mutable builder for constructing an instance of CardProvisionParams.
-
-
-
-