v1

package
v1.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListRequest

type ListRequest struct {
}

type ListResponse

type ListResponse struct {
	Result []ListResponseResult `json:"result"`
}

type ListResponseResult

type ListResponseResult struct {
	HasEntrustedAcceptance bool                            `json:"has_entrusted_acceptance"`
	IsRFBS                 bool                            `json:"is_rfbs"`
	Name                   string                          `json:"name"`
	WarehouseID            int64                           `json:"warehouse_id"`
	CanPrintActInAdvance   bool                            `json:"can_print_act_in_advance"`
	FirstMileType          ListResponseResultFirstMileType `json:"first_mile_type"`
	HasPostingsLimit       bool                            `json:"has_postings_limit"`
	IsKarantin             bool                            `json:"is_karantin"`
	IsKGT                  bool                            `json:"is_kgt"`
	IsTimetableEditable    bool                            `json:"is_timetable_editable"`
	MinPostingsLimit       int32                           `json:"min_postings_limit"`
	PostingsLimit          int32                           `json:"postings_limit"`
	MinWorkingDays         int64                           `json:"min_working_days"`
	Status                 string                          `json:"status"`
	WorkingDays            []int32                         `json:"working_days"`
}

type ListResponseResultFirstMileType

type ListResponseResultFirstMileType struct {
	DropoffPointID      string `json:"dropoff_point_id"`
	DropoffTimeslotID   int64  `json:"dropoff_timeslot_id"`
	FirstMileIsChanging bool   `json:"first_mile_is_changing"`
	FirstMileType       string `json:"first_mile_type"`
}

type Warehouse

type Warehouse struct {
	// contains filtered or unexported fields
}

func New

func New(
	h *http.Client,
	uri string,
) *Warehouse

func (Warehouse) List

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL