Class: Straddle::Models::Customers::CustomerKYCVerification::Validations

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/straddle/models/customers/customer_kyc_verification.rb,
sig/straddle/models/customers/customer_kyc_verification.rbs

Overview

See Also:

  • Straddle::Models::Customers::CustomerKYCVerification#validations

Instance Attribute 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 ⇒ Object



91
# File 'sig/straddle/models/customers/customer_kyc_verification.rbs', line 91

def initialize: (

Instance Attribute Details

#address ⇒ Boolean?

Whether the customer's address passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


37
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 37

optional :address, Straddle::Internal::Type::Boolean

#city ⇒ Boolean?

Whether the customer's city passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


43
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 43

optional :city, Straddle::Internal::Type::Boolean

#dob ⇒ Boolean?

Whether the customer's date of birth passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


49
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 49

optional :dob, Straddle::Internal::Type::Boolean

#email ⇒ Boolean?

Whether the customer's email passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


55
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 55

optional :email, Straddle::Internal::Type::Boolean

#first_name ⇒ Boolean?

Whether the customer's first name passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


61
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 61

optional :first_name, Straddle::Internal::Type::Boolean

#last_name ⇒ Boolean?

Whether the customer's last name passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


67
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 67

optional :last_name, Straddle::Internal::Type::Boolean

#phone ⇒ Boolean?

Whether the customer's phone passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


73
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 73

optional :phone, Straddle::Internal::Type::Boolean

#ssn ⇒ Boolean?

Whether the customer's Social Security number passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


79
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 79

optional :ssn, Straddle::Internal::Type::Boolean

#state ⇒ Boolean?

Whether the customer's state passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


85
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 85

optional :state, Straddle::Internal::Type::Boolean

#zip ⇒ Boolean?

Whether the customer's ZIP code passed validation.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


91
# File 'lib/straddle/models/customers/customer_kyc_verification.rb', line 91

optional :zip, Straddle::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


104
# File 'sig/straddle/models/customers/customer_kyc_verification.rbs', line 104

def to_hash: -> {