Module: GenesisRuby::Api::Mixins::Requests::NonFinancial::Kyc::BackgroundChecksAttributes
- Included in:
- Requests::NonFinancial::Kyc::Verifications::Create
- Defined in:
- lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb
Overview
Anti-money laundering background check
Instance Attribute Summary collapse
-
#background_checks_async_update ⇒ Object
Returns the value of attribute background_checks_async_update.
-
#background_checks_first_name ⇒ Object
Returns the value of attribute background_checks_first_name.
-
#background_checks_full_name ⇒ Object
Returns the value of attribute background_checks_full_name.
-
#background_checks_last_name ⇒ Object
Returns the value of attribute background_checks_last_name.
-
#background_checks_match_score ⇒ Object
Returns the value of attribute background_checks_match_score.
-
#background_checks_middle_name ⇒ Object
Returns the value of attribute background_checks_middle_name.
Instance Method Summary collapse
-
#background_checks_date_of_birth ⇒ Object
Customer's date of birth.
-
#background_checks_date_of_birth=(value) ⇒ Object
Customer's date of birth.
-
#background_checks_filters ⇒ Object
One or more AML Filters to query.
-
#background_checks_filters=(value) ⇒ Object
One or more AML Filters to query.
Instance Attribute Details
#background_checks_async_update ⇒ Object
Returns the value of attribute background_checks_async_update.
16 17 18 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 16 def background_checks_async_update @background_checks_async_update end |
#background_checks_first_name ⇒ Object
Returns the value of attribute background_checks_first_name.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 14 def background_checks_first_name @background_checks_first_name end |
#background_checks_full_name ⇒ Object
Returns the value of attribute background_checks_full_name.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 14 def background_checks_full_name @background_checks_full_name end |
#background_checks_last_name ⇒ Object
Returns the value of attribute background_checks_last_name.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 14 def background_checks_last_name @background_checks_last_name end |
#background_checks_match_score ⇒ Object
Returns the value of attribute background_checks_match_score.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 14 def background_checks_match_score @background_checks_match_score end |
#background_checks_middle_name ⇒ Object
Returns the value of attribute background_checks_middle_name.
14 15 16 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 14 def background_checks_middle_name @background_checks_middle_name end |
Instance Method Details
#background_checks_date_of_birth ⇒ Object
Customer's date of birth
19 20 21 22 23 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 19 def background_checks_date_of_birth @background_checks_date_of_birth&.strftime( GenesisRuby::Api::Constants::DateTimeFormats::YYYY_MM_DD_ISO_8601 ) end |
#background_checks_date_of_birth=(value) ⇒ Object
Customer's date of birth
26 27 28 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 26 def background_checks_date_of_birth=(value) parse_date attribute: __method__, value: value, allow_empty: true end |
#background_checks_filters ⇒ Object
One or more AML Filters to query
41 42 43 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 41 def background_checks_filters @background_checks_filters || [] end |
#background_checks_filters=(value) ⇒ Object
One or more AML Filters to query
46 47 48 49 50 51 |
# File 'lib/genesis_ruby/api/mixins/requests/non_financial/kyc/background_checks_attributes.rb', line 46 def background_checks_filters=(value) parse_array_of_strings attribute: __method__, value: value, allowed: Api::Constants::NonFinancial::Kyc::AmlFilters.all, allow_empty: true end |