Class: Inttegro::Order::Discount

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

Overview

Typed representation of the discount 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.