abstract struct
Mollie::Base::Subscription
- Mollie::Base::Subscription
- Mollie::Base::Resource
- Struct
- Value
- Object
Included Modules
Direct Known Subclasses
Defined in:
mollie/base/subscription.crConstructors
Instance Method Summary
- #active?
- #amount : Amount
- #application_fee : Union(ApplicationFee, Nil)
- #canceled?
- #canceled_at : Union(Time, Nil)
- #completed?
- #created_at : Time
- #customer(options : Hash | NamedTuple = HS2.new)
- #customer_id : Union(String, Nil)
- #description : String
- #id : String
- #interval : String
- #mandate_id : Union(String, Nil)
- #metadata : Union(HSBFIS, Nil)
- #method : Union(String, Nil)
- #mode : String
- #next_payment_date : Union(String, Nil)
- #payments(options : Hash | NamedTuple = HS2.new)
- #pending?
- #start_date : String
- #status : String
- #suspended?
- #times : Int32
- #times_remaining : Int32
- #webhook_url : String
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(*, __pull_for_json_serializable pull : JSON::PullParser) new