DiscountsResourceDiscountAmountDiscountOrId class sealed
A DiscountsResourceDiscountAmountDiscount or its ID.
Constructors
- DiscountsResourceDiscountAmountDiscountOrId.fromJson(Object? json)
 - 
          
            factory
 
Properties
- hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - id → String
 - 
  The ID of the DiscountsResourceDiscountAmountDiscount.
  no setter
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  encodeWith<
V> (Encoder< V> encoder) → V - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toJson(
) → Object?  - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited
 
Static Methods
- 
  encode<
V> (DiscountsResourceDiscountAmountDiscountOrId instance, Encoder< V> encoder) → V