package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
Address converts Address model to payload.
ClientError payload contains the default information we send to the client on errors.
Country payload.
Customer payload.
CustomerModel converts payload to model - currently does not tackle addresses.
Document converts Document model to payload.
DutyLocation converts DutyLocation model to payload Only includes ID and duty location name.
Entitlement payload.
EntitlementModel converts the payload to model.
InternalServerError describes errors in a standard structure to be returned in the payload.
MoveTaskOrder payload.
MoveTaskOrderModel return an MTO model constructed from the payload.
MoveTaskOrders payload.
MTOAgent converts MTOAgent model to payload.
MTOAgents converts an array of MTOAgent models to payload array.
MTOHideMove translate from service HiddenMove type to API swagger MTOHideMove type.
MTOHideMovesResponse payload.
MTOServiceItem converts MTOServiceItem model to payload.
MTOServiceItems converts an array of MTOServiceItem models to their payload version.
MTOShipment converts MTOShipment model to payload.
MTOShipments converts an array of MTOShipment models to a payload.
Order payload.
OrderModel converts payload to model - it does not convert nested duty locations but will preserve the ID if provided.
PaymentRequest converts PaymentRequest model to payload.
PaymentRequests converts an array of PaymentRequest models to payload array.
ValidationError payload describes validation errors from the model or properties.
WebhookNotification converts a WebhookNotification model to a payload.
WebhookNotificationModel converts payload to model.