abstract struct Mollie::Base::Resource
- Mollie::Base::Resource
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Mollie::Json::Serializable
Direct Known Subclasses
- Mollie::Base::Capture
- Mollie::Base::Chargeback
- Mollie::Base::Line
- Mollie::Base::Payment
- Mollie::Base::Refund
- Mollie::Base::Subscription
- Mollie::Customer
- Mollie::Customer::Mandate
- Mollie::Invoice
- Mollie::List(T)
- Mollie::Method
- Mollie::Onboarding
- Mollie::Order
- Mollie::Order::Shipment
- Mollie::Organization
- Mollie::Permission
- Mollie::Profile
- Mollie::Profile::Review
- Mollie::Settlement
Defined in:
mollie/base/resource.crConstructors
Class Method Summary
- .all(options : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- .cancel(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- .create(data : Hash | NamedTuple, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- .delete(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- .get(id : String, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- .id_param
- .parent_param
- .resource_name(parent_id : String | Nil = nil)
- .update(id : String, data : Hash | NamedTuple, client : Client = Client.instance)
Macro Summary
Instance Method Summary
- #cancel(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- #delete(data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
- #update(data : Hash | NamedTuple, client : Client = Client.instance)
Macros inherited from module Mollie::Json::Serializable
json_field(name, type)
json_field
Constructor Detail
Class Method Detail
def self.cancel(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
#
def self.create(data : Hash | NamedTuple, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
#
def self.delete(id : String, data : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
#
def self.get(id : String, options : Hash | NamedTuple = HS2.new, client : Client = Client.instance)
#