Class: Straddle::Models::PaymentAuthorizationProof
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PaymentAuthorizationProof
- Defined in:
- lib/straddle/models/payment_authorization_proof.rb,
sig/straddle/models/payment_authorization_proof.rbs
Instance Attribute Summary collapse
-
#document_id ⇒ String
Unique identifier for this document.
-
#document_name ⇒ String
The file name of this document as uploaded.
-
#document_size ⇒ Integer
The size of this document in bytes.
- #document_type ⇒ Symbol, Straddle::Models::PaymentDocumentType
-
#uploaded_at ⇒ Time
The UTC timestamp when this document was uploaded.
Instance Method Summary collapse
- #initialize(document_id:, document_name:, document_size:, document_type:, uploaded_at:) ⇒ Object constructor
- #to_hash ⇒ {
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(document_id:, document_name:, document_size:, document_type:, uploaded_at:) ⇒ Object
|
|
# File 'lib/straddle/models/payment_authorization_proof.rb', line 35
|
Instance Attribute Details
#document_id ⇒ String
Unique identifier for this document.
10 |
# File 'lib/straddle/models/payment_authorization_proof.rb', line 10 required :document_id, String |
#document_name ⇒ String
The file name of this document as uploaded.
16 |
# File 'lib/straddle/models/payment_authorization_proof.rb', line 16 required :document_name, String |
#document_size ⇒ Integer
The size of this document in bytes.
22 |
# File 'lib/straddle/models/payment_authorization_proof.rb', line 22 required :document_size, Integer |
#document_type ⇒ Symbol, Straddle::Models::PaymentDocumentType
27 |
# File 'lib/straddle/models/payment_authorization_proof.rb', line 27 required :document_type, enum: -> { Straddle::PaymentDocumentType } |
#uploaded_at ⇒ Time
The UTC timestamp when this document was uploaded.
33 |
# File 'lib/straddle/models/payment_authorization_proof.rb', line 33 required :uploaded_at, Time |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/straddle/models/payment_authorization_proof.rbs', line 31 def to_hash: -> { |