Class: Lithic::Models::NetworkProgram

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/network_program.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(token:, default_product_code:, name:, registered_program_identification_number:) ⇒ Object

Parameters:

  • token (String)

    Lithic-generated unique identifier for the program

  • default_product_code (String)

    Network product ID associated with this program.

  • name (String)

    The name of the network program.

  • registered_program_identification_number (String)

    RPIN value assigned by the network.



# File 'lib/lithic/models/network_program.rb', line 31

Instance Attribute Details

#default_product_codeString

Network product ID associated with this program.

Returns:

  • (String)


17
# File 'lib/lithic/models/network_program.rb', line 17

required :default_product_code, String

#nameString

The name of the network program.

Returns:

  • (String)


23
# File 'lib/lithic/models/network_program.rb', line 23

required :name, String

#registered_program_identification_numberString

RPIN value assigned by the network.

Returns:

  • (String)


29
# File 'lib/lithic/models/network_program.rb', line 29

required :registered_program_identification_number, String

#tokenString

Lithic-generated unique identifier for the program

Returns:

  • (String)


11
# File 'lib/lithic/models/network_program.rb', line 11

required :token, String