struct Quote::LeadMagicPlan

Overview

LeadMagic plans: credits a month, dollars a month billed monthly, dollars a year billed annually, whether the search API is metered at 1 credit a record.

Defined in:

quote.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, monthly : Int32, yearly : Int32, credits : Int32, search_metered : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, monthly _monthly = @monthly, yearly _yearly = @yearly, credits _credits = @credits, search_metered _search_metered = @search_metered) #

[View source]
def credits : Int32 #

def monthly : Int32 #

def name : String #

def search_metered : Bool #

def yearly : Int32 #