class

Stripe::VerificationDataSpecs

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

Constants

ERROR_MESSAGE_FOR_ADDRESS_LINE1_CHECK = "invalid value for \"address_line1_check\", must be one of [match, mismatch, not_provided]."
ERROR_MESSAGE_FOR_ADDRESS_POSTAL_CODE_CHECK = "invalid value for \"address_postal_code_check\", must be one of [match, mismatch, not_provided]."
ERROR_MESSAGE_FOR_CVC_CHECK = "invalid value for \"cvc_check\", must be one of [match, mismatch, not_provided]."
ERROR_MESSAGE_FOR_EXPIRY_CHECK = "invalid value for \"expiry_check\", must be one of [match, mismatch, not_provided]."
VALID_VALUES_FOR_ADDRESS_LINE1_CHECK = String.static_array("match", "mismatch", "not_provided")
VALID_VALUES_FOR_ADDRESS_POSTAL_CODE_CHECK = String.static_array("match", "mismatch", "not_provided")
VALID_VALUES_FOR_CVC_CHECK = String.static_array("match", "mismatch", "not_provided")
VALID_VALUES_FOR_EXPIRY_CHECK = String.static_array("match", "mismatch", "not_provided")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address_line1_check : String | Nil = nil, address_postal_code_check : String | Nil = nil, authentication_exemption : Stripe::AuthenticationExemptionSpecs | Nil = nil, cvc_check : String | Nil = nil, expiry_check : String | Nil = nil, three_d_secure : Stripe::ThreeDSecureSpecs | 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

address_line1_check

Whether the cardholder provided an address first line and if it matched the cardholder’s billing.address.line1.

Source
address_line1_check=(new_value : String | Nil)

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

Source
address_postal_code_check

Whether the cardholder provided a postal code and if it matched the cardholder’s billing.address.postal_code.

Source
address_postal_code_check=(new_value : String | Nil)

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

Source
authentication_exemption
Source
authentication_exemption=(new_value : Stripe::AuthenticationExemptionSpecs | Nil)

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

Source
cvc_check

Whether the cardholder provided a CVC and if it matched Stripe’s record.

Source
cvc_check=(new_value : String | Nil)

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

Source
expiry_check

Whether the cardholder provided an expiry date and if it matched Stripe’s record.

Source
expiry_check=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] expiry_check 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

list_invalid_properties

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

Source
three_d_secure
Source
three_d_secure=(new_value : Stripe::ThreeDSecureSpecs | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] three_d_secure 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