Class: Inttegro::Refund::OrderFeeLineItem
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::OrderFeeLineItem
- Defined in:
- lib/inttegro/refund/order_fee_line_item.rb
Overview
Typed representation of the order fee line item 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
-
#fee ⇒ Inttegro::Refund::OrderFeeLineItemFee
readonly
Value of the
feefield in the Inttegro API payload. -
#id ⇒ String
readonly
Immutable order-line identifier with the
oli_prefix. -
#type ⇒ Inttegro::Refund::OrderFeeLineItemType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#fee ⇒ Inttegro::Refund::OrderFeeLineItemFee (readonly)
Value of the fee field in the Inttegro API payload.
Required in the API payload. Wire name: fee.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_fee_line_item.rb', line 37 class OrderFeeLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderFeeLineItemType const :fee, Inttegro::Refund::OrderFeeLineItemFee end |
#id ⇒ String (readonly)
Immutable order-line identifier with the oli_ prefix.
Required in the API payload. Wire name: id.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_fee_line_item.rb', line 37 class OrderFeeLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderFeeLineItemType const :fee, Inttegro::Refund::OrderFeeLineItemFee end |
#type ⇒ Inttegro::Refund::OrderFeeLineItemType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
37 38 39 40 41 |
# File 'lib/inttegro/refund/order_fee_line_item.rb', line 37 class OrderFeeLineItem < T::Struct const :id, String const :type, Inttegro::Refund::OrderFeeLineItemType const :fee, Inttegro::Refund::OrderFeeLineItemFee end |