Class: Inttegro::Payment::NextActionRequestConfirmationLastRequest

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

Overview

Typed representation of the next action request confirmation last 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

#id ⇒ String (readonly)

Value of the id field in the Inttegro API payload.

Required in the API payload. Wire name: id.

Returns:

  • (String)


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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end

#recipient ⇒ String (readonly)

Value of the recipient field in the Inttegro API payload.

Required in the API payload. Wire name: recipient.

Returns:

  • (String)


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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end

#sender_id ⇒ String (readonly)

Value of the sender_id field in the Inttegro API payload.

Required in the API payload. Wire name: sender_id.

Returns:

  • (String)


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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end

#sent_via ⇒ Inttegro::Payment::ConfirmationChannel (readonly)

Value of the sent_via field in the Inttegro API payload.

Required in the API payload. Wire name: sent_via.



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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end

#status ⇒ String? (readonly)

Value of the status field in the Inttegro API payload.

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

Returns:

  • (String, nil)


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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end

#token_size ⇒ Integer (readonly)

Value of the token_size field in the Inttegro API payload.

Required in the API payload. Wire name: token_size.

Returns:

  • (Integer)


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

class NextActionRequestConfirmationLastRequest < T::Struct
  const :id, String
  const :recipient, String
  const :sent_via, Inttegro::Payment::ConfirmationChannel
  const :token_size, Integer
  const :sender_id, String
  const :status, T.nilable(String), default: nil
end