Class: Straddle::Models::AccountPolicyControls

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

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(allow_customer_identity_skip:, allow_data_unmask:, allow_duplicate_email:, allow_paykey_verification_skip:) ⇒ Object

Parameters:

  • allow_customer_identity_skip (Boolean) —

    Whether customer identity verification can be skipped.

  • allow_data_unmask (Boolean) —

    Whether the account can retrieve unmasked sensitive fields.

  • allow_duplicate_email (Boolean) —

    Whether multiple customers can share one email address.

  • allow_paykey_verification_skip (Boolean) —

    Whether paykey verification can be skipped.



# File 'lib/straddle/models/account_policy_controls.rb', line 30

Instance Attribute Details

#allow_customer_identity_skip ⇒ Boolean

Whether customer identity verification can be skipped.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


10
# File 'lib/straddle/models/account_policy_controls.rb', line 10

required :allow_customer_identity_skip, Straddle::Internal::Type::Boolean

#allow_data_unmask ⇒ Boolean

Whether the account can retrieve unmasked sensitive fields.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


16
# File 'lib/straddle/models/account_policy_controls.rb', line 16

required :allow_data_unmask, Straddle::Internal::Type::Boolean

#allow_duplicate_email ⇒ Boolean

Whether multiple customers can share one email address.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


22
# File 'lib/straddle/models/account_policy_controls.rb', line 22

required :allow_duplicate_email, Straddle::Internal::Type::Boolean

#allow_paykey_verification_skip ⇒ Boolean

Whether paykey verification can be skipped.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


28
# File 'lib/straddle/models/account_policy_controls.rb', line 28

required :allow_paykey_verification_skip, Straddle::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


27
# File 'sig/straddle/models/account_policy_controls.rbs', line 27

def to_hash: -> {