Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateParams ¶
GenerateParams struct contains request parameter for API GenerateAWB.
type GeneratedAWB ¶
type GeneratedAWB struct { Status string `json:"status"` Data struct { Message string `json:"message"` AWBNumber string `json:"awbNumber"` StatusCode int `json:"statusCode"` } `json:"data"` }
GeneratedAWB struct contains response from API GenerateAWB.
func Generate ¶
func Generate(params *GenerateParams) (GeneratedAWB, error)
Generate generates AWB Number from related logistic, in case AWB Number is not generated yet where order sent.
func GenerateWithContext ¶
func GenerateWithContext(ctx context.Context, params *GenerateParams) (GeneratedAWB, error)
GenerateWithContext generates AWB Number from related logistic, in case AWB Number is not generated yet where order sent with context.
Click to show internal directories.
Click to hide internal directories.