abstract struct Mollie::Base::Subscription

Included Modules

Direct Known Subclasses

Defined in:

mollie/base/subscription.cr

Constructors

Instance Method Summary

Instance methods inherited from module Mollie::Mixins::Linkable

id_from_link(key : Symbol | String) id_from_link, id_from_link?(key : Symbol | String) id_from_link?, link_for(key : Symbol | String) link_for, link_for?(key : Symbol | String) link_for?, links : Links links

Instance methods inherited from struct Mollie::Base::Resource

cancel(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) cancel, delete(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) delete, update(data : Hash | NamedTuple, client : Client = Client.instance) update

Constructor methods inherited from struct Mollie::Base::Resource

new(pull : JSON::PullParser) new

Class methods inherited from struct Mollie::Base::Resource

all(options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) all, cancel(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) cancel, create(data : Hash | NamedTuple, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) create, delete(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance) delete, get(id : String, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance) get, id_param id_param, parent_param parent_param, resource_name(parent_id : String | Nil = nil) resource_name, update(id : String, data : Hash | NamedTuple, client : Client = Client.instance) update

Constructor Detail

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

[View source]

Instance Method Detail

def active? #

[View source]
def amount : Amount #

def application_fee : Union(ApplicationFee, Nil) #

def canceled? #

[View source]
def canceled_at : Union(Time, Nil) #

def completed? #

[View source]
def created_at : Time #

def customer(options : Hash | NamedTuple = HS2.new) #

[View source]
def customer_id : Union(String, Nil) #

def description : String #

def id : String #

def interval : String #

def mandate_id : Union(String, Nil) #

def metadata : Union(HSBFIS, Nil) #

def method : Union(String, Nil) #

def mode : String #

def next_payment_date : Union(String, Nil) #

def payments(options : Hash | NamedTuple = HS2.new) #

[View source]
def pending? #

[View source]
def start_date : String #

def status : String #

def suspended? #

[View source]
def times : Int32 #

def times_remaining : Int32 #

def webhook_url : String #