Open Sidebar
Close Sidebar
mollie
main
Mollie
Amount
AmountValue
Base
ApplicationFee
Capture
Chargeback
Line
Payment
ApplicationFee
Status
Refund
Status
Resource
Subscription
ApplicationFee
Status
Chargeback
Client
Config
Customer
Mandate
Status
Payment
Subscription
Exception
HS2
HSBFIS
HSHS2
Invoice
Line
Status
Json
Decimalizer
Serializable
TimeFormatter
Underscorer
Line
Links
List
Method
Fee
Type
MethodNotSupportedException
MissingApiKeyException
Mixins
Linkable
Onboarding
Order
Address
Line
Refund
Shipment
Tracking
Status
Organization
Address
Payment
Capture
Chargeback
Refund
Permission
Profile
CategoryCode
Review
Status
Status
Refund
RequestException
Mapper
RequestTimeoutException
ResourceNotFoundException
Sandbox
Chargeback
Customer
Mandate
Payment
Subscription
Invoice
Method
Onboarding
Order
Line
Refund
Shipment
Organization
Payment
Capture
Chargeback
Refund
Permission
Profile
Refund
Settlement
Chargeback
Payment
Refund
Subscription
Settlement
Capture
Chargeback
Item
Rate
Payment
Period
PeriodsHash
Refund
Status
State
Subscription
Util
struct
Mollie::
Settlement::
Payment
Mollie::Settlement::Payment
Mollie::Base::Payment
Mollie::Base::Resource
Struct
Value
Object
Defined in:
mollie/settlement/payment.cr
Constructors
.new
(pull : JSON::PullParser)
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
Macros inherited from struct
Mollie::Base::Resource
status_enum_methods
status_enum_methods
Macros inherited from module
Mollie::Json::Serializable
json_field(name, type)
json_field
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]