abstract struct
Mollie::Base::Line
- Mollie::Base::Line
- Mollie::Base::Resource
- Struct
- Value
- Object
Included Modules
Direct Known Subclasses
Defined in:
mollie/base/line.crConstructors
Instance Method Summary
- #amount_canceled : Union(Amount, Nil)
- #amount_refunded : Union(Amount, Nil)
- #amount_shipped : Union(Amount, Nil)
- #cancelable?
- #cancelable_quantity : Union(Int32, Nil)
- #created_at : Time
- #discount_amount : Union(Amount, Nil)
- #discounted?
- #id : String
- #image_url
- #is_cancelable : Union(Bool, Nil)
- #metadata : Union(HSBFIS, Nil)
- #name : String
- #order_id : String
- #product_url
- #quantity : Int32
- #quantity_canceled : Int32
- #quantity_refunded : Int32
- #quantity_shipped : Int32
- #refundable?
- #refundable_quantity : Int32
- #shippable?
- #shippable_quantity : Int32
- #sku : String
- #status : String
- #total_amount : Amount
- #type : String
- #unit_price : Amount
- #vat_amount : Amount
- #vat_rate : 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