Class: Dodopayments::Models::Blocklist::CreateBlockedCustomerRequest::BlocklistCustomersBlockByEmail
- Inherits:
-
BlockByEmail
- Object
- Internal::Type::BaseModel
- BlockByEmail
- Dodopayments::Models::Blocklist::CreateBlockedCustomerRequest::BlocklistCustomersBlockByEmail
- Defined in:
- lib/dodopayments/models/blocklist/create_blocked_customer_request.rb,
sig/dodopayments/models/blocklist/create_blocked_customer_request.rbs
Instance Attribute Summary collapse
-
#reason ⇒ String?
Why the merchant blocked this customer.
-
#source ⇒ Symbol, ...
Screen the merchant blocked from.
Attributes inherited from BlockByEmail
Instance Method Summary collapse
-
#initialize(reason: nil, source: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BlocklistCustomersBlockByEmail for more details.
- #to_hash ⇒ {
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(reason: nil, source: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::Blocklist::CreateBlockedCustomerRequest::BlocklistCustomersBlockByEmail for more details.
|
|
# File 'lib/dodopayments/models/blocklist/create_blocked_customer_request.rb', line 51
|
Instance Attribute Details
#reason ⇒ String?
Why the merchant blocked this customer. The entry page shows it.
42 |
# File 'lib/dodopayments/models/blocklist/create_blocked_customer_request.rb', line 42 optional :reason, String, nil?: true |
#source ⇒ Symbol, ...
Screen the merchant blocked from. Ignored for an API-key caller, whose entry
always records api. A dashboard caller that omits it records blocklist_page.
49 |
# File 'lib/dodopayments/models/blocklist/create_blocked_customer_request.rb', line 49 optional :source, enum: -> { Dodopayments::Blocklist::BlockedCustomerSource }, nil?: true |
Instance Method Details
#to_hash ⇒ {
61 |
# File 'sig/dodopayments/models/blocklist/create_blocked_customer_request.rbs', line 61
def to_hash: -> {
|