struct Mollie::Order

Included Modules

Defined in:

mollie/order.cr
mollie/order/line.cr
mollie/order/refund.cr
mollie/order/shipment.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 amount : Amount #

def authorized? #

[View source]
def billing_address : Address #

def canceled? #

[View source]
def checkout_url #

[View source]
def completed? #

[View source]
def consumer_date_of_birth : String #

def created? #

[View source]
def created_at : Time #

def expired? #

[View source]
def expires_at : Time #

def id : String #

def is_cancelable : Union(Bool, Nil) #

def lines : Array(Mollie::Order::Line) #

def locale : String #

def metadata : Union(HSBFIS, Nil) #

def method : String #

def mode : String #

def order_number : String #

def paid? #

[View source]
def pending? #

[View source]
def profile_id : String #

def redirect_url : String #

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

[View source]
def refunds(options : Hash | NamedTuple = HS2.new) #

[View source]
def shipping? #

[View source]
def shipping_address : Address #

def shopper_country_must_match_billing_country : Bool #

def status : String #