Class: Inttegro::Payout::CancellationInline

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payout/cancellation_inline.rb

Overview

Caller-safe explanation and next step for a canceled payout. Present only when status is canceled.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#detail ⇒ String (readonly)

Human-readable explanation safe to show to an operator.

Required in the API payload. Wire name: detail.

Returns:

  • (String)


37
38
39
40
41
# File 'lib/inttegro/payout/cancellation_inline.rb', line 37

class CancellationInline < T::Struct
  const :detail, String
  const :reason, Inttegro::Payout::CancellationInlineReason
  const :remediation, String
end

#reason ⇒ Inttegro::Payout::CancellationInlineReason (readonly)

Stable category describing why the payout was canceled.

Required in the API payload. Wire name: reason.



37
38
39
40
41
# File 'lib/inttegro/payout/cancellation_inline.rb', line 37

class CancellationInline < T::Struct
  const :detail, String
  const :reason, Inttegro::Payout::CancellationInlineReason
  const :remediation, String
end

#remediation ⇒ String (readonly)

Recommended next step safe to show to an operator.

Required in the API payload. Wire name: remediation.

Returns:

  • (String)


37
38
39
40
41
# File 'lib/inttegro/payout/cancellation_inline.rb', line 37

class CancellationInline < T::Struct
  const :detail, String
  const :reason, Inttegro::Payout::CancellationInlineReason
  const :remediation, String
end