Class: Inttegro::Payment::MethodSnapshotMobileMoney

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

Overview

Typed representation of the method snapshot mobile money 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

#account_number ⇒ String (readonly)

Masked number in the form ****1234.

Required in the API payload. Wire name: account_number.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36

class MethodSnapshotMobileMoney < T::Struct
  const :network, Inttegro::Shared::MobileMoneyNetwork
  const :account_number, String
  const :last4, String
end

#last4 ⇒ String (readonly)

Value of the last4 field in the Inttegro API payload.

Required in the API payload. Wire name: last4.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36

class MethodSnapshotMobileMoney < T::Struct
  const :network, Inttegro::Shared::MobileMoneyNetwork
  const :account_number, String
  const :last4, String
end

#network ⇒ Inttegro::Shared::MobileMoneyNetwork (readonly)

Value of the network field in the Inttegro API payload.

Required in the API payload. Wire name: network.



36
37
38
39
40
# File 'lib/inttegro/payment/method_snapshot_mobile_money.rb', line 36

class MethodSnapshotMobileMoney < T::Struct
  const :network, Inttegro::Shared::MobileMoneyNetwork
  const :account_number, String
  const :last4, String
end