Class: Inttegro::Order::CompleteRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Order::CompleteRequest
- Defined in:
- lib/inttegro/order/complete_request.rb
Overview
Typed representation of the complete request 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
-
#order_id ⇒ String
readonly
Unique identifier of the order to complete.
-
#paid_out_of_band ⇒ Boolean?
readonly
Set to true if payment was received outside Inttegro (e.g., cash, bank transfer, check).
Instance Attribute Details
#order_id ⇒ String (readonly)
Unique identifier of the order to complete
Required in the API payload. Wire name: order_id.
31 32 33 34 |
# File 'lib/inttegro/order/complete_request.rb', line 31 class CompleteRequest < T::Struct const :order_id, String const :paid_out_of_band, T.nilable(T::Boolean), default: nil end |
#paid_out_of_band ⇒ Boolean? (readonly)
Set to true if payment was received outside Inttegro (e.g., cash, bank transfer, check). When true, the associated payment will be marked as paid offline before completing the order.
Optional in the API payload; omitted values default to nil. Wire name: paid_out_of_band.
31 32 33 34 |
# File 'lib/inttegro/order/complete_request.rb', line 31 class CompleteRequest < T::Struct const :order_id, String const :paid_out_of_band, T.nilable(T::Boolean), default: nil end |