Class: Inttegro::PaymentMethod::Deletion

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

Overview

Confirmation returned after deleting a saved payment method.

Instance Attribute Summary collapse

Instance Attribute Details

#deleted ⇒ Boolean (readonly)

Whether the API reports that the payment method was deleted.

Returns:

  • (Boolean)


15
16
17
18
# File 'lib/inttegro/payment_method/deletion.rb', line 15

class Deletion < T::Struct
  const :deleted, T::Boolean
  const :payment_method_id, String
end

#payment_method_id ⇒ String (readonly)

Identifier of the payment method addressed by the delete operation.

Returns:

  • (String)


15
16
17
18
# File 'lib/inttegro/payment_method/deletion.rb', line 15

class Deletion < T::Struct
  const :deleted, T::Boolean
  const :payment_method_id, String
end