Class: Dodopayments::Models::Customers::EmailPolicies

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/customers/email_policies.rb,
sig/dodopayments/models/customers/email_policies.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(requires_different_address:, resend_allowed:, resends_remaining:, retry_allowed:, superseded:) ⇒ Object

Some parameter documentations has been truncated, see Dodopayments::Models::Customers::EmailPolicies for more details.

What the merchant may do with one row. The server decides; the client never derives eligibility itself.



# File 'lib/dodopayments/models/customers/email_policies.rb', line 38


Instance Attribute Details

#requires_different_addressBoolean

A permanent failure was recorded, so the same address would be a no-op.



11
# File 'lib/dodopayments/models/customers/email_policies.rb', line 11

required :requires_different_address, Dodopayments::Internal::Type::Boolean

#resend_allowedBoolean

The row was delivered and may be sent again.



17
# File 'lib/dodopayments/models/customers/email_policies.rb', line 17

required :resend_allowed, Dodopayments::Internal::Type::Boolean

#resends_remainingInteger

How many sends are left in this email's chain.



23
# File 'lib/dodopayments/models/customers/email_policies.rb', line 23

required :resends_remaining, Integer

#retry_allowedBoolean

The row failed and may be sent again.



29
# File 'lib/dodopayments/models/customers/email_policies.rb', line 29

required :retry_allowed, Dodopayments::Internal::Type::Boolean

#supersededBoolean

A later send of this email reached the provider, so this row is history. To send it again would deliver a second copy.



36
# File 'lib/dodopayments/models/customers/email_policies.rb', line 36

required :superseded, Dodopayments::Internal::Type::Boolean

Instance Method Details

#to_hash{



32
# File 'sig/dodopayments/models/customers/email_policies.rbs', line 32

def to_hash: -> {