struct Mollie::Payment

Defined in:

mollie/payment.cr
mollie/payment/capture.cr
mollie/payment/chargeback.cr
mollie/payment/refund.cr

Constructors

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

amount : Amount amount, amount_captured : Union(Amount, Nil) amount_captured, amount_refunded : Union(Amount, Nil) amount_refunded, amount_remaining : Union(Amount, Nil) amount_remaining, application_fee : Union(Payment::ApplicationFee, Nil) application_fee, authorized? authorized?, authorized_at : Union(Time, Nil) authorized_at, canceled? canceled?, canceled_at : Union(Time, Nil) canceled_at, captures(options : Hash | NamedTuple = HS2.new) captures, chargebacks(options : Hash | NamedTuple = HS2.new) chargebacks, checkout_url checkout_url, country_code : Union(String, Nil) country_code, created_at : Time created_at, customer(options : Hash | NamedTuple = HS2.new) customer, customer_id : Union(String, Nil) customer_id, description : String description, details : HSBFIS | Nil details, expired? expired?, expired_at : Union(Time, Nil) expired_at, expires_at : Union(Time, Nil) expires_at, failed? failed?, failed_at : Union(Time, Nil) failed_at, id : String id, is_cancelable : Union(Bool, Nil) is_cancelable, locale : Union(String, Nil) locale, mandate(options : Hash | NamedTuple = HS2.new) mandate, mandate_id : Union(String, Nil) mandate_id, metadata : Union(HSBFIS, Nil) metadata, method : Union(String, Nil) method, mode : String mode, open? open?, order(options : Hash | NamedTuple = HS2.new) order, order_id : Union(String, Nil) order_id, paid? paid?, paid_at : Union(Time, Nil) paid_at, pending? pending?, profile_id : String profile_id, redirect_url : Union(String, Nil) redirect_url, refund!(options : Hash | NamedTuple = HS2.new) refund!, refunded? refunded?, refunds(options : Hash | NamedTuple = HS2.new) refunds, restrict_payment_methods_to_country : Union(String, Nil) restrict_payment_methods_to_country, sequence_type : Union(String, Nil) sequence_type, settlement(options : Hash | NamedTuple = HS2.new) settlement, settlement_amount : Union(Amount, Nil) settlement_amount, settlement_id : Union(String, Nil) settlement_id, status : String status, subscription(options : Hash | NamedTuple = HS2.new) subscription, subscription_id : Union(String, Nil) subscription_id, webhook_url : Union(String, Nil) webhook_url

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

new(pull : JSON::PullParser) new

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]