Class: Inttegro::PaymentMethod::DisactivateRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payment_method/disactivate_request.rb

Overview

Typed representation of the disactivate request 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

#payment_method_id ⇒ String (readonly)

ID of the payment method to mark inactive

Required in the API payload. Wire name: payment_method_id.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/payment_method/disactivate_request.rb', line 23

class DisactivateRequest < T::Struct
  const :payment_method_id, String
end