Class: Inttegro::Refund::OfflineSettlement

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/refund/offline_settlement.rb

Overview

Typed representation of the offline settlement object in the Inttegro API.

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

#type ⇒ Inttegro::Refund::OfflineSettlementType (readonly)

The order was paid offline, so no Inttegro payment method is attached.

Required in the API payload. Wire name: type.



24
25
26
# File 'lib/inttegro/refund/offline_settlement.rb', line 24

class OfflineSettlement < T::Struct
  const :type, Inttegro::Refund::OfflineSettlementType
end