Class: Inttegro::Refund::OrderFeeLineItemFee

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/refund/order_fee_line_item_fee.rb

Overview

Typed representation of the order fee line item fee object in the Inttegro API.

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

#description ⇒ String? (readonly)

Value of the description field in the Inttegro API payload.

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

Returns:

  • (String, nil)


29
30
31
32
# File 'lib/inttegro/refund/order_fee_line_item_fee.rb', line 29

class OrderFeeLineItemFee < T::Struct
  const :label, T.nilable(String), default: nil
  const :description, T.nilable(String), default: nil
end

#label ⇒ String? (readonly)

Value of the label field in the Inttegro API payload.

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

Returns:

  • (String, nil)


29
30
31
32
# File 'lib/inttegro/refund/order_fee_line_item_fee.rb', line 29

class OrderFeeLineItemFee < T::Struct
  const :label, T.nilable(String), default: nil
  const :description, T.nilable(String), default: nil
end