class

Stripe::IssuingNetworkTokenWalletProvider

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_CARD_NUMBER_SOURCE = "invalid value for \"card_number_source\", must be one of [app, manual, on_file, other]."
ERROR_MESSAGE_FOR_REASON_CODES = "invalid value for \"reason_codes\", must be one of [account_card_too_new, account_recently_changed, account_too_new, account_too_new_since_launch, additional_device, data_expired, defer_id_v_decision, device_recently_lost, good_activity_history, has_suspended_tokens, high_risk, inactive_account, long_account_tenure, low_account_score, low_device_score, low_phone_number_score, network_service_error, outside_home_territory, provisioning_cardholder_mismatch, provisioning_device_and_cardholder_mismatch, provisioning_device_mismatch, same_device_no_prior_authentication, same_device_successful_prior_authentication, software_update, suspicious_activity, too_many_different_cardholders, too_many_recent_attempts, too_many_recent_tokens]."
ERROR_MESSAGE_FOR_SUGGESTED_DECISION = "invalid value for \"suggested_decision\", must be one of [approve, decline, require_auth]."
MAX_LENGTH_FOR_ACCOUNT_ID = 5000
MAX_LENGTH_FOR_CARDHOLDER_NAME = 5000
MAX_LENGTH_FOR_HASHED_ACCOUNT_EMAIL_ADDRESS = 5000
MAX_LENGTH_FOR_SUGGESTED_DECISION_VERSION = 5000
VALID_VALUES_FOR_CARD_NUMBER_SOURCE = String.static_array("app", "manual", "on_file", "other")
VALID_VALUES_FOR_REASON_CODES = String.static_array("account_card_too_new", "account_recently_changed", "account_too_new", "account_too_new_since_launch", "additional_device", "data_expired", "defer_id_v_decision", "device_recently_lost", "good_activity_history", "has_suspended_tokens", "high_risk", "inactive_account", "long_account_tenure", "low_account_score", "low_device_score", "low_phone_number_score", "network_service_error", "outside_home_territory", "provisioning_cardholder_mismatch", "provisioning_device_and_cardholder_mismatch", "provisioning_device_mismatch", "same_device_no_prior_authentication", "same_device_successful_prior_authentication", "software_update", "suspicious_activity", "too_many_different_cardholders", "too_many_recent_attempts", "too_many_recent_tokens")
VALID_VALUES_FOR_SUGGESTED_DECISION = String.static_array("approve", "decline", "require_auth")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, account_id : String | Nil = nil, account_trust_score : Int64 | Nil = nil, card_number_source : String | Nil = nil, cardholder_address : Stripe::IssuingNetworkTokenAddress | Nil = nil, cardholder_name : String | Nil = nil, device_trust_score : Int64 | Nil = nil, hashed_account_email_address : String | Nil = nil, reason_codes : Array(String) | Nil = nil, suggested_decision : String | Nil = nil, suggested_decision_version : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

account_id

The wallet provider-given account ID of the digital wallet the token belongs to.

Source
account_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_id Object to be assigned

Source
account_trust_score

An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy.

Source
account_trust_score=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_trust_score Object to be assigned

Source
card_number_source

The method used for tokenizing a card.

Source
card_number_source=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] card_number_source Object to be assigned

Source
cardholder_address
Source
cardholder_address=(new_value : Stripe::IssuingNetworkTokenAddress | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] cardholder_address Object to be assigned

Source
cardholder_name

The name of the cardholder tokenizing the card.

Source
cardholder_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] cardholder_name Object to be assigned

Source
device_trust_score

An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy.

Source
device_trust_score=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] device_trust_score Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

hashed_account_email_address

The hashed email address of the cardholder's account with the wallet provider.

Source
hashed_account_email_address=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] hashed_account_email_address Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
reason_codes

The reasons for suggested tokenization given by the card network.

Source
reason_codes=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] reason_codes Object to be assigned

Source
suggested_decision

The recommendation on responding to the tokenization request.

Source
suggested_decision=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] suggested_decision Object to be assigned

Source
suggested_decision_version

The version of the standard for mapping reason codes followed by the wallet provider.

Source
suggested_decision_version=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] suggested_decision_version Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source