API Reference ex_checkout v1.5.2

modules

Modules

Documentation for ExCheckout.

Definition of the structure of an adjustment.

Example Shipping module

Defines a struct for storing an Item in a Package.

Defines the struct for storing a Package, which is then passed along with an origin and destination address for shipping estimates. A description is optional, as it may or may not be used with various carriers.

A Shipment represents everything needed to fetch rates from carriers: an origin, a destination, and a package description. An optional :id field is provided in the struct, which may be used by the end user to represent the user's internal identifier for the shipment. The id is not used by ExCheckout.

Example Payment module