GambioHubOrderRepositoryWriter
extends GambioHubOrderRepositoryWriter_parent
in package
Class GambioHubOrderRepositoryWriter
Enables the output of the payment title and module of a gambio hub order.
Table of Contents
- update() : mixed
- Record the order update.
- _serializeOrder() : array<string|int, mixed>
- Reset the "payment_method" & "payment_class" fields to "gambio_hub" in order to maintain data integrity.
Methods
update()
Record the order update.
public
update(OrderInterface $order) : mixed
Parameters
- $order : OrderInterface
-
Order instance.
Return values
mixed —_serializeOrder()
Reset the "payment_method" & "payment_class" fields to "gambio_hub" in order to maintain data integrity.
protected
_serializeOrder(OrderInterface $order) : array<string|int, mixed>
Parameters
- $order : OrderInterface
-
Order instance.