Class: Lithic::Models::DisputeEvidence
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::DisputeEvidence
- Defined in:
- lib/lithic/models/dispute_evidence.rb
Overview
Direct Known Subclasses
Defined Under Namespace
Modules: UploadStatus
Instance Attribute Summary collapse
-
#created ⇒ Time
Timestamp of when dispute evidence was created.
-
#dispute_token ⇒ String
Dispute token evidence is attached to.
-
#download_url ⇒ String?
URL to download evidence.
-
#filename ⇒ String?
File name of evidence.
-
#token ⇒ String
Globally unique identifier.
-
#upload_status ⇒ Symbol, Lithic::Models::DisputeEvidence::UploadStatus
Upload status types:.
-
#upload_url ⇒ String?
URL to upload evidence.
Instance Method Summary collapse
-
#initialize(token:, created:, dispute_token:, upload_status:, download_url: nil, filename: nil, upload_url: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see DisputeEvidence for more details.
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:, created:, dispute_token:, upload_status:, download_url: nil, filename: nil, upload_url: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::DisputeEvidence for more details.
Dispute evidence.
|
|
# File 'lib/lithic/models/dispute_evidence.rb', line 56
|
Instance Attribute Details
#created ⇒ Time
Timestamp of when dispute evidence was created.
17 |
# File 'lib/lithic/models/dispute_evidence.rb', line 17 required :created, Time |
#dispute_token ⇒ String
Dispute token evidence is attached to.
23 |
# File 'lib/lithic/models/dispute_evidence.rb', line 23 required :dispute_token, String |
#download_url ⇒ String?
URL to download evidence. Only shown when ‘upload_status` is `UPLOADED`.
41 |
# File 'lib/lithic/models/dispute_evidence.rb', line 41 optional :download_url, String |
#filename ⇒ String?
File name of evidence. Recommended to give the dispute evidence a human-readable identifier.
48 |
# File 'lib/lithic/models/dispute_evidence.rb', line 48 optional :filename, String |
#token ⇒ String
Globally unique identifier.
11 |
# File 'lib/lithic/models/dispute_evidence.rb', line 11 required :token, String |
#upload_status ⇒ Symbol, Lithic::Models::DisputeEvidence::UploadStatus
Upload status types:
-
‘DELETED` - Evidence was deleted.
-
‘ERROR` - Evidence upload failed.
-
‘PENDING` - Evidence is pending upload.
-
‘REJECTED` - Evidence was rejected.
-
‘UPLOADED` - Evidence was uploaded.
35 |
# File 'lib/lithic/models/dispute_evidence.rb', line 35 required :upload_status, enum: -> { Lithic::DisputeEvidence::UploadStatus } |
#upload_url ⇒ String?
URL to upload evidence. Only shown when ‘upload_status` is `PENDING`.
54 |
# File 'lib/lithic/models/dispute_evidence.rb', line 54 optional :upload_url, String |