UNPKG

@getoccasion/sdk

Version:

An SDK library that enables access to Occasion's application, providing a rich DSL for creating and managing bookings.

12 lines (8 loc) 455 B
Occasion.Modules.push(function (library) { library.ShipmentDetail = class ShipmentDetail extends library.Base {} library.ShipmentDetail.className = 'ShipmentDetail' library.ShipmentDetail.queryName = 'shipment_details' library.ShipmentDetail.belongsTo('fulfillment', { inverseOf: 'shipmentDetails' }) library.ShipmentDetail.hasMany('rates') library.ShipmentDetail.attributes('carrier', 'shippingNote', 'shippingType', 'easyPostRateUid') })