Class: Lithic::Models::CardProvisionParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/card_provision_params.rb

Overview

Defined Under Namespace

Modules: DigitalWallet

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(certificate: nil, client_device_id: nil, client_wallet_account_id: nil, digital_wallet: nil, nonce: nil, nonce_signature: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::CardProvisionParams for more details.

Parameters:

  • certificate (String) (defaults to: nil)

    Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activa

  • client_device_id (String) (defaults to: nil)

    Only applicable if ‘digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the car

  • client_wallet_account_id (String) (defaults to: nil)

    Only applicable if ‘digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the car

  • digital_wallet (Symbol, Lithic::Models::CardProvisionParams::DigitalWallet) (defaults to: nil)

    Name of digital wallet provider.

  • nonce (String) (defaults to: nil)

    Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activa

  • nonce_signature (String) (defaults to: nil)

    Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activa

  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/lithic/models/card_provision_params.rb', line 57


Instance Attribute Details

#certificateString?

Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activationData` in 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.

Returns:

  • (String, nil)


17
# File 'lib/lithic/models/card_provision_params.rb', line 17

optional :certificate, String

#client_device_idString?

Only applicable if ‘digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the card is on the Visa network. Stable device identification set by the wallet provider.

Returns:

  • (String, nil)


25
# File 'lib/lithic/models/card_provision_params.rb', line 25

optional :client_device_id, String

#client_wallet_account_idString?

Only applicable if ‘digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the card is on the Visa network. Consumer ID that identifies the wallet account holder entity.

Returns:

  • (String, nil)


33
# File 'lib/lithic/models/card_provision_params.rb', line 33

optional :client_wallet_account_id, String

#digital_walletSymbol, ...

Name of digital wallet provider.



39
# File 'lib/lithic/models/card_provision_params.rb', line 39

optional :digital_wallet, enum: -> { Lithic::CardProvisionParams::DigitalWallet }

#nonceString?

Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activationData` in the response. Base64 cryptographic nonce provided by the device’s wallet.

Returns:

  • (String, nil)


47
# File 'lib/lithic/models/card_provision_params.rb', line 47

optional :nonce, String

#nonce_signatureString?

Only applicable if ‘digital_wallet` is `APPLE_PAY`. Omit to receive only `activationData` in the response. Base64 cryptographic nonce provided by the device’s wallet.

Returns:

  • (String, nil)


55
# File 'lib/lithic/models/card_provision_params.rb', line 55

optional :nonce_signature, String