module Braintree::Transaction::Sandbox::Nonce

Defined in:

models/sandbox/fraud_tool.cr
models/sandbox/transaction/nonce.cr

Class Method Summary

Class Method Detail

def self.android_pay #

A nonce representing a Google Pay or Android Pay request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-android-pay-nonce


[View source]
def self.android_pay_amex #

A nonce representing a Google Pay or Android Pay American Express request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-android-pay-amex-nonce


[View source]
def self.android_pay_discover #

A nonce representing a Google Pay or Android Pay Discover request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-android-pay-discover-nonce


[View source]
def self.android_pay_mastercard #

A nonce representing a Google Pay or Android Pay Mastercard request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-android-pay-mastercard-nonce


[View source]
def self.android_pay_visa #

A nonce representing a Google Pay or Android Pay Visa request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-android-pay-visa-nonce


[View source]
def self.apple_pay_amex #

A nonce representing an Apple Pay request for an American Express card number

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-apple-pay-amex-nonce


[View source]
def self.apple_pay_discover #

A nonce representing an Apple Pay request for a Discover card number

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-apple-pay-discover-nonce


[View source]
def self.apple_pay_mastercard #

A nonce representing an Apple Pay request for a Mastercard card number

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-apple-pay-mastercard-nonce


[View source]
def self.apple_pay_visa #

A nonce representing an Apple Pay request for a Visa card number

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-apple-pay-visa-nonce


[View source]
def self.consumed #

A nonce that has already been consumed

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-consumed-nonce


[View source]
def self.four_digit_cvv_only #

A nonce representing a 4-digit CID with a CVV response of M (matches)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-four-digit-cvv-only-nonce


[View source]
def self.four_digit_cvv_only_n_response #

A nonce representing a 4-digit CID with a CVV response of N (does not match)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-four-digit-cvv-only-n-response-nonce


[View source]
def self.four_digit_cvv_only_s_response #

A nonce representing a 4-digit CID with a CVV response of S (issuer does not participate)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-four-digit-cvv-only-s-response-nonce


[View source]
def self.four_digit_cvv_only_u_response #

A nonce representing a 4-digit CID with a CVV response of U (not verified)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-four-digit-cvv-only-u-response-nonce


[View source]
def self.gateway_rejected_kount #

A nonce representing a card that will be gateway rejected by Kount

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-gateway-rejected-kount-nonce


[View source]
def self.gateway_rejected_risk_thresholds #

A nonce representing a card that will be gateway rejected by your risk threshold rules

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-gateway-rejected-risk-thresholds-nonce


[View source]
def self.google_pay_paypal #

A nonce representing a PayPal via Google Pay request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-google-pay-paypal-nonce


[View source]
def self.local_payment_method #

A nonce representing a Local Payment Method

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-local-payment-method-nonce


[View source]
def self.luhn_invalid #

A nonce representing a Luhn-invalid card

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-luhn-invalid-nonce


[View source]
def self.masterpass_amex #

A nonce representing an American Express card from Masterpass

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-masterpass-amex-nonce


[View source]
def self.masterpass_discover #

A nonce representing a Discover card from Masterpass

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-masterpass-discover-nonce


[View source]
def self.masterpass_mastercard #

A nonce representing a Mastercard card from Masterpass

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-masterpass-mastercard-nonce


[View source]
def self.masterpass_visa #

A nonce representing a Visa card from Masterpass

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-masterpass-visa-nonce


[View source]
def self.paypal_billing_agreement #

A nonce representing a PayPal billing agreement that a customer has authorized via the Vault flow. Learn more about PayPal testing options.

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-paypal-billing-agreement-nonce


[View source]
def self.paypal_future #

A nonce representing a PayPal account that a customer has authorized for future payments via a deprecated version of the Vault flow; use fake-paypal-billing-agreement-nonce instead.

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-paypal-future-nonce


[View source]
def self.paypal_one_time #

A nonce representing an unvaulted PayPal account that a customer has authorized for one-time payments via the Checkout flow. Learn more about PayPal testing options.

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-paypal-one-time-nonce


[View source]
def self.processor_declined_amex #

A nonce representing a request for a American Express card that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-declined-amex-nonce


[View source]
def self.processor_declined_dinersclub #

A nonce representing a request for a Diners Club card that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-declined-dinersclub-nonce


[View source]
def self.processor_declined_discover #

A nonce representing a request for a Discover card that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-declined-discover-nonce


[View source]
def self.processor_declined_mastercard #

A nonce representing a request for a Mastercard that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-declined-mastercard-nonce


[View source]
def self.processor_declined_visa #

A nonce representing a request for a Visa card that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-declined-visa-nonce


[View source]
def self.processor_failure_jcb #

A nonce representing a request for a JCB card that was declined by the processor

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-processor-failure-jcb-nonce


[View source]
def self.three_d_secure_two_visa_error_on_lookup #

A nonce or three_d_secure_authentication_id representing a 3D Secure 2 error during the cardholder enrollment lookup

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-two-visa-error-on-lookup-nonce


[View source]
def self.three_d_secure_two_visa_successful_frictionless_authentication #

A nonce or three_d_secure_authentication_id representing a 3D Secure 2 successful authentication that did not require a challenge

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-two-visa-successful-frictionless-authentication-nonce


[View source]
def self.three_d_secure_two_visa_successful_step_up_authentication #

A nonce or three_d_secure_authentication_id representing a 3D Secure 2 successful authentication that required a challenge

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-two-visa-successful-step-up-authentication-nonce


[View source]
def self.three_d_secure_two_visa_timeout_on_lookup #

A nonce or three_d_secure_authentication_id representing a 3D secure 2 error where the cardholder enrollment lookup request timed out

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-two-visa-timeout-on-lookup-nonce


[View source]
def self.three_d_secure_visa_attempts_non_participating #

A nonce or three_d_secure_authentication_id representing a 3D Secure authentication through the card brand's Attempts server because the issuer's authentication server is unavailable

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-attempts-non-participating-nonce


[View source]
def self.three_d_secure_visa_authentication_unavailable #

A nonce or three_d_secure_authentication_id representing a 3D Secure error where the cardholder is enrolled but authentication is not available

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-authentication-unavailable-nonce


[View source]
def self.three_d_secure_visa_bypassed_authentication #

A nonce or three_d_secure_authentication_id representing a scenario where 3D Secure must be bypassed to prevent rejections during lookup or authentication service outages

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-bypassed-authentication-nonce


[View source]
def self.three_d_secure_visa_failed_authentication #

A nonce or three_d_secure_authentication_id representing a 3D Secure scenario where the cardholder was enrolled but failed authentication

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-failed-authentication-nonce


[View source]
def self.three_d_secure_visa_failed_signature #

A nonce or three_d_secure_authentication_id representing a 3D Secure authentication where the cardholder was enrolled but failed signature verification

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-failed-signature-nonce


[View source]
def self.three_d_secure_visa_full_authentication #

A nonce or three_d_secure_authentication_id representing a full 3D Secure authentication

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-full-authentication-nonce


[View source]
def self.three_d_secure_visa_lookup_timeout #

A nonce or three_d_secure_authentication_id representing a 3D secure error where the cardholder enrollment lookup request timed out

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-lookup-timeout-nonce


[View source]
def self.three_d_secure_visa_mpi_authenticate_error #

A nonce or three_d_secure_authentication_id representing a 3D Secure error during authentication

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-mpi-authenticate-error-nonce


[View source]
def self.three_d_secure_visa_mpi_lookup_error #

A nonce or three_d_secure_authentication_id representing a 3D Secure error during the cardholder enrollment lookup

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-mpi-lookup-error-nonce


[View source]
def self.three_d_secure_visa_not_enrolled #

A nonce or three_d_secure_authentication_id representing a 3D Secure authentication where the cardholder was not enrolled

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-not-enrolled-nonce


[View source]
def self.three_d_secure_visa_unavailable #

A nonce or three_d_secure_authentication_id representing a 3D Secure error where enrollment lookup is not available

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-d-secure-visa-unavailable-nonce


[View source]
def self.three_digit_cvv_only #

A nonce representing a 3-digit CVV with a CVV response of M (matches)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-digit-cvv-only-nonce


[View source]
def self.three_digit_cvv_only_n_response #

A nonce representing a 3-digit CVV with a CVV response of N (does not match)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-digit-cvv-only-n-response-nonce


[View source]
def self.three_digit_cvv_only_s_response #

A nonce representing a 3-digit CVV with a CVV response of S (issuer does not participate)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-digit-cvv-only-s-response-nonce


[View source]
def self.three_digit_cvv_only_u_response #

A nonce representing a 3-digit CVV with a CVV response of U (not verified)

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-three-digit-cvv-only-u-response-nonce


[View source]
def self.tokensam_american_express #

A nonce representing an American Express card from Samsung Pay

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#nonce_tokensam_fake_american_express


[View source]
def self.tokensam_mastercard #

A nonce representing a Mastercard card from Samsung Pay

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#nonce_tokensam_fake_mastercard


[View source]
def self.tokensam_visa #

A nonce representing a Visa card from Samsung Pay

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#nonce_tokensam_fake_visa


[View source]
def self.valid #

Generates a valid nonce that can be used to create a transaction

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-nonce


[View source]
def self.valid_amex #

Generates a nonce representing a valid American Express card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-amex-nonce


[View source]
def self.valid_commercial #

Generates a nonce representing a valid commercial card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-commercial-nonce


[View source]
def self.valid_country_of_issuance_cad #

Generates a nonce representing a request for a valid card issued in Canada

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-country-of-issuance-cad-nonce


[View source]
def self.valid_country_of_issuance_usa #

Generates a nonce representing a request for a valid card issued in the USA

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-country-of-issuance-usa-nonce


[View source]
def self.valid_debit #

Generates a nonce representing a valid debit card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-debit-nonce


[View source]
def self.valid_dinersclub #

Generates a nonce representing a valid Diners Club card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-dinersclub-nonce


[View source]
def self.valid_discover #

Generates a nonce representing a valid Discover card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-discover-nonce


[View source]
def self.valid_durbin_regulated #

Generates a nonce representing a valid Durbin regulated card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-durbin-regulated-nonce


[View source]
def self.valid_healthcare #

Generates a nonce representing a valid healthcare card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-healthcare-nonce


[View source]
def self.valid_issuing_bank_network_only #

Generates a nonce representing a request for a valid card with the message 'NETWORK ONLY' from the issuing bank end

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-issuing-bank-network-only-nonce


[View source]
def self.valid_jcb #

Generates a nonce representing a valid JCB card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-jcb-nonce


[View source]
def self.valid_maestro #

Generates a nonce representing a valid Maestro card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-maestro-nonce


[View source]
def self.valid_mastercard #

Generates a nonce representing a valid Mastercard request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-mastercard-nonce


[View source]
def self.valid_no_billing_address #

Generates a valid nonce containing no billing address information

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-no-billing-address-nonce


[View source]
def self.valid_no_indicators #

Generates a nonce representing a request for a valid card with no indicators

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-no-indicators-nonce


[View source]
def self.valid_payroll #

Generates a nonce representing a valid payroll card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-payroll-nonce


[View source]
def self.valid_prepaid #

Generates a nonce representing a valid prepaid card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-prepaid-nonce


[View source]
def self.valid_unknown_indicators #

Generates a nonce representing a request for a valid card with unknown indicators

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-unknown-indicators-nonce


[View source]
def self.valid_visa #

Generates a nonce representing a valid Visa card request

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-valid-visa-nonce


[View source]
def self.venmo_account #

A nonce representing a Venmo Account

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-venmo-account-nonce


[View source]
def self.visa_checkout_amex #

A nonce representing an American Express card from Visa Checkout

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-visa-checkout-amex-nonce


[View source]
def self.visa_checkout_discover #

A nonce representing a Discover card from Visa Checkout

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-visa-checkout-discover-nonce


[View source]
def self.visa_checkout_mastercard #

A nonce representing a Mastercard card from Visa Checkout

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-visa-checkout-mastercard-nonce


[View source]
def self.visa_checkout_visa #

A nonce representing a Visa card from Visa Checkout

more info: https://developers.braintreepayments.com/reference/general/testing/ruby#fake-visa-checkout-visa-nonce


[View source]