Class: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/increase/models/real_time_decision_action_params.rb

Overview

Defined Under Namespace

Modules: Line1, PostalCode

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(line1: , postal_code: ) ⇒ Object

Your decisions on whether or not each provided address component is a match. Your response here is evaluated against the customer’s provided ‘postal_code` and `line1`, and an appropriate network response is generated. For example, if you would like to approve all transactions for a given card, you can submit `match` for both `postal_code` and `line1` and Increase will generate an approval with an Address Verification System (AVS) code that will match all of the available address information, or will report that no check was performed if no address information is available. If you do not provide a response, the address verification result will be calculated by Increase using the available address information available on the card. If none is available, Increase will report that no check was performed.

Parameters:



# File 'lib/increase/models/real_time_decision_action_params.rb', line 232

Instance Attribute Details

#line1Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1

Your decision on the address line of the provided address.



222
223
# File 'lib/increase/models/real_time_decision_action_params.rb', line 222

required :line1,
enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1 }

#postal_codeSymbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode

Your decision on the postal code of the provided address.



229
230
# File 'lib/increase/models/real_time_decision_action_params.rb', line 229

required :postal_code,
enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/real_time_decision_action_params.rb', line 261