Class: Inttegro::Order::DocumentDeliveryAttempt

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/document_delivery_attempt.rb

Overview

Chime delivery accepted for one channel.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#accepted_at ⇒ Time? (readonly)

Authoritative time at which Chime accepted this channel delivery.

Optional in the API payload; omitted values default to nil. Wire name: accepted_at.

Returns:

  • (Time, nil)


36
37
38
39
40
# File 'lib/inttegro/order/document_delivery_attempt.rb', line 36

class DocumentDeliveryAttempt < T::Struct
  const :accepted_at, T.nilable(Time), default: nil
  const :channel, T.nilable(Inttegro::Shared::DeliveryChannel), default: nil
  const :chime_id, T.nilable(String), default: nil
end

#channel ⇒ Inttegro::Shared::DeliveryChannel? (readonly)

Delivery channel.

Optional in the API payload; omitted values default to nil. Wire name: channel.



36
37
38
39
40
# File 'lib/inttegro/order/document_delivery_attempt.rb', line 36

class DocumentDeliveryAttempt < T::Struct
  const :accepted_at, T.nilable(Time), default: nil
  const :channel, T.nilable(Inttegro::Shared::DeliveryChannel), default: nil
  const :chime_id, T.nilable(String), default: nil
end

#chime_id ⇒ String? (readonly)

Chime ID created for this delivery.

Optional in the API payload; omitted values default to nil. Wire name: chime_id.

Returns:

  • (String, nil)


36
37
38
39
40
# File 'lib/inttegro/order/document_delivery_attempt.rb', line 36

class DocumentDeliveryAttempt < T::Struct
  const :accepted_at, T.nilable(Time), default: nil
  const :channel, T.nilable(Inttegro::Shared::DeliveryChannel), default: nil
  const :chime_id, T.nilable(String), default: nil
end