class Stripe::IssuingNetworkTokenWalletProvider

Overview

Included Modules

Defined in:

stripe/models/issuing_network_token_wallet_provider.cr

Constant Summary

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

Instance Method Summary

Instance methods inherited from module OpenApi::Json

after_initialize after_initialize, clone clone, eql?(o : self) eql?, to_hash : Hash(String, JSON::Any) to_hash, to_json_any : JSON::Any to_json_any

Class methods inherited from module OpenApi::Json

build_from_hash(hash : Hash) build_from_hash, build_from_json_any(json_any : JSON::Any) build_from_json_any

Instance methods inherited from module OpenApi::Validatable

list_invalid_properties : Array(String) list_invalid_properties, list_invalid_properties_for(key : String) : Array(String) list_invalid_properties_for, valid? : Bool valid?, validate : Nil validate

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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


[View source]

Instance Method Detail

def ==(other : self) #

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


def account_id : String | Nil #

[View source]
def account_id=(new_value : String | Nil) #

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


[View source]
def account_trust_score : Int64 | Nil #

[View source]
def account_trust_score=(new_value : Int64 | Nil) #

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


[View source]
def card_number_source : String | Nil #

[View source]
def card_number_source=(new_value : String | Nil) #

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


[View source]
def cardholder_address : Stripe::IssuingNetworkTokenAddress | Nil #

[View source]
def cardholder_address=(new_value : Stripe::IssuingNetworkTokenAddress | Nil) #

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


[View source]
def cardholder_name : String | Nil #

[View source]
def cardholder_name=(new_value : String | Nil) #

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


[View source]
def device_trust_score : Int64 | Nil #

[View source]
def device_trust_score=(new_value : Int64 | Nil) #

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


[View source]
def hash(hasher) #

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


def hashed_account_email_address : String | Nil #

[View source]
def 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


[View source]
def list_invalid_properties : Array(String) #

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


[View source]
def reason_codes : Array(String) | Nil #

[View source]
def reason_codes=(new_value : Array(String) | Nil) #

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


[View source]
def suggested_decision : String | Nil #

[View source]
def suggested_decision=(new_value : String | Nil) #

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


[View source]
def suggested_decision_version : String | Nil #

[View source]
def suggested_decision_version=(new_value : String | Nil) #

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


[View source]
def valid? : Bool #

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


[View source]