enum

Polar::Models::CustomerOrderSortProperty

Inherits Enum < Comparable < Value < Object

Constants

CreatedAt = 0
NegCreatedAt = 1
Amount = 2
NegAmount = 3
NetAmount = 4
NegNetAmount = 5
Product = 6
NegProduct = 7
Subscription = 8
NegSubscription = 9

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
neg_net_amount?

Returns true if this enum value equals NegNetAmount

Source
neg_product?

Returns true if this enum value equals NegProduct

Source
neg_subscription?

Returns true if this enum value equals NegSubscription

Source
net_amount?

Returns true if this enum value equals NetAmount

Source
product?

Returns true if this enum value equals Product

Source
subscription?

Returns true if this enum value equals Subscription

Source
to_json(json : JSON::Builder)

Serialize to JSON using snake_case string values

Source