Class: Inttegro::Payment::NextActionAuthorize

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

Overview

Details for authorization action

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

#beneficiary ⇒ String (readonly)

Beneficiary requiring authorization

Required in the API payload. Wire name: beneficiary.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/payment/next_action_authorize.rb', line 35

class NextActionAuthorize < T::Struct
  const :beneficiary, String
  const :scheme, String
  const :expires_at, Time
end

#expires_at ⇒ Time (readonly)

When the authorization request expires

Required in the API payload. Wire name: expires_at.

Returns:

  • (Time)


35
36
37
38
39
# File 'lib/inttegro/payment/next_action_authorize.rb', line 35

class NextActionAuthorize < T::Struct
  const :beneficiary, String
  const :scheme, String
  const :expires_at, Time
end

#scheme ⇒ String (readonly)

Authorization scheme

Required in the API payload. Wire name: scheme.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/payment/next_action_authorize.rb', line 35

class NextActionAuthorize < T::Struct
  const :beneficiary, String
  const :scheme, String
  const :expires_at, Time
end