Class: Inttegro::FinancialAccount::Mandate

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/mandate.rb

Overview

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

#created_at ⇒ Time (readonly)

Value of the created_at field in the Inttegro API payload.

Required in the API payload. Wire name: created_at.

Returns:

  • (Time)


41
42
43
44
45
46
# File 'lib/inttegro/financial_account/mandate.rb', line 41

class Mandate < T::Struct
  const :created_at, Time
  const :id, String
  const :ip_address, String
  const :user_agent, String
end

#id ⇒ String (readonly)

Value of the id field in the Inttegro API payload.

Required in the API payload. Wire name: id.

Returns:

  • (String)


41
42
43
44
45
46
# File 'lib/inttegro/financial_account/mandate.rb', line 41

class Mandate < T::Struct
  const :created_at, Time
  const :id, String
  const :ip_address, String
  const :user_agent, String
end

#ip_address ⇒ String (readonly)

Value of the ip_address field in the Inttegro API payload.

Required in the API payload. Wire name: ip_address.

Returns:

  • (String)


41
42
43
44
45
46
# File 'lib/inttegro/financial_account/mandate.rb', line 41

class Mandate < T::Struct
  const :created_at, Time
  const :id, String
  const :ip_address, String
  const :user_agent, String
end

#user_agent ⇒ String (readonly)

Value of the user_agent field in the Inttegro API payload.

Required in the API payload. Wire name: user_agent.

Returns:

  • (String)


41
42
43
44
45
46
# File 'lib/inttegro/financial_account/mandate.rb', line 41

class Mandate < T::Struct
  const :created_at, Time
  const :id, String
  const :ip_address, String
  const :user_agent, String
end