Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destinatario ¶
type Destinatario struct {
Endereco Endereco `json:"endereco" gorm:"not null;default:null"`
}
type Freight ¶
type Freight struct { ID int `json:"id" gorm:"primaryKey;autoIncrement"` Nome string `json:"nome" gorm:"not null;default:null"` Servico string `json:"servico" gorm:"not null;default:null"` PrazoEntrega int `json:"prazo_entrega" gorm:"not null;default:null"` PrecoFrete float64 `json:"preco_frete" gorm:"not null;default:null"` QuoteID int `json:"quote_id" gorm:"not null;default:null"` }
type Metrics ¶
type Metrics struct { Fretes []Metric `json:"fretes"` FreteMaisCaro ValueFreight `json:"frete_mais_caro"` FreteMaisBarato ValueFreight `json:"frete_mais_barato"` }
type Transporter ¶
type Transporter struct { Oferta int `json:"oferta" gorm:"not null;default:null"` Cnpj string `json:"cnpj" gorm:"not null;default:null"` Logotipo string `json:"logotipo" gorm:"not null;default:null"` Nome string `json:"nome" gorm:"not null;default:null"` Servico string `json:"servico" gorm:"not null;default:null"` PrazoEntrega int `json:"prazo_entrega" gorm:"not null;default:null"` EntregaEstimada string `json:"entrega_estimada" gorm:"not null;default:null"` DescricaoServico string `json:"descricao_servico"` Validade string `json:"validade" gorm:"not null;default:null"` CustoFrete float64 `json:"custo_frete" gorm:"not null;default:null"` PrecoFrete float64 `json:"preco_frete" gorm:"not null;default:null"` }
type TransporterOffer ¶
type TransporterOffer struct { TokenOferta string `json:"token_oferta" gorm:"not null;default:null"` Transportadoras []Transporter `json:"transportadoras" gorm:"not null;default:null"` }
type ValueFreight ¶
type Volume ¶
type Volume struct { Tipo int `json:"tipo" gorm:"not null;default:null"` Quantidade int `json:"quantidade" gorm:"not null;default:null"` Peso int `json:"peso" gorm:"not null;default:null"` Valor int `json:"valor" gorm:"not null;default:null"` Sku string `json:"sku"` Tag string `json:"tag"` Descricao string `json:"descricao"` Altura float64 `json:"altura" gorm:"not null;default:null"` Largura float64 `json:"largura" gorm:"not null;default:null"` Comprimento float64 `json:"comprimento" gorm:"not null;default:null"` VolumesProduto int `json:"volumes_produto"` Consolidar bool `json:"consolidar"` Sobreposto bool `json:"sobreposto"` Tombar bool `json:"tombar"` }
type VolumeData ¶
type VolumeData struct { Destinatario Destinatario `json:"destinatario" gorm:"not null;default:null"` Volumes []Volume `json:"volumes" gorm:"not null;default:null"` }
type VolumeSecureData ¶
type VolumeSecureData struct { Remetente Remetente `json:"remetente" gorm:"not null;default:null"` Destinatario Destinatario `json:"destinatario" gorm:"not null;default:null"` Volumes []Volume `json:"volumes" gorm:"not null;default:null"` Token string `json:"token" gorm:"not null;default:null"` CodigoPlataforma string `json:"codigo_plataforma" gorm:"not null;default:null"` }
Click to show internal directories.
Click to hide internal directories.