Discover Packages
github.com/jeffotoni/gmelhorenvio
models
package
Version:
v0.0.0-...-6d0359b
Opens a new window with list of versions in this module.
Published: Jan 17, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type HttpErr struct {
Error string `json:"error,omitempty"`
}
type Package struct {
Width int `json:"width"`
Height int `json:"height"`
Length int `json:"length"`
Weight float32 `json:"weight"`
}
type PostalCode struct {
Code string `json:"postal_code"`
}
type Product struct {
Id string `json:"id"`
Width int `json:"width"`
Height int `json:"height"`
Length int `json:"length"`
Weight float32 `json:"weight"`
InsuranceValue float32 `json:"insurance_value"`
Quantity int `json:"quantity"`
}
type ShipmentOptions struct {
Receipt bool `json:"receipt"`
OwnHand bool `json:"own_hand"`
InsuranceValue float32 `json:"insurance_value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.