Class: Lithic::Models::DisputeCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/dispute_create_params.rb

Overview

Defined Under Namespace

Modules: Reason

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(amount:, reason:, transaction_token:, customer_filed_date: nil, customer_note: nil, request_options: {}) ⇒ Object



# File 'lib/lithic/models/dispute_create_params.rb', line 40


Instance Attribute Details

#amountInteger

Amount to dispute



14
# File 'lib/lithic/models/dispute_create_params.rb', line 14

required :amount, Integer

#customer_filed_dateTime?

Date the customer filed the dispute



32
# File 'lib/lithic/models/dispute_create_params.rb', line 32

optional :customer_filed_date, Time

#customer_noteString?

Customer description of dispute



38
# File 'lib/lithic/models/dispute_create_params.rb', line 38

optional :customer_note, String

#reasonSymbol, Lithic::Models::DisputeCreateParams::Reason

Reason for dispute



20
# File 'lib/lithic/models/dispute_create_params.rb', line 20

required :reason, enum: -> { Lithic::DisputeCreateParams::Reason }

#transaction_tokenString

Transaction to dispute



26
# File 'lib/lithic/models/dispute_create_params.rb', line 26

required :transaction_token, String