enum

Polar::Models::RefundSortProperty

Inherits Enum < Comparable < Value < Object

Constants

CreatedAt = 0
NegCreatedAt = 1
Amount = 2
NegAmount = 3

Constructors

from_json(parser : JSON::PullParser) : self

Deserialize from JSON

Source

Instance methods

amount?

Returns true if this enum value equals Amount

Source
created_at?

Returns true if this enum value equals CreatedAt

Source
neg_amount?

Returns true if this enum value equals NegAmount

Source
neg_created_at?

Returns true if this enum value equals NegCreatedAt

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source