Versions in this module Expand all Collapse all v1 v1.0.1 Mar 31, 2023 v1.0.0 Sep 28, 2022 Changes in this version + const ErrOrderNotFound + func NewOrderManager(ctx context.Context, orderEndpoint, authenticationEndpoint, apikey string) *orderManagerImpl + type AccountInformation struct + Contract struct{ ... } + CreatedAt time.Time + ID string + Links struct{ ... } + Roles []string + Status string + type Aoi struct + Coordinates [][][2]float64 + Type string + func GetAoiFromGeometry(scene common.Scene) (Aoi, error) + func (a Aoi) Equal(otherAOI Aoi) bool + type OrderManager interface + Create func(orderRequest OrderRequest) error + GetAccountInformation func() (AccountInformation, error) + GetPrice func(orderRequest OrderRequest) (OrderPrice, error) + GetStatus func(orderRequest OrderRequest) (map[string]OrderStatus, error) + type OrderPrice struct + Amount int + AmountUnit string + AreaKm2 float64 + Credits int + Deliveries []delivery + IsAmountEstimated string + Orderable bool + type OrderRequest struct + Kind string + Products []Product + type OrderStatus struct + DataID string + DownloadLink string + Infos map[string]string + OrderID string + Price int + State string + type Product struct + Aoi Aoi + CrsCode string + ID string + ImageFormat string + ProductType string + RadiometricProcessing string