struct Haystack::Plan

Included Modules

Defined in:

haystack/plan.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_any(plan) : self | Nil #

[View source]

Instance Method Detail

def active_subscriptions : Int64 | Nil #

[View source]
def amount : Int32 | Nil #

[View source]
def created_at : Time | Nil #

[View source]
def currency : Currency | Nil #

[View source]
def deleted? #

[View source]
def description : String | Nil #

[View source]
def domain : Domain | Nil #

[View source]
def hosted_page #

[View source]
def hosted_page? #

[View source]
def hosted_page_summary : String | Nil #

[View source]
def hosted_page_url : String | Nil #

[View source]
def id : Int64 | Nil #

[View source]
def integration : Integration | Nil #

[View source]
def interval : Interval | Nil #

[View source]
def invoice_limit : Int32 | Nil #

[View source]
def is_archived #

[View source]
def is_archived? #

[View source]
def is_deleted #

[View source]
def is_deleted? #

[View source]
def migrate #

[View source]
def migrate? #

[View source]
def name : String | Nil #

[View source]
def pages : Array(JSON::Any) | Nil #

[View source]
def plan_code : String | Nil #

[View source]
def send_invoices #

[View source]
def send_invoices? #

[View source]
def send_sms #

[View source]
def send_sms? #

[View source]
def subscriptions : Array(Subscription) | Nil #

[View source]
def total_subscriptions : Int64 | Nil #

[View source]
def total_subscriptions_revenue : Int64 | Nil #

[View source]
def updated_at : Time | Nil #

[View source]