OrderHandler class

Constructors

OrderHandler(Map<String, String>? headers)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(String orderId) Future<MollieOrderResponse>
Cancels an order
create(MollieOrderRequest order) Future<MollieOrderResponse?>
Creating an order will automatically create the required payment to allow your customer to pay for the order. Once you have created an order, you should redirect your customer to the URL in the _links.checkout property from the response. Note that when the payment fails, expires or is canceled, you can create a new payment using the Create order payment API. This is only possible for orders that have a created status.
get(String orderId) Future<MollieOrderResponse?>
Retrieve a single order by its ID.
listOrders() Future<List<MollieOrderResponse>>
List all orders
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String orderId, MollieAddress billingAddress, MollieAddress shippingAddress) Future<MollieOrderResponse>
This endpoint can be used to update the billing and/or shipping address of an order.
updateOrderLine(MollieOrderLine orderLine) Future<MollieOrderResponse>
This endpoint can be used to update an order line. Only the lines that belong to an order with status created, pending or authorized can be updated.

Operators

operator ==(Object other) bool
The equality operator.
inherited