struct Mollie::Line

Defined in:

mollie/line.cr

Constructors

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

amount_canceled : Union(Amount, Nil) amount_canceled, amount_refunded : Union(Amount, Nil) amount_refunded, amount_shipped : Union(Amount, Nil) amount_shipped, cancelable? cancelable?, cancelable_quantity : Union(Int32, Nil) cancelable_quantity, created_at : Time created_at, discount_amount : Union(Amount, Nil) discount_amount, discounted? discounted?, id : String id, image_url image_url, is_cancelable : Union(Bool, Nil) is_cancelable, metadata : Union(HSBFIS, Nil) metadata, name : String name, order_id : String order_id, product_url product_url, quantity : Int32 quantity, quantity_canceled : Int32 quantity_canceled, quantity_refunded : Int32 quantity_refunded, quantity_shipped : Int32 quantity_shipped, refundable? refundable?, refundable_quantity : Int32 refundable_quantity, shippable? shippable?, shippable_quantity : Int32 shippable_quantity, sku : String sku, status : String status, total_amount : Amount total_amount, type : String type, unit_price : Amount unit_price, vat_amount : Amount vat_amount, vat_rate : String vat_rate

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

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]