Class: Inttegro::Payment::NextActionConfirmPayment

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payment/next_action_confirm_payment.rb

Overview

Details for customer payment confirmation

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

#attempt ⇒ Inttegro::Payment::NextActionConfirmPaymentAttempt? (readonly)

Latest confirmation attempt

Optional in the API payload; omitted values default to nil. Wire name: attempt.



55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end

#confirmed ⇒ Boolean (readonly)

Whether the payment confirmation has completed

Required in the API payload. Wire name: confirmed.

Returns:

  • (Boolean)


55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end

#expires_at ⇒ Time (readonly)

When the confirmation request expires

Required in the API payload. Wire name: expires_at.

Returns:

  • (Time)


55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end

#request ⇒ Inttegro::Payment::NextActionConfirmPaymentRequest? (readonly)

Confirmation request details

Optional in the API payload; omitted values default to nil. Wire name: request.



55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end

#scheme ⇒ String (readonly)

Authentication scheme used

Required in the API payload. Wire name: scheme.

Returns:

  • (String)


55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end

#status ⇒ String (readonly)

Confirmation status

Required in the API payload. Wire name: status.

Returns:

  • (String)


55
56
57
58
59
60
61
62
# File 'lib/inttegro/payment/next_action_confirm_payment.rb', line 55

class NextActionConfirmPayment < T::Struct
  const :expires_at, Time
  const :scheme, String
  const :request, T.nilable(Inttegro::Payment::NextActionConfirmPaymentRequest), default: nil
  const :attempt, T.nilable(Inttegro::Payment::NextActionConfirmPaymentAttempt), default: nil
  const :confirmed, T::Boolean
  const :status, String
end