class Stripe::IssuingNetworkTokenWalletProvider
 
  - Stripe::IssuingNetworkTokenWalletProvider
- Reference
- Object
Overview
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
stripe/models/issuing_network_token_wallet_provider.crConstant 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
- .new(pull : JSON::PullParser)
- 
        .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 
Instance Method Summary
- 
        #==(other : self)
        
          Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. 
- #account_id : String | Nil
- 
        #account_id=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #account_trust_score : Int64 | Nil
- 
        #account_trust_score=(new_value : Int64 | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #card_number_source : String | Nil
- 
        #card_number_source=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #cardholder_address : Stripe::IssuingNetworkTokenAddress | Nil
- 
        #cardholder_address=(new_value : Stripe::IssuingNetworkTokenAddress | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #cardholder_name : String | Nil
- 
        #cardholder_name=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #device_trust_score : Int64 | Nil
- 
        #device_trust_score=(new_value : Int64 | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- 
        #hash(hasher)
        
          Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. 
- #hashed_account_email_address : String | Nil
- 
        #hashed_account_email_address=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- 
        #list_invalid_properties : Array(String)
        
          Show invalid properties with the reasons. 
- #reason_codes : Array(String) | Nil
- 
        #reason_codes=(new_value : Array(String) | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #suggested_decision : String | Nil
- 
        #suggested_decision=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- #suggested_decision_version : String | Nil
- 
        #suggested_decision_version=(new_value : String | Nil)
        
          Custom attribute writer method checking allowed values (enum). 
- 
        #valid? : Bool
        
          Check to see if the all the properties in the model are valid @return true if the model is valid 
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
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] account_id Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] account_trust_score Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] card_number_source Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cardholder_address Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] cardholder_name Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] device_trust_score Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] hashed_account_email_address Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] reason_codes Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] suggested_decision Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] suggested_decision_version Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid