Class: Lithic::Models::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/card_authorization.rb,
sig/lithic/models/card_authorization.rbs

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(ecommerce_security_level_indicator: nil, on_behalf_service_result: nil, transaction_type_identifier: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::CardAuthorization::NetworkSpecificData::Mastercard for more details.

Parameters:

  • ecommerce_security_level_indicator (String, nil) (defaults to: nil)

    Indicates the electronic commerce security level and UCAF collection.

  • on_behalf_service_result (Array<Lithic::Models::CardAuthorization::NetworkSpecificData::Mastercard::OnBehalfServiceResult>, nil) (defaults to: nil)

    The On-behalf Service performed on the transaction and the results. Contains all

  • transaction_type_identifier (String, nil) (defaults to: nil)

    Indicates the type of additional transaction purpose.



1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'lib/lithic/models/card_authorization.rb', line 1069

class OnBehalfServiceResult < Lithic::Internal::Type::BaseModel
  # @!attribute result_1
  #   Indicates the results of the service processing.
  #
  #   @return [String]
  required :result_1, String

  # @!attribute result_2
  #   Identifies the results of the service processing.
  #
  #   @return [String]
  required :result_2, String

  # @!attribute service
  #   Indicates the service performed on the transaction.
  #
  #   @return [String]
  required :service, String

  # @!method initialize(result_1:, result_2:, service:)
  #   @param result_1 [String] Indicates the results of the service processing.
  #
  #   @param result_2 [String] Identifies the results of the service processing.
  #
  #   @param service [String] Indicates the service performed on the transaction.
end

Instance Attribute Details

#result_1String

Indicates the results of the service processing.

Parameters:

  • value (String)

Returns:

  • (String)


1074
# File 'lib/lithic/models/card_authorization.rb', line 1074

required :result_1, String

#result_2String

Identifies the results of the service processing.

Parameters:

  • value (String)

Returns:

  • (String)


1080
# File 'lib/lithic/models/card_authorization.rb', line 1080

required :result_2, String

#serviceString

Indicates the service performed on the transaction.

Parameters:

  • value (String)

Returns:

  • (String)


1086
# File 'lib/lithic/models/card_authorization.rb', line 1086

required :service, String

Instance Method Details

#to_hash{

Returns:

  • ({)


801
# File 'sig/lithic/models/card_authorization.rbs', line 801

def to_hash: -> {