Documentation
¶
Overview ¶
Package appointments provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Index ¶
- Constants
- func NewDeleteFastAppointmentRequest(server string, body DeleteFastAppointmentJSONRequestBody) (*http.Request, error)
- func NewDeleteFastAppointmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAppointmentAvailabilityRequest(server string, body GetAppointmentAvailabilityJSONRequestBody) (*http.Request, error)
- func NewGetAppointmentAvailabilityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFastAppointmentRequest(server string, body PostFastAppointmentJSONRequestBody) (*http.Request, error)
- func NewPostFastAppointmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutFastAppointmentRequest(server string, body PutFastAppointmentJSONRequestBody) (*http.Request, error)
- func NewPutFastAppointmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type AppointmentFull
- type AppointmentFullAppointmentType
- type AppointmentFullDestinationEntry
- type AppointmentFullDetailInfoUspsSummaryBedloadTraysType
- type AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo
- type AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator
- type AppointmentFullDetailInfoUspsSummaryEInductionIndicator
- type AppointmentFullDetailInfoUspsSummaryFullServiceIndicator
- type AppointmentFullDetailInfoUspsSummaryMailClass
- type AppointmentFullDetailInfoUspsSummaryNewsIndicator
- type AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType
- type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo
- type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus
- type AppointmentFullDetailInfoUspsSummaryPalletsPalletType
- type AppointmentFullDetailInfoUspsSummaryPerishable
- type AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator
- type AppointmentFullDetailInfoUspsSummaryProcessingCategory
- type AppointmentFullDetailInfoUspsSummaryRateType
- type AppointmentFullDetailInfoUspsSummaryVerificationLocation
- type AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator
- type AppointmentFullIncludesElectronicLoad
- type AppointmentFullPickupOrDelivery
- type AppointmentFullRecurringAppointmentDayFrequencyArray
- type AppointmentFullRecurringAppointmentWeekFrequencyArray
- type AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType
- type AppointmentFullTrailerInfoCarrierCommonContactContactType
- type AppointmentFullTrailerInfoTrailerTrailerLength
- type AppointmentFullValueAddedService
- type CancellationRequest
- type CancellationRequestCancelReasonCode
- type CancellationRequestDestinationEntry
- type CancellationResponse
- type CancellationResponseCancelReasonCode
- type CancellationResponseDestinationEntry
- type Client
- func (c *Client) DeleteFastAppointment(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAppointmentAvailability(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetAppointmentAvailabilityWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFastAppointment(ctx context.Context, body PostFastAppointmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutFastAppointment(ctx context.Context, body PutFastAppointmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteFastAppointmentResponse, error)
- func (c *ClientWithResponses) DeleteFastAppointmentWithResponse(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, ...) (*DeleteFastAppointmentResponse, error)
- func (c *ClientWithResponses) GetAppointmentAvailabilityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetAppointmentAvailabilityResponse, error)
- func (c *ClientWithResponses) GetAppointmentAvailabilityWithResponse(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, ...) (*GetAppointmentAvailabilityResponse, error)
- func (c *ClientWithResponses) PostFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostFastAppointmentResponse, error)
- func (c *ClientWithResponses) PostFastAppointmentWithResponse(ctx context.Context, body PostFastAppointmentJSONRequestBody, ...) (*PostFastAppointmentResponse, error)
- func (c *ClientWithResponses) PutFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutFastAppointmentResponse, error)
- func (c *ClientWithResponses) PutFastAppointmentWithResponse(ctx context.Context, body PutFastAppointmentJSONRequestBody, ...) (*PutFastAppointmentResponse, error)
- type ClientWithResponsesInterface
- type ContainerLevel
- type DeleteFastAppointmentJSONRequestBody
- type DeleteFastAppointmentResponse
- type ErrorMessage
- type ErrorMessage_Error
- type ErrorMessage_Error_Errors_Item
- func (a ErrorMessage_Error_Errors_Item) Get(fieldName string) (value interface{}, found bool)
- func (a ErrorMessage_Error_Errors_Item) MarshalJSON() ([]byte, error)
- func (a *ErrorMessage_Error_Errors_Item) Set(fieldName string, value interface{})
- func (a *ErrorMessage_Error_Errors_Item) UnmarshalJSON(b []byte) error
- type ErrorMessage_Error_Errors_Source
- func (a ErrorMessage_Error_Errors_Source) Get(fieldName string) (value interface{}, found bool)
- func (a ErrorMessage_Error_Errors_Source) MarshalJSON() ([]byte, error)
- func (a *ErrorMessage_Error_Errors_Source) Set(fieldName string, value interface{})
- func (a *ErrorMessage_Error_Errors_Source) UnmarshalJSON(b []byte) error
- type GetAppointmentAvailabilityJSONRequestBody
- type GetAppointmentAvailabilityResponse
- type HttpRequestDoer
- type PostFastAppointmentJSONRequestBody
- type PostFastAppointmentResponse
- type PutFastAppointmentJSONRequestBody
- type PutFastAppointmentResponse
- type RequestEditorFn
- type SlotAvailability
- type SlotAvailabilityApplyTiers
- type SlotAvailabilityAppointmentType
- type SlotAvailabilityDayFrequency
- type SlotAvailabilityDestinationEntry
- type SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator
- type SlotAvailabilityDetailInfoUspsSummaryMailClass
- type SlotAvailabilityDetailInfoUspsSummaryNewsIndicator
- type SlotAvailabilityDetailInfoUspsSummaryPerishable
- type SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator
- type SlotAvailabilityDetailInfoUspsSummaryProcessingCategory
- type SlotAvailabilityDetailInfoUspsSummaryRateType
- type SlotAvailabilityDetailInfoUspsSummaryVerificationLocation
- type SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator
- type SlotAvailabilityMailClass
- type SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType
- type SlotAvailabilityTrailerInfoCarrierCommonContactContactType
- type SlotAvailabilityTrailerInfoTrailerTrailerLength
- type SlotAvailabilityWeekFrequency
- type Slots
Constants ¶
const (
OAuthScopes = "OAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewDeleteFastAppointmentRequest ¶
func NewDeleteFastAppointmentRequest(server string, body DeleteFastAppointmentJSONRequestBody) (*http.Request, error)
NewDeleteFastAppointmentRequest calls the generic DeleteFastAppointment builder with application/json body
func NewDeleteFastAppointmentRequestWithBody ¶
func NewDeleteFastAppointmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteFastAppointmentRequestWithBody generates requests for DeleteFastAppointment with any type of body
func NewGetAppointmentAvailabilityRequest ¶
func NewGetAppointmentAvailabilityRequest(server string, body GetAppointmentAvailabilityJSONRequestBody) (*http.Request, error)
NewGetAppointmentAvailabilityRequest calls the generic GetAppointmentAvailability builder with application/json body
func NewGetAppointmentAvailabilityRequestWithBody ¶
func NewGetAppointmentAvailabilityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetAppointmentAvailabilityRequestWithBody generates requests for GetAppointmentAvailability with any type of body
func NewPostFastAppointmentRequest ¶
func NewPostFastAppointmentRequest(server string, body PostFastAppointmentJSONRequestBody) (*http.Request, error)
NewPostFastAppointmentRequest calls the generic PostFastAppointment builder with application/json body
func NewPostFastAppointmentRequestWithBody ¶
func NewPostFastAppointmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostFastAppointmentRequestWithBody generates requests for PostFastAppointment with any type of body
func NewPutFastAppointmentRequest ¶
func NewPutFastAppointmentRequest(server string, body PutFastAppointmentJSONRequestBody) (*http.Request, error)
NewPutFastAppointmentRequest calls the generic PutFastAppointment builder with application/json body
Types ¶
type AppointmentFull ¶
type AppointmentFull struct {
// CRID CRID assigned to Scheduler of FAST Appointment
CRID string `json:"CRID"`
// AppointmentType The type of appointment. PALLET = 1, BEDLOAD = 2, DROP_AND_PICK = 3, SPEEDLINE = 4.
//
// Required for Dropship appointments.
AppointmentType *AppointmentFullAppointmentType `json:"appointmentType,omitempty"`
// Comment Facility Comments
Comment *string `json:"comment,omitempty"`
// ConsigneeAppointmentID Appointment ID assigned from FAST. Required for Update actions.
ConsigneeAppointmentID *string `json:"consigneeAppointmentID,omitempty"`
// ConsigneeFacility Consignee Facility details.
ConsigneeFacility struct {
// FacilityNumber Facility number. Required for Create actions.
FacilityNumber *string `json:"facilityNumber,omitempty"`
// FacilityType Type of facility
FacilityType *string `json:"facilityType,omitempty"`
} `json:"consigneeFacility"`
// ConsigneeMultiStopID Assigned Appointment ID for multistop appointment
ConsigneeMultiStopID *string `json:"consigneeMultiStopID,omitempty"`
// DestinationEntry Dropship is YES. Origin Entry is NO.
DestinationEntry AppointmentFullDestinationEntry `json:"destinationEntry"`
// DetailInfo Details of the appointment request.
DetailInfo struct {
// ConsigneeContentID Consignee Content ID to stand in for above USPSSummary object
ConsigneeContentID *string `json:"consigneeContentID,omitempty"`
// UspsSummary Additional details of the Appointment.
UspsSummary *[]struct {
// Bedload Details and properties of the bedload for the appointment.
Bedload *struct {
// Bundles Details and properties of the bundles for the appointment.
Bundles *[]struct {
// Count Count for bundles
Count *int `json:"count,omitempty"`
// PreSortLevel Array for the preSortLevel objects
PreSortLevel *[]struct {
// ContainerLevel Presort content level information. Required for Create actions.
ContainerLevel *ContainerLevel `json:"containerLevel,omitempty"`
// Count Count for preSortLevel
Count *int `json:"count,omitempty"`
} `json:"preSortLevel,omitempty"`
} `json:"bundles,omitempty"`
// Parcels Details and properties of the parcels for the appointment.
Parcels *[]struct {
// Count Count for parcels
Count *int `json:"count,omitempty"`
// PreSortLevel Array for the preSortLevel objects
PreSortLevel *[]struct {
// ContainerLevel Presort content level information. Required for Create actions.
ContainerLevel *ContainerLevel `json:"containerLevel,omitempty"`
// Count Count for preSortLevel
Count *int `json:"count,omitempty"`
} `json:"preSortLevel,omitempty"`
} `json:"parcels,omitempty"`
// Sacks Array for the sacks portion of the appointment
Sacks *[]struct {
// IMPB Intelligent Mail Package Barcode
IMPB *string `json:"IMPB,omitempty"`
// Count Count for sacks. Required for Create actions. (One of pallets, sacks, trays count)
Count *int `json:"count,omitempty"`
// PreSortLevel Array for the preSortLevel objects
PreSortLevel *[]struct {
// ContainerLevel Presort content level information. Required for Create actions.
ContainerLevel *ContainerLevel `json:"containerLevel,omitempty"`
// Count Count for preSortLevel.
Count *int `json:"count,omitempty"`
} `json:"preSortLevel,omitempty"`
} `json:"sacks,omitempty"`
// Trays Details and properties of the trays for the appointment.
Trays *[]struct {
// IMTB Intelligent Mail Tray Barcode
IMTB *string `json:"IMTB,omitempty"`
// Count Count for trays. Required for Create actions. (One of pallets, sacks, trays count)
Count *int `json:"count,omitempty"`
// PreSortLevel Array for the preSortLevel objects
PreSortLevel *[]struct {
// ContainerLevel Presort content level information. Required for Create actions.
ContainerLevel *ContainerLevel `json:"containerLevel,omitempty"`
// Count Count for preSortLevel. Required for Create actions.
Count *int `json:"count,omitempty"`
} `json:"preSortLevel,omitempty"`
// Type Tray unit types
Type *AppointmentFullDetailInfoUspsSummaryBedloadTraysType `json:"type,omitempty"`
} `json:"trays,omitempty"`
// UspsContainerInfo Details of the container and its contents.
UspsContainerInfo *struct {
// IMCB Array of Intelligent Mail Container Barcodes Required for Create actions.
IMCB *[]string `json:"IMCB,omitempty"`
// IMCBInfo Is the IMCB linked or scanned
IMCBInfo *AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo `json:"IMCBInfo,omitempty"`
// ActualPieceCount Total count
ActualPieceCount *int `json:"actualPieceCount,omitempty"`
// ContainerWeight Weight of the container
ContainerWeight *string `json:"containerWeight,omitempty"`
// MailOwnerCRID Array of CRIDs of the mail owner
MailOwnerCRID *[]string `json:"mailOwnerCRID,omitempty"`
// MailOwnerID ID of the mail owner
MailOwnerID *[]string `json:"mailOwnerID,omitempty"`
// SiblingBarcode Array of unique IMCB barcode associated to IMCB barcode
SiblingBarcode *[]string `json:"siblingBarcode,omitempty"`
// UspsPublicationID The Publication ID
UspsPublicationID *[]string `json:"uspsPublicationID,omitempty"`
} `json:"uspsContainerInfo,omitempty"`
} `json:"bedload,omitempty"`
// ConsigneeContentID Consignee Content ID for this USPSSummary object
ConsigneeContentID *string `json:"consigneeContentID,omitempty"`
// DestinationDiscountIndicator Indicator whether this is dropship (NO) or origin entry (YES) appointment. Required for Create actions.
DestinationDiscountIndicator *AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator `json:"destinationDiscountIndicator,omitempty"`
// EInductionIndicator Yes/No indicator representing if IMCB is part of an eInduction Content
EInductionIndicator *AppointmentFullDetailInfoUspsSummaryEInductionIndicator `json:"eInductionIndicator,omitempty"`
// FullServiceIndicator Indicate content is full service
FullServiceIndicator *AppointmentFullDetailInfoUspsSummaryFullServiceIndicator `json:"fullServiceIndicator,omitempty"`
// InHomeEnd End Date of Appointment in Home DELIVERY
InHomeEnd *time.Time `json:"inHomeEnd,omitempty"`
// InHomeStart Start Date of Appointment in Home DELIVERY
InHomeStart *time.Time `json:"inHomeStart,omitempty"`
// MailClass Required for Create actions.|
// Numbers represent the mailClass within legacy systems for understanding
// 1 FIRST CLASS MAIL 2 PERIODICALS 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL) 4 PACKAGE SERVICES 6 PARCEL SELECT 7 PRIORITY MAIL
MailClass *AppointmentFullDetailInfoUspsSummaryMailClass `json:"mailClass,omitempty"`
// MailContentName Shipper assigned name to content
MailContentName *string `json:"mailContentName,omitempty"`
// MailPreparerCRID CRID of the mail preparer
MailPreparerCRID *string `json:"mailPreparerCRID,omitempty"`
// MailPreparerID The unique ID of the mail preparer
MailPreparerID *string `json:"mailPreparerID,omitempty"`
// NewsIndicator Indicator for Newspaper. Required for Create actions.
NewsIndicator *AppointmentFullDetailInfoUspsSummaryNewsIndicator `json:"newsIndicator,omitempty"`
// Pallets Details and properties of the pallets for the appointment.
Pallets *[]struct {
// Count Count for pallets. Required for Create actions. (One of pallets, sacks, trays count)
Count *int `json:"count,omitempty"`
// HandlingUnitType Types of containers used in appointment. Required for Create actions.
HandlingUnitType *AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType `json:"handlingUnitType,omitempty"`
// PalletPreSortLevel Required for Create actions.
PalletPreSortLevel *[]struct {
// ContainerLevel Presort content level information. Required for Create actions.
ContainerLevel *ContainerLevel `json:"containerLevel,omitempty"`
// Count Count for the palletPreSortLevel. Required for Create actions.
Count *int `json:"count,omitempty"`
// UspsContainerInfo Details of the container and its contents.
UspsContainerInfo *struct {
// IMCB Array of Intelligent Mail Container Barcode. Unlimited values allowed. Required for Create actions.
IMCB *[]string `json:"IMCB,omitempty"`
// IMCBInfo Is the IMCB Linked or Scanned
IMCBInfo *AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo `json:"IMCBInfo,omitempty"`
// ActualPieceCount Total count of the mail pieces
ActualPieceCount *int `json:"actualPieceCount,omitempty"`
// ContainerDestination3digitZIP 3 digit zipcode of the destination
ContainerDestination3digitZIP *string `json:"containerDestination3digitZIP,omitempty"`
// ContainerDestination5digitZIP 5 digit zipcode of the destination
ContainerDestination5digitZIP *string `json:"containerDestination5digitZIP,omitempty"`
// ContainerWeight Weight of the container
ContainerWeight *string `json:"containerWeight,omitempty"`
// MailOwnerCRID Array of CRIDs of the mail owner. Maximum of 5 values in the array.
MailOwnerCRID *[]string `json:"mailOwnerCRID,omitempty"`
// MailOwnerID Array of IDs of the mail owner. Maximum of 5 values in the array.
MailOwnerID *[]string `json:"mailOwnerID,omitempty"`
// PostInductionStatus Status as of induction of FAST appointment
PostInductionStatus *AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus `json:"postInductionStatus,omitempty"`
// SiblingBarcode Array of unique IMCB barcode associated to IMCB barcode. Unlimited values allowed.
SiblingBarcode *[]string `json:"siblingBarcode,omitempty"`
// UspsPublicationID ID of publication (Periodicals) associated with appointment content
UspsPublicationID *[]string `json:"uspsPublicationID,omitempty"`
} `json:"uspsContainerInfo,omitempty"`
} `json:"palletPreSortLevel,omitempty"`
// PalletType Pallet type used to house handing units. Required for Create actions.
PalletType *AppointmentFullDetailInfoUspsSummaryPalletsPalletType `json:"palletType,omitempty"`
} `json:"pallets,omitempty"`
// Perishable Is it perishable. Required for Create actions.
Perishable *AppointmentFullDetailInfoUspsSummaryPerishable `json:"perishable,omitempty"`
// PriorityMailIndicator Priority Mail Indicator. Required for Create actions.
PriorityMailIndicator *AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator `json:"priorityMailIndicator,omitempty"`
// ProcessingCategory Mail shape category. Required for Create actions.
ProcessingCategory *AppointmentFullDetailInfoUspsSummaryProcessingCategory `json:"processingCategory,omitempty"`
// RateType Rate type describes mail class and mail shape combination
RateType *AppointmentFullDetailInfoUspsSummaryRateType `json:"rateType,omitempty"`
// SchedulerContentID The unique ID of the Scheduler
SchedulerContentID *string `json:"schedulerContentID,omitempty"`
// VerificationLocation Verified Location for BMEU or DMU for FAST appointment
VerificationLocation *AppointmentFullDetailInfoUspsSummaryVerificationLocation `json:"verificationLocation,omitempty"`
// ZoneSkippingIndicator Zone Skip in the Content of the appointment. Required for Create actions.
ZoneSkippingIndicator *AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator `json:"zoneSkippingIndicator,omitempty"`
} `json:"uspsSummary,omitempty"`
} `json:"detailInfo"`
// IncludesElectronicLoad Indicates the Appointment is electronically processed with barcodes
IncludesElectronicLoad *AppointmentFullIncludesElectronicLoad `json:"includesElectronicLoad,omitempty"`
// OneTimeAppointment Must have either oneTimeAppointment or recurringAppointment
OneTimeAppointment *struct {
// OptionalAppointment Details of the optional appointment start and end time.
OptionalAppointment *struct {
// OptionalAppointmentEnd Optional appointment end date and time in ISO 8601 format
OptionalAppointmentEnd *time.Time `json:"optionalAppointmentEnd,omitempty"`
// OptionalAppointmentStart Optional appointment start date and time in ISO 8601 format
OptionalAppointmentStart *time.Time `json:"optionalAppointmentStart,omitempty"`
} `json:"optionalAppointment,omitempty"`
// PreferredAppointment Preferred appointment date and time in ISO 8601 format. Required for Create actions.
PreferredAppointment *time.Time `json:"preferredAppointment,omitempty"`
} `json:"oneTimeAppointment,omitempty"`
// PalletPositionCount The number of pallet positions in the appointment
PalletPositionCount *int `json:"palletPositionCount,omitempty"`
// PickupOrDelivery Type of delivery from mailer
PickupOrDelivery *AppointmentFullPickupOrDelivery `json:"pickupOrDelivery,omitempty"`
// RecurringAppointment Must have either oneTimeAppointment or recurringAppointment
RecurringAppointment *struct {
// AppointmentTime Time of appointment in Local Time. Required for Create actions.
AppointmentTime *string `json:"appointmentTime,omitempty"`
// DayFrequencyArray Day of the week for the appointment. Required for Create actions.
DayFrequencyArray *[]AppointmentFullRecurringAppointmentDayFrequencyArray `json:"dayFrequencyArray,omitempty"`
// EffectiveEndDate End date of appointment. Required for Create actions.
EffectiveEndDate *openapi_types.Date `json:"effectiveEndDate,omitempty"`
// EffectiveStartDate Start date of appointment. Required for Create actions.
EffectiveStartDate *openapi_types.Date `json:"effectiveStartDate,omitempty"`
// WeekFrequencyArray Week of the month for the appointment. Required for Create actions.
WeekFrequencyArray *[]AppointmentFullRecurringAppointmentWeekFrequencyArray `json:"weekFrequencyArray,omitempty"`
} `json:"recurringAppointment,omitempty"`
// SchedulerCorpID Unique ID of the corporation generated by PostalOne!
SchedulerCorpID *string `json:"schedulerCorpID,omitempty"`
// SchedulerID Unique ID for mailer scheduler
SchedulerID *string `json:"schedulerID,omitempty"`
// ShipperAppointmentRequestID Mailer assigned ID
ShipperAppointmentRequestID string `json:"shipperAppointmentRequestID"`
// ShipperMultiStopID ID assigned to multistop appointments
ShipperMultiStopID *string `json:"shipperMultiStopID,omitempty"`
// ShipperStopNumber Number of multistop appointments under FAST appointment
ShipperStopNumber *string `json:"shipperStopNumber,omitempty"`
// TrailerInfo Information about the trailer for the appointment.
TrailerInfo *struct {
// BillOfLadingNumberArray max of two values in the array
BillOfLadingNumberArray *[]struct {
// BillOfLadingNumber Bill of lading number.
BillOfLadingNumber *string `json:"billOfLadingNumber,omitempty"`
} `json:"billOfLadingNumberArray,omitempty"`
// Carrier Details about the carrier for the appointment.
Carrier *struct {
// CarrierCRID CRID of the carrier
CarrierCRID *string `json:"carrierCRID,omitempty"`
// CarrierName Name of the carrier. Required for Create actions.
CarrierName *string `json:"carrierName,omitempty"`
// CommonContact Contact details of the appointment requestor.
CommonContact *[]struct {
// ContactID Identification details for the appointment requestor.
ContactID *struct {
// IdValue Number on ID
IdValue *string `json:"idValue,omitempty"`
// IdValueType Type of ID used
IdValueType *AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType `json:"idValueType,omitempty"`
} `json:"contactID,omitempty"`
// ContactName Contact name
ContactName *string `json:"contactName,omitempty"`
// ContactType Carrier contact type
ContactType *AppointmentFullTrailerInfoCarrierCommonContactContactType `json:"contactType,omitempty"`
// Email Email address of contact
Email *string `json:"email,omitempty"`
// Fax Fax number of the contact, numbers only, no delimeters, optional +
Fax *string `json:"fax,omitempty"`
// MobilePhone Cell phone number of contact, numbers only, no delimeters, optional + sign
MobilePhone *string `json:"mobilePhone,omitempty"`
// Telephone Phone number of contact, numbers only, no delimeters, optional + sign
Telephone *string `json:"telephone,omitempty"`
} `json:"commonContact,omitempty"`
} `json:"carrier,omitempty"`
// Trailer max of two objects in the array
Trailer *[]struct {
// TrailerLength Length of the trailer
TrailerLength *AppointmentFullTrailerInfoTrailerTrailerLength `json:"trailerLength,omitempty"`
// TrailerNumber Trailer Identifier
TrailerNumber *string `json:"trailerNumber,omitempty"`
} `json:"trailer,omitempty"`
} `json:"trailerInfo,omitempty"`
// ValueAddedService Special appointment types offered
ValueAddedService *AppointmentFullValueAddedService `json:"valueAddedService,omitempty"`
}
AppointmentFull Appointment with full details.
type AppointmentFullAppointmentType ¶
type AppointmentFullAppointmentType string
AppointmentFullAppointmentType The type of appointment. PALLET = 1, BEDLOAD = 2, DROP_AND_PICK = 3, SPEEDLINE = 4.
Required for Dropship appointments.
const ( AppointmentFullAppointmentTypeBEDLOAD AppointmentFullAppointmentType = "BEDLOAD" AppointmentFullAppointmentTypeDROPANDPICK AppointmentFullAppointmentType = "DROP_AND_PICK" AppointmentFullAppointmentTypePALLET AppointmentFullAppointmentType = "PALLET" AppointmentFullAppointmentTypeSPEEDLINE AppointmentFullAppointmentType = "SPEEDLINE" )
Defines values for AppointmentFullAppointmentType.
type AppointmentFullDestinationEntry ¶
type AppointmentFullDestinationEntry string
AppointmentFullDestinationEntry Dropship is YES. Origin Entry is NO.
const ( AppointmentFullDestinationEntryNO AppointmentFullDestinationEntry = "NO" AppointmentFullDestinationEntryYES AppointmentFullDestinationEntry = "YES" )
Defines values for AppointmentFullDestinationEntry.
type AppointmentFullDetailInfoUspsSummaryBedloadTraysType ¶
type AppointmentFullDetailInfoUspsSummaryBedloadTraysType string
AppointmentFullDetailInfoUspsSummaryBedloadTraysType Tray unit types
const ( AppointmentFullDetailInfoUspsSummaryBedloadTraysTypeEMMTRAY AppointmentFullDetailInfoUspsSummaryBedloadTraysType = "EMM_TRAY" AppointmentFullDetailInfoUspsSummaryBedloadTraysTypeFLATTUB AppointmentFullDetailInfoUspsSummaryBedloadTraysType = "FLAT_TUB" AppointmentFullDetailInfoUspsSummaryBedloadTraysTypeMIXEDLENGTHTRAYS AppointmentFullDetailInfoUspsSummaryBedloadTraysType = "MIXED_LENGTH_TRAYS" AppointmentFullDetailInfoUspsSummaryBedloadTraysTypeN1FTTRAY AppointmentFullDetailInfoUspsSummaryBedloadTraysType = "1FT_TRAY" AppointmentFullDetailInfoUspsSummaryBedloadTraysTypeN2FTTRAY AppointmentFullDetailInfoUspsSummaryBedloadTraysType = "2FT_TRAY" )
Defines values for AppointmentFullDetailInfoUspsSummaryBedloadTraysType.
type AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo ¶
type AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo string
AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo Is the IMCB linked or scanned
const ( AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfoLINKED AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo = "LINKED" AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfoSCANNED AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo = "SCANNED" )
Defines values for AppointmentFullDetailInfoUspsSummaryBedloadUspsContainerInfoIMCBInfo.
type AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator ¶
type AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator string
AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator Indicator whether this is dropship (NO) or origin entry (YES) appointment. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicatorNO AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator = "NO" AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicatorYES AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryDestinationDiscountIndicator.
type AppointmentFullDetailInfoUspsSummaryEInductionIndicator ¶
type AppointmentFullDetailInfoUspsSummaryEInductionIndicator string
AppointmentFullDetailInfoUspsSummaryEInductionIndicator Yes/No indicator representing if IMCB is part of an eInduction Content
const ( AppointmentFullDetailInfoUspsSummaryEInductionIndicatorNO AppointmentFullDetailInfoUspsSummaryEInductionIndicator = "NO" AppointmentFullDetailInfoUspsSummaryEInductionIndicatorYES AppointmentFullDetailInfoUspsSummaryEInductionIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryEInductionIndicator.
type AppointmentFullDetailInfoUspsSummaryFullServiceIndicator ¶
type AppointmentFullDetailInfoUspsSummaryFullServiceIndicator string
AppointmentFullDetailInfoUspsSummaryFullServiceIndicator Indicate content is full service
const ( AppointmentFullDetailInfoUspsSummaryFullServiceIndicatorNO AppointmentFullDetailInfoUspsSummaryFullServiceIndicator = "NO" AppointmentFullDetailInfoUspsSummaryFullServiceIndicatorYES AppointmentFullDetailInfoUspsSummaryFullServiceIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryFullServiceIndicator.
type AppointmentFullDetailInfoUspsSummaryMailClass ¶
type AppointmentFullDetailInfoUspsSummaryMailClass string
AppointmentFullDetailInfoUspsSummaryMailClass Required for Create actions.| Numbers represent the mailClass within legacy systems for understanding 1 FIRST CLASS MAIL 2 PERIODICALS 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL) 4 PACKAGE SERVICES 6 PARCEL SELECT 7 PRIORITY MAIL
const ( AppointmentFullDetailInfoUspsSummaryMailClassFIRSTCLASS AppointmentFullDetailInfoUspsSummaryMailClass = "FIRST_CLASS" AppointmentFullDetailInfoUspsSummaryMailClassPACKAGESERVICES AppointmentFullDetailInfoUspsSummaryMailClass = "PACKAGE_SERVICES" AppointmentFullDetailInfoUspsSummaryMailClassPARCELSELECT AppointmentFullDetailInfoUspsSummaryMailClass = "PARCEL_SELECT" AppointmentFullDetailInfoUspsSummaryMailClassPERIODICALS AppointmentFullDetailInfoUspsSummaryMailClass = "PERIODICALS" AppointmentFullDetailInfoUspsSummaryMailClassPRIORITYMAIL AppointmentFullDetailInfoUspsSummaryMailClass = "PRIORITY_MAIL" AppointmentFullDetailInfoUspsSummaryMailClassUSPSGROUNDADVANTAGE AppointmentFullDetailInfoUspsSummaryMailClass = "USPS_GROUND_ADVANTAGE" AppointmentFullDetailInfoUspsSummaryMailClassUSPSMARKETINGMAIL AppointmentFullDetailInfoUspsSummaryMailClass = "USPS_MARKETING_MAIL" )
Defines values for AppointmentFullDetailInfoUspsSummaryMailClass.
type AppointmentFullDetailInfoUspsSummaryNewsIndicator ¶
type AppointmentFullDetailInfoUspsSummaryNewsIndicator string
AppointmentFullDetailInfoUspsSummaryNewsIndicator Indicator for Newspaper. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryNewsIndicatorNO AppointmentFullDetailInfoUspsSummaryNewsIndicator = "NO" AppointmentFullDetailInfoUspsSummaryNewsIndicatorYES AppointmentFullDetailInfoUspsSummaryNewsIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryNewsIndicator.
type AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType ¶
type AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType string
AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType Types of containers used in appointment. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeAIRBOX AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "AIRBOX" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeBUNDLES AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "BUNDLES" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeEMMTRAY AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "EMM_TRAY" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeFLATTUB AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "FLAT_TUB" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeMIXEDLENGTHTRAYS AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "MIXED_LENGTH_TRAYS" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeN1FTTRAY AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "1FT_TRAY" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeN2FTTRAY AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "2FT_TRAY" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypePARCELS AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "PARCELS" AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitTypeSACKS AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType = "SACKS" )
Defines values for AppointmentFullDetailInfoUspsSummaryPalletsHandlingUnitType.
type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo ¶
type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo string
AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo Is the IMCB Linked or Scanned
const ( AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfoLINKED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo = "LINKED" AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfoSCANNED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo = "SCANNED" )
Defines values for AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoIMCBInfo.
type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus ¶
type AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus string
AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus Status as of induction of FAST appointment
const ( ACCEPTED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "ACCEPTED" DELIVERED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "DELIVERED" DEPOSITEDWITHSHIPPER AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "DEPOSITED_WITH_SHIPPER" DISPATCHEDFORINDUCTION AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "DISPATCHED_FOR_INDUCTION" DISPATCHEDFORPICKUP AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "DISPATCHED_FOR_PICKUP" DOCKED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "DOCKED" EDOCSUBMITTED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "EDOC_SUBMITTED" MAILINCOPALPOOL AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "MAIL_IN_COPAL_POOL" MAILREADYFORPICKUP AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "MAIL_READY_FOR_PICKUP" MAILREADYTOBESHIPPED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "MAIL_READY_TO_BE_SHIPPED" MAILVERIFIEDANDRELEASED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "MAIL_VERIFIED_AND_RELEASED" NOTPAID AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "NOT_PAID" ONHOLD AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "ON_HOLD" PICKEDUP AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "PICKED_UP" PLANNED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "PLANNED" POSTAGEFINALIZED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "POSTAGE_FINALIZED" REJECTED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "REJECTED" TRANSPORTATIONINFOUPDATED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "TRANSPORTATION_INFO_UPDATED" WAREHOUSED AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus = "WAREHOUSED" )
Defines values for AppointmentFullDetailInfoUspsSummaryPalletsPalletPreSortLevelUspsContainerInfoPostInductionStatus.
type AppointmentFullDetailInfoUspsSummaryPalletsPalletType ¶
type AppointmentFullDetailInfoUspsSummaryPalletsPalletType string
AppointmentFullDetailInfoUspsSummaryPalletsPalletType Pallet type used to house handing units. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeAIRBOX AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "AIRBOX" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS61 AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_61" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS61P AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_61P" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS66 AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_66" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS68 AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_68" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS84 AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_84" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypeEIRS84C AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "EIRS_84C" AppointmentFullDetailInfoUspsSummaryPalletsPalletTypePALLET AppointmentFullDetailInfoUspsSummaryPalletsPalletType = "PALLET" )
Defines values for AppointmentFullDetailInfoUspsSummaryPalletsPalletType.
type AppointmentFullDetailInfoUspsSummaryPerishable ¶
type AppointmentFullDetailInfoUspsSummaryPerishable string
AppointmentFullDetailInfoUspsSummaryPerishable Is it perishable. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryPerishableNO AppointmentFullDetailInfoUspsSummaryPerishable = "NO" AppointmentFullDetailInfoUspsSummaryPerishableYES AppointmentFullDetailInfoUspsSummaryPerishable = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryPerishable.
type AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator ¶
type AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator string
AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator Priority Mail Indicator. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryPriorityMailIndicatorNO AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator = "NO" AppointmentFullDetailInfoUspsSummaryPriorityMailIndicatorYES AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryPriorityMailIndicator.
type AppointmentFullDetailInfoUspsSummaryProcessingCategory ¶
type AppointmentFullDetailInfoUspsSummaryProcessingCategory string
AppointmentFullDetailInfoUspsSummaryProcessingCategory Mail shape category. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryProcessingCategoryCD AppointmentFullDetailInfoUspsSummaryProcessingCategory = "CD" AppointmentFullDetailInfoUspsSummaryProcessingCategoryCM AppointmentFullDetailInfoUspsSummaryProcessingCategory = "CM" AppointmentFullDetailInfoUspsSummaryProcessingCategoryFL AppointmentFullDetailInfoUspsSummaryProcessingCategory = "FL" AppointmentFullDetailInfoUspsSummaryProcessingCategoryIR AppointmentFullDetailInfoUspsSummaryProcessingCategory = "IR" AppointmentFullDetailInfoUspsSummaryProcessingCategoryLT AppointmentFullDetailInfoUspsSummaryProcessingCategory = "LT" AppointmentFullDetailInfoUspsSummaryProcessingCategoryMB AppointmentFullDetailInfoUspsSummaryProcessingCategory = "MB" AppointmentFullDetailInfoUspsSummaryProcessingCategoryMP AppointmentFullDetailInfoUspsSummaryProcessingCategory = "MP" AppointmentFullDetailInfoUspsSummaryProcessingCategoryOS AppointmentFullDetailInfoUspsSummaryProcessingCategory = "OS" AppointmentFullDetailInfoUspsSummaryProcessingCategoryPF AppointmentFullDetailInfoUspsSummaryProcessingCategory = "PF" AppointmentFullDetailInfoUspsSummaryProcessingCategorySP AppointmentFullDetailInfoUspsSummaryProcessingCategory = "SP" )
Defines values for AppointmentFullDetailInfoUspsSummaryProcessingCategory.
type AppointmentFullDetailInfoUspsSummaryRateType ¶
type AppointmentFullDetailInfoUspsSummaryRateType string
AppointmentFullDetailInfoUspsSummaryRateType Rate type describes mail class and mail shape combination
const ( AppointmentFullDetailInfoUspsSummaryRateTypeA AppointmentFullDetailInfoUspsSummaryRateType = "A" AppointmentFullDetailInfoUspsSummaryRateTypeB AppointmentFullDetailInfoUspsSummaryRateType = "B" AppointmentFullDetailInfoUspsSummaryRateTypeC AppointmentFullDetailInfoUspsSummaryRateType = "C" AppointmentFullDetailInfoUspsSummaryRateTypeD AppointmentFullDetailInfoUspsSummaryRateType = "D" AppointmentFullDetailInfoUspsSummaryRateTypeE AppointmentFullDetailInfoUspsSummaryRateType = "E" AppointmentFullDetailInfoUspsSummaryRateTypeE4 AppointmentFullDetailInfoUspsSummaryRateType = "E4" AppointmentFullDetailInfoUspsSummaryRateTypeF AppointmentFullDetailInfoUspsSummaryRateType = "F" AppointmentFullDetailInfoUspsSummaryRateTypeG AppointmentFullDetailInfoUspsSummaryRateType = "G" AppointmentFullDetailInfoUspsSummaryRateTypeH AppointmentFullDetailInfoUspsSummaryRateType = "H" AppointmentFullDetailInfoUspsSummaryRateTypeJ AppointmentFullDetailInfoUspsSummaryRateType = "J" AppointmentFullDetailInfoUspsSummaryRateTypeK AppointmentFullDetailInfoUspsSummaryRateType = "K" AppointmentFullDetailInfoUspsSummaryRateTypeL AppointmentFullDetailInfoUspsSummaryRateType = "L" AppointmentFullDetailInfoUspsSummaryRateTypeM AppointmentFullDetailInfoUspsSummaryRateType = "M" AppointmentFullDetailInfoUspsSummaryRateTypeN AppointmentFullDetailInfoUspsSummaryRateType = "N" AppointmentFullDetailInfoUspsSummaryRateTypeN1 AppointmentFullDetailInfoUspsSummaryRateType = "1" AppointmentFullDetailInfoUspsSummaryRateTypeN2 AppointmentFullDetailInfoUspsSummaryRateType = "2" AppointmentFullDetailInfoUspsSummaryRateTypeN3 AppointmentFullDetailInfoUspsSummaryRateType = "3" AppointmentFullDetailInfoUspsSummaryRateTypeN4 AppointmentFullDetailInfoUspsSummaryRateType = "4" AppointmentFullDetailInfoUspsSummaryRateTypeP AppointmentFullDetailInfoUspsSummaryRateType = "P" AppointmentFullDetailInfoUspsSummaryRateTypeQ AppointmentFullDetailInfoUspsSummaryRateType = "Q" AppointmentFullDetailInfoUspsSummaryRateTypeR AppointmentFullDetailInfoUspsSummaryRateType = "R" AppointmentFullDetailInfoUspsSummaryRateTypeS AppointmentFullDetailInfoUspsSummaryRateType = "S" AppointmentFullDetailInfoUspsSummaryRateTypeS1 AppointmentFullDetailInfoUspsSummaryRateType = "S1" AppointmentFullDetailInfoUspsSummaryRateTypeS2 AppointmentFullDetailInfoUspsSummaryRateType = "S2" AppointmentFullDetailInfoUspsSummaryRateTypeS3 AppointmentFullDetailInfoUspsSummaryRateType = "S3" AppointmentFullDetailInfoUspsSummaryRateTypeS4 AppointmentFullDetailInfoUspsSummaryRateType = "S4" AppointmentFullDetailInfoUspsSummaryRateTypeS5 AppointmentFullDetailInfoUspsSummaryRateType = "S5" AppointmentFullDetailInfoUspsSummaryRateTypeS6 AppointmentFullDetailInfoUspsSummaryRateType = "S6" AppointmentFullDetailInfoUspsSummaryRateTypeS7 AppointmentFullDetailInfoUspsSummaryRateType = "S7" AppointmentFullDetailInfoUspsSummaryRateTypeT AppointmentFullDetailInfoUspsSummaryRateType = "T" AppointmentFullDetailInfoUspsSummaryRateTypeV AppointmentFullDetailInfoUspsSummaryRateType = "V" AppointmentFullDetailInfoUspsSummaryRateTypeW AppointmentFullDetailInfoUspsSummaryRateType = "W" AppointmentFullDetailInfoUspsSummaryRateTypeX AppointmentFullDetailInfoUspsSummaryRateType = "X" AppointmentFullDetailInfoUspsSummaryRateTypeY AppointmentFullDetailInfoUspsSummaryRateType = "Y" AppointmentFullDetailInfoUspsSummaryRateTypeZ AppointmentFullDetailInfoUspsSummaryRateType = "Z" )
Defines values for AppointmentFullDetailInfoUspsSummaryRateType.
type AppointmentFullDetailInfoUspsSummaryVerificationLocation ¶
type AppointmentFullDetailInfoUspsSummaryVerificationLocation string
AppointmentFullDetailInfoUspsSummaryVerificationLocation Verified Location for BMEU or DMU for FAST appointment
const ( AppointmentFullDetailInfoUspsSummaryVerificationLocationBMEU AppointmentFullDetailInfoUspsSummaryVerificationLocation = "BMEU" AppointmentFullDetailInfoUspsSummaryVerificationLocationDMU AppointmentFullDetailInfoUspsSummaryVerificationLocation = "DMU" )
Defines values for AppointmentFullDetailInfoUspsSummaryVerificationLocation.
type AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator ¶
type AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator string
AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator Zone Skip in the Content of the appointment. Required for Create actions.
const ( AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicatorNO AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator = "NO" AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicatorYES AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator = "YES" )
Defines values for AppointmentFullDetailInfoUspsSummaryZoneSkippingIndicator.
type AppointmentFullIncludesElectronicLoad ¶
type AppointmentFullIncludesElectronicLoad string
AppointmentFullIncludesElectronicLoad Indicates the Appointment is electronically processed with barcodes
const ( AppointmentFullIncludesElectronicLoadNO AppointmentFullIncludesElectronicLoad = "NO" AppointmentFullIncludesElectronicLoadYES AppointmentFullIncludesElectronicLoad = "YES" )
Defines values for AppointmentFullIncludesElectronicLoad.
type AppointmentFullPickupOrDelivery ¶
type AppointmentFullPickupOrDelivery string
AppointmentFullPickupOrDelivery Type of delivery from mailer
const ( DELIVERY AppointmentFullPickupOrDelivery = "DELIVERY" PICKUP AppointmentFullPickupOrDelivery = "PICKUP" )
Defines values for AppointmentFullPickupOrDelivery.
type AppointmentFullRecurringAppointmentDayFrequencyArray ¶
type AppointmentFullRecurringAppointmentDayFrequencyArray string
AppointmentFullRecurringAppointmentDayFrequencyArray defines model for AppointmentFull.RecurringAppointment.DayFrequencyArray.
const ( AppointmentFullRecurringAppointmentDayFrequencyArrayDAILY AppointmentFullRecurringAppointmentDayFrequencyArray = "DAILY" AppointmentFullRecurringAppointmentDayFrequencyArrayFRIDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "FRIDAY" AppointmentFullRecurringAppointmentDayFrequencyArrayMONDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "MONDAY" AppointmentFullRecurringAppointmentDayFrequencyArraySATURDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "SATURDAY" AppointmentFullRecurringAppointmentDayFrequencyArraySUNDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "SUNDAY" AppointmentFullRecurringAppointmentDayFrequencyArrayTHURSDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "THURSDAY" AppointmentFullRecurringAppointmentDayFrequencyArrayTUESDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "TUESDAY" AppointmentFullRecurringAppointmentDayFrequencyArrayWEDNESDAY AppointmentFullRecurringAppointmentDayFrequencyArray = "WEDNESDAY" )
Defines values for AppointmentFullRecurringAppointmentDayFrequencyArray.
type AppointmentFullRecurringAppointmentWeekFrequencyArray ¶
type AppointmentFullRecurringAppointmentWeekFrequencyArray string
AppointmentFullRecurringAppointmentWeekFrequencyArray defines model for AppointmentFull.RecurringAppointment.WeekFrequencyArray.
const ( AppointmentFullRecurringAppointmentWeekFrequencyArrayBIWEEKLY AppointmentFullRecurringAppointmentWeekFrequencyArray = "BI_WEEKLY" AppointmentFullRecurringAppointmentWeekFrequencyArrayFIFTH AppointmentFullRecurringAppointmentWeekFrequencyArray = "FIFTH" AppointmentFullRecurringAppointmentWeekFrequencyArrayFIRST AppointmentFullRecurringAppointmentWeekFrequencyArray = "FIRST" AppointmentFullRecurringAppointmentWeekFrequencyArrayFOURTH AppointmentFullRecurringAppointmentWeekFrequencyArray = "FOURTH" AppointmentFullRecurringAppointmentWeekFrequencyArraySECOND AppointmentFullRecurringAppointmentWeekFrequencyArray = "SECOND" AppointmentFullRecurringAppointmentWeekFrequencyArraySIXTH AppointmentFullRecurringAppointmentWeekFrequencyArray = "SIXTH" AppointmentFullRecurringAppointmentWeekFrequencyArrayTHIRD AppointmentFullRecurringAppointmentWeekFrequencyArray = "THIRD" AppointmentFullRecurringAppointmentWeekFrequencyArrayWEEKLY AppointmentFullRecurringAppointmentWeekFrequencyArray = "WEEKLY" )
Defines values for AppointmentFullRecurringAppointmentWeekFrequencyArray.
type AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType ¶
type AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType string
AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType Type of ID used
const ( AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueTypeDRIVERSLICENSE AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType = "DRIVERS_LICENSE" AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueTypeEMPLOYEEID AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType = "EMPLOYEE_ID" )
Defines values for AppointmentFullTrailerInfoCarrierCommonContactContactIDIdValueType.
type AppointmentFullTrailerInfoCarrierCommonContactContactType ¶
type AppointmentFullTrailerInfoCarrierCommonContactContactType string
AppointmentFullTrailerInfoCarrierCommonContactContactType Carrier contact type
const ( AppointmentFullTrailerInfoCarrierCommonContactContactTypeACCOUNTMANAGER AppointmentFullTrailerInfoCarrierCommonContactContactType = "ACCOUNT_MANAGER" AppointmentFullTrailerInfoCarrierCommonContactContactTypeAPPTCOORDINATOR AppointmentFullTrailerInfoCarrierCommonContactContactType = "APPT_COORDINATOR" AppointmentFullTrailerInfoCarrierCommonContactContactTypeCARRIER AppointmentFullTrailerInfoCarrierCommonContactContactType = "CARRIER" AppointmentFullTrailerInfoCarrierCommonContactContactTypeCROSSDOCK AppointmentFullTrailerInfoCarrierCommonContactContactType = "CROSS_DOCK" AppointmentFullTrailerInfoCarrierCommonContactContactTypeCUSTOMERSERVICE AppointmentFullTrailerInfoCarrierCommonContactContactType = "CUSTOMER_SERVICE" AppointmentFullTrailerInfoCarrierCommonContactContactTypeDROPSHIPCOORDINATOR AppointmentFullTrailerInfoCarrierCommonContactContactType = "DROP_SHIP_COORDINATOR" AppointmentFullTrailerInfoCarrierCommonContactContactTypeHELPDESK AppointmentFullTrailerInfoCarrierCommonContactContactType = "HELP_DESK" AppointmentFullTrailerInfoCarrierCommonContactContactTypeINBOUNDFREIGHTCOORDINATOR AppointmentFullTrailerInfoCarrierCommonContactContactType = "INBOUND_FREIGHT_COORDINATOR" AppointmentFullTrailerInfoCarrierCommonContactContactTypeOTHER AppointmentFullTrailerInfoCarrierCommonContactContactType = "OTHER" AppointmentFullTrailerInfoCarrierCommonContactContactTypePLANT AppointmentFullTrailerInfoCarrierCommonContactContactType = "PLANT" AppointmentFullTrailerInfoCarrierCommonContactContactTypeSALESOFFICE AppointmentFullTrailerInfoCarrierCommonContactContactType = "SALES_OFFICE" AppointmentFullTrailerInfoCarrierCommonContactContactTypeTRUCKDRIVER AppointmentFullTrailerInfoCarrierCommonContactContactType = "TRUCK_DRIVER" AppointmentFullTrailerInfoCarrierCommonContactContactTypeWAREHOUSE AppointmentFullTrailerInfoCarrierCommonContactContactType = "WAREHOUSE" )
Defines values for AppointmentFullTrailerInfoCarrierCommonContactContactType.
type AppointmentFullTrailerInfoTrailerTrailerLength ¶
type AppointmentFullTrailerInfoTrailerTrailerLength string
AppointmentFullTrailerInfoTrailerTrailerLength Length of the trailer
const ( AppointmentFullTrailerInfoTrailerTrailerLengthN20FT AppointmentFullTrailerInfoTrailerTrailerLength = "20FT" AppointmentFullTrailerInfoTrailerTrailerLengthN40FT AppointmentFullTrailerInfoTrailerTrailerLength = "40FT" AppointmentFullTrailerInfoTrailerTrailerLengthN45FT AppointmentFullTrailerInfoTrailerTrailerLength = "45FT" AppointmentFullTrailerInfoTrailerTrailerLengthN48FT AppointmentFullTrailerInfoTrailerTrailerLength = "48FT" AppointmentFullTrailerInfoTrailerTrailerLengthN53FT AppointmentFullTrailerInfoTrailerTrailerLength = "53FT" )
Defines values for AppointmentFullTrailerInfoTrailerTrailerLength.
type AppointmentFullValueAddedService ¶
type AppointmentFullValueAddedService string
AppointmentFullValueAddedService Special appointment types offered
const ( D1 AppointmentFullValueAddedService = "D1" D10 AppointmentFullValueAddedService = "D10" D11 AppointmentFullValueAddedService = "D11" D12 AppointmentFullValueAddedService = "D12" D13 AppointmentFullValueAddedService = "D13" D14 AppointmentFullValueAddedService = "D14" D15 AppointmentFullValueAddedService = "D15" D16 AppointmentFullValueAddedService = "D16" D17 AppointmentFullValueAddedService = "D17" D18 AppointmentFullValueAddedService = "D18" D19 AppointmentFullValueAddedService = "D19" D2 AppointmentFullValueAddedService = "D2" D20 AppointmentFullValueAddedService = "D20" D3 AppointmentFullValueAddedService = "D3" D4 AppointmentFullValueAddedService = "D4" D5 AppointmentFullValueAddedService = "D5" D6 AppointmentFullValueAddedService = "D6" D7 AppointmentFullValueAddedService = "D7" D8 AppointmentFullValueAddedService = "D8" D9 AppointmentFullValueAddedService = "D9" )
Defines values for AppointmentFullValueAddedService.
type CancellationRequest ¶
type CancellationRequest struct {
// CRID The CRID of the appointment scheduler.
CRID string `json:"CRID"`
// CancelComments Comments the user enters upon appointment cancellation
CancelComments string `json:"cancelComments"`
// CancelReasonCode The reason the appointment was cancelled. Only set when the appointment is cancelled.
//
// - `A` - Appointment made in error
// - `D` - Delivery appointment Cancelled per request of consignee
// - `E` - Product combined into another existing appointment
// - `M` - Major change in expected delivery window
// - `P` - Product not available
CancelReasonCode CancellationRequestCancelReasonCode `json:"cancelReasonCode"`
// ConsigneeAppointmentID FAST appointment ID.
ConsigneeAppointmentID string `json:"consigneeAppointmentID"`
// DestinationEntry Dropship is YES. Origin Entry is NO.
DestinationEntry CancellationRequestDestinationEntry `json:"destinationEntry"`
// ShipperAppointmentRequestID Mailer assigned ID.
ShipperAppointmentRequestID string `json:"shipperAppointmentRequestID"`
// SystemID Identifies the submitting application.
SystemID *string `json:"systemID,omitempty"`
}
CancellationRequest Cancellation Request details.
type CancellationRequestCancelReasonCode ¶
type CancellationRequestCancelReasonCode string
CancellationRequestCancelReasonCode The reason the appointment was cancelled. Only set when the appointment is cancelled.
- `A` - Appointment made in error - `D` - Delivery appointment Cancelled per request of consignee - `E` - Product combined into another existing appointment - `M` - Major change in expected delivery window - `P` - Product not available
const ( CancellationRequestCancelReasonCodeA CancellationRequestCancelReasonCode = "A" CancellationRequestCancelReasonCodeD CancellationRequestCancelReasonCode = "D" CancellationRequestCancelReasonCodeE CancellationRequestCancelReasonCode = "E" CancellationRequestCancelReasonCodeM CancellationRequestCancelReasonCode = "M" CancellationRequestCancelReasonCodeP CancellationRequestCancelReasonCode = "P" )
Defines values for CancellationRequestCancelReasonCode.
type CancellationRequestDestinationEntry ¶
type CancellationRequestDestinationEntry string
CancellationRequestDestinationEntry Dropship is YES. Origin Entry is NO.
const ( CancellationRequestDestinationEntryNO CancellationRequestDestinationEntry = "NO" CancellationRequestDestinationEntryYES CancellationRequestDestinationEntry = "YES" )
Defines values for CancellationRequestDestinationEntry.
type CancellationResponse ¶
type CancellationResponse struct {
// CRID The CRID of the appointment scheduler.
CRID string `json:"CRID"`
// CancelComments Comments the user enters upon appointment cancellation
CancelComments string `json:"cancelComments"`
// CancelNumber The cancellation number of an appointment. Used in response only.
CancelNumber *string `json:"cancelNumber,omitempty"`
// CancelReasonCode The reason the appointment was cancelled. Only set when the appointment is cancelled A = Appointment made in error, D = Delivery appointment Cancelled per request of consignee, E = Product combined into another existing appointment, M = Major change in expected delivery window, P = Product not available
CancelReasonCode CancellationResponseCancelReasonCode `json:"cancelReasonCode"`
// ConsigneeAppointmentID FAST appointment ID.
ConsigneeAppointmentID string `json:"consigneeAppointmentID"`
// DestinationEntry Dropship is YES. Origin Entry is NO.
DestinationEntry CancellationResponseDestinationEntry `json:"destinationEntry"`
// ShipperAppointmentRequestID Mailer assigned ID.
ShipperAppointmentRequestID string `json:"shipperAppointmentRequestID"`
// SystemID Identifies the submitting application.
SystemID *string `json:"systemID,omitempty"`
}
CancellationResponse Cancellation Response details.
type CancellationResponseCancelReasonCode ¶
type CancellationResponseCancelReasonCode string
CancellationResponseCancelReasonCode The reason the appointment was cancelled. Only set when the appointment is cancelled A = Appointment made in error, D = Delivery appointment Cancelled per request of consignee, E = Product combined into another existing appointment, M = Major change in expected delivery window, P = Product not available
const ( CancellationResponseCancelReasonCodeA CancellationResponseCancelReasonCode = "A" CancellationResponseCancelReasonCodeD CancellationResponseCancelReasonCode = "D" CancellationResponseCancelReasonCodeE CancellationResponseCancelReasonCode = "E" CancellationResponseCancelReasonCodeM CancellationResponseCancelReasonCode = "M" CancellationResponseCancelReasonCodeP CancellationResponseCancelReasonCode = "P" )
Defines values for CancellationResponseCancelReasonCode.
type CancellationResponseDestinationEntry ¶
type CancellationResponseDestinationEntry string
CancellationResponseDestinationEntry Dropship is YES. Origin Entry is NO.
const ( CancellationResponseDestinationEntryNO CancellationResponseDestinationEntry = "NO" CancellationResponseDestinationEntryYES CancellationResponseDestinationEntry = "YES" )
Defines values for CancellationResponseDestinationEntry.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteFastAppointment ¶
func (c *Client) DeleteFastAppointment(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFastAppointmentWithBody ¶
func (*Client) GetAppointmentAvailability ¶
func (c *Client) GetAppointmentAvailability(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppointmentAvailabilityWithBody ¶
func (*Client) PostFastAppointment ¶
func (c *Client) PostFastAppointment(ctx context.Context, body PostFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostFastAppointmentWithBody ¶
func (*Client) PutFastAppointment ¶
func (c *Client) PutFastAppointment(ctx context.Context, body PutFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetAppointmentAvailabilityWithBody request with any body
GetAppointmentAvailabilityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAppointmentAvailability(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFastAppointmentWithBody request with any body
DeleteFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteFastAppointment(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostFastAppointmentWithBody request with any body
PostFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostFastAppointment(ctx context.Context, body PostFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutFastAppointmentWithBody request with any body
PutFastAppointmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutFastAppointment(ctx context.Context, body PutFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteFastAppointmentWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFastAppointmentResponse, error)
DeleteFastAppointmentWithBodyWithResponse request with arbitrary body returning *DeleteFastAppointmentResponse
func (*ClientWithResponses) DeleteFastAppointmentWithResponse ¶
func (c *ClientWithResponses) DeleteFastAppointmentWithResponse(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFastAppointmentResponse, error)
func (*ClientWithResponses) GetAppointmentAvailabilityWithBodyWithResponse ¶
func (c *ClientWithResponses) GetAppointmentAvailabilityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAppointmentAvailabilityResponse, error)
GetAppointmentAvailabilityWithBodyWithResponse request with arbitrary body returning *GetAppointmentAvailabilityResponse
func (*ClientWithResponses) GetAppointmentAvailabilityWithResponse ¶
func (c *ClientWithResponses) GetAppointmentAvailabilityWithResponse(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAppointmentAvailabilityResponse, error)
func (*ClientWithResponses) PostFastAppointmentWithBodyWithResponse ¶
func (c *ClientWithResponses) PostFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFastAppointmentResponse, error)
PostFastAppointmentWithBodyWithResponse request with arbitrary body returning *PostFastAppointmentResponse
func (*ClientWithResponses) PostFastAppointmentWithResponse ¶
func (c *ClientWithResponses) PostFastAppointmentWithResponse(ctx context.Context, body PostFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFastAppointmentResponse, error)
func (*ClientWithResponses) PutFastAppointmentWithBodyWithResponse ¶
func (c *ClientWithResponses) PutFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFastAppointmentResponse, error)
PutFastAppointmentWithBodyWithResponse request with arbitrary body returning *PutFastAppointmentResponse
func (*ClientWithResponses) PutFastAppointmentWithResponse ¶
func (c *ClientWithResponses) PutFastAppointmentWithResponse(ctx context.Context, body PutFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFastAppointmentResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAppointmentAvailabilityWithBodyWithResponse request with any body
GetAppointmentAvailabilityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetAppointmentAvailabilityResponse, error)
GetAppointmentAvailabilityWithResponse(ctx context.Context, body GetAppointmentAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*GetAppointmentAvailabilityResponse, error)
// DeleteFastAppointmentWithBodyWithResponse request with any body
DeleteFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFastAppointmentResponse, error)
DeleteFastAppointmentWithResponse(ctx context.Context, body DeleteFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFastAppointmentResponse, error)
// PostFastAppointmentWithBodyWithResponse request with any body
PostFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFastAppointmentResponse, error)
PostFastAppointmentWithResponse(ctx context.Context, body PostFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFastAppointmentResponse, error)
// PutFastAppointmentWithBodyWithResponse request with any body
PutFastAppointmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFastAppointmentResponse, error)
PutFastAppointmentWithResponse(ctx context.Context, body PutFastAppointmentJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFastAppointmentResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ContainerLevel ¶
type ContainerLevel string
ContainerLevel Presort content level information. Required for Create actions.
const ( ContainerLevelA ContainerLevel = "A" ContainerLevelAA ContainerLevel = "AA" ContainerLevelAB ContainerLevel = "AB" ContainerLevelAC ContainerLevel = "AC" ContainerLevelAD ContainerLevel = "AD" ContainerLevelAE ContainerLevel = "AE" ContainerLevelAF ContainerLevel = "AF" ContainerLevelAG ContainerLevel = "AG" ContainerLevelB ContainerLevel = "B" ContainerLevelC ContainerLevel = "C" ContainerLevelD ContainerLevel = "D" ContainerLevelE ContainerLevel = "E" ContainerLevelF ContainerLevel = "F" ContainerLevelG ContainerLevel = "G" ContainerLevelH ContainerLevel = "H" ContainerLevelI ContainerLevel = "I" ContainerLevelJ ContainerLevel = "J" ContainerLevelK ContainerLevel = "K" ContainerLevelM ContainerLevel = "M" ContainerLevelN ContainerLevel = "N" ContainerLevelP ContainerLevel = "P" ContainerLevelQ ContainerLevel = "Q" ContainerLevelR ContainerLevel = "R" ContainerLevelS ContainerLevel = "S" ContainerLevelT ContainerLevel = "T" ContainerLevelU ContainerLevel = "U" ContainerLevelV ContainerLevel = "V" ContainerLevelW ContainerLevel = "W" ContainerLevelX ContainerLevel = "X" ContainerLevelY ContainerLevel = "Y" ContainerLevelZ ContainerLevel = "Z" )
Defines values for ContainerLevel.
type DeleteFastAppointmentJSONRequestBody ¶
type DeleteFastAppointmentJSONRequestBody = CancellationRequest
DeleteFastAppointmentJSONRequestBody defines body for DeleteFastAppointment for application/json ContentType.
type DeleteFastAppointmentResponse ¶
type DeleteFastAppointmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CancellationResponse
XML200 *CancellationResponse
JSON400 *ErrorMessage
XML400 *ErrorMessage
JSON401 *ErrorMessage
XML401 *ErrorMessage
JSON403 *ErrorMessage
XML403 *ErrorMessage
JSON429 *ErrorMessage
XML429 *ErrorMessage
JSON503 *ErrorMessage
XML503 *ErrorMessage
}
func ParseDeleteFastAppointmentResponse ¶
func ParseDeleteFastAppointmentResponse(rsp *http.Response) (*DeleteFastAppointmentResponse, error)
ParseDeleteFastAppointmentResponse parses an HTTP response from a DeleteFastAppointmentWithResponse call
func (DeleteFastAppointmentResponse) Status ¶
func (r DeleteFastAppointmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFastAppointmentResponse) StatusCode ¶
func (r DeleteFastAppointmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorMessage ¶
type ErrorMessage struct {
// ApiVersion The version of the API that was used and that raised the error.
ApiVersion *string `json:"apiVersion,omitempty"`
// Error The high-level error that has occurred as indicated by the status code.
Error *ErrorMessage_Error `json:"error,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ErrorMessage Standard error message response.
func (ErrorMessage) Get ¶
func (a ErrorMessage) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ErrorMessage. Returns the specified element and whether it was found
func (ErrorMessage) MarshalJSON ¶
func (a ErrorMessage) MarshalJSON() ([]byte, error)
Override default JSON handling for ErrorMessage to handle AdditionalProperties
func (*ErrorMessage) Set ¶
func (a *ErrorMessage) Set(fieldName string, value interface{})
Setter for additional properties for ErrorMessage
func (*ErrorMessage) UnmarshalJSON ¶
func (a *ErrorMessage) UnmarshalJSON(b []byte) error
Override default JSON handling for ErrorMessage to handle AdditionalProperties
type ErrorMessage_Error ¶
type ErrorMessage_Error struct {
// Code The error status code that has been returned in response to the request.
Code *string `json:"code,omitempty"`
// Errors Details of the error message.
Errors *[]ErrorMessage_Error_Errors_Item `json:"errors,omitempty"`
// Message A human-readable message describing the error.
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ErrorMessage_Error The high-level error that has occurred as indicated by the status code.
func (ErrorMessage_Error) Get ¶
func (a ErrorMessage_Error) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ErrorMessage_Error. Returns the specified element and whether it was found
func (ErrorMessage_Error) MarshalJSON ¶
func (a ErrorMessage_Error) MarshalJSON() ([]byte, error)
Override default JSON handling for ErrorMessage_Error to handle AdditionalProperties
func (*ErrorMessage_Error) Set ¶
func (a *ErrorMessage_Error) Set(fieldName string, value interface{})
Setter for additional properties for ErrorMessage_Error
func (*ErrorMessage_Error) UnmarshalJSON ¶
func (a *ErrorMessage_Error) UnmarshalJSON(b []byte) error
Override default JSON handling for ErrorMessage_Error to handle AdditionalProperties
type ErrorMessage_Error_Errors_Item ¶
type ErrorMessage_Error_Errors_Item struct {
// Code An internal subordinate code used for error diagnosis.
Code *string `json:"code,omitempty"`
// Detail A human-readable description of the error that occurred.
Detail *string `json:"detail,omitempty"`
// Source The element that is suspected of originating the error. Helps to pinpoint the problem.
Source *ErrorMessage_Error_Errors_Source `json:"source,omitempty"`
// Status The status code response returned to the client.
Status *string `json:"status,omitempty"`
// Title A human-readable title that identifies the error.
Title *string `json:"title,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ErrorMessage_Error_Errors_Item defines model for ErrorMessage.Error.Errors.Item.
func (ErrorMessage_Error_Errors_Item) Get ¶
func (a ErrorMessage_Error_Errors_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ErrorMessage_Error_Errors_Item. Returns the specified element and whether it was found
func (ErrorMessage_Error_Errors_Item) MarshalJSON ¶
func (a ErrorMessage_Error_Errors_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for ErrorMessage_Error_Errors_Item to handle AdditionalProperties
func (*ErrorMessage_Error_Errors_Item) Set ¶
func (a *ErrorMessage_Error_Errors_Item) Set(fieldName string, value interface{})
Setter for additional properties for ErrorMessage_Error_Errors_Item
func (*ErrorMessage_Error_Errors_Item) UnmarshalJSON ¶
func (a *ErrorMessage_Error_Errors_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for ErrorMessage_Error_Errors_Item to handle AdditionalProperties
type ErrorMessage_Error_Errors_Source ¶
type ErrorMessage_Error_Errors_Source struct {
// Example An example of a valid value for the input parameter.
Example *string `json:"example,omitempty"`
// Parameter The input in the request which caused an error.
Parameter *string `json:"parameter,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ErrorMessage_Error_Errors_Source The element that is suspected of originating the error. Helps to pinpoint the problem.
func (ErrorMessage_Error_Errors_Source) Get ¶
func (a ErrorMessage_Error_Errors_Source) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ErrorMessage_Error_Errors_Source. Returns the specified element and whether it was found
func (ErrorMessage_Error_Errors_Source) MarshalJSON ¶
func (a ErrorMessage_Error_Errors_Source) MarshalJSON() ([]byte, error)
Override default JSON handling for ErrorMessage_Error_Errors_Source to handle AdditionalProperties
func (*ErrorMessage_Error_Errors_Source) Set ¶
func (a *ErrorMessage_Error_Errors_Source) Set(fieldName string, value interface{})
Setter for additional properties for ErrorMessage_Error_Errors_Source
func (*ErrorMessage_Error_Errors_Source) UnmarshalJSON ¶
func (a *ErrorMessage_Error_Errors_Source) UnmarshalJSON(b []byte) error
Override default JSON handling for ErrorMessage_Error_Errors_Source to handle AdditionalProperties
type GetAppointmentAvailabilityJSONRequestBody ¶
type GetAppointmentAvailabilityJSONRequestBody = SlotAvailability
GetAppointmentAvailabilityJSONRequestBody defines body for GetAppointmentAvailability for application/json ContentType.
type GetAppointmentAvailabilityResponse ¶
type GetAppointmentAvailabilityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Slots
XML200 *Slots
JSON400 *ErrorMessage
XML400 *ErrorMessage
JSON401 *ErrorMessage
XML401 *ErrorMessage
JSON403 *ErrorMessage
XML403 *ErrorMessage
JSON429 *ErrorMessage
XML429 *ErrorMessage
JSON503 *ErrorMessage
XML503 *ErrorMessage
}
func ParseGetAppointmentAvailabilityResponse ¶
func ParseGetAppointmentAvailabilityResponse(rsp *http.Response) (*GetAppointmentAvailabilityResponse, error)
ParseGetAppointmentAvailabilityResponse parses an HTTP response from a GetAppointmentAvailabilityWithResponse call
func (GetAppointmentAvailabilityResponse) Status ¶
func (r GetAppointmentAvailabilityResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppointmentAvailabilityResponse) StatusCode ¶
func (r GetAppointmentAvailabilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PostFastAppointmentJSONRequestBody ¶
type PostFastAppointmentJSONRequestBody = AppointmentFull
PostFastAppointmentJSONRequestBody defines body for PostFastAppointment for application/json ContentType.
type PostFastAppointmentResponse ¶
type PostFastAppointmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AppointmentFull
XML201 *AppointmentFull
JSON400 *ErrorMessage
XML400 *ErrorMessage
JSON401 *ErrorMessage
XML401 *ErrorMessage
JSON403 *ErrorMessage
XML403 *ErrorMessage
JSON429 *ErrorMessage
XML429 *ErrorMessage
JSON503 *ErrorMessage
XML503 *ErrorMessage
}
func ParsePostFastAppointmentResponse ¶
func ParsePostFastAppointmentResponse(rsp *http.Response) (*PostFastAppointmentResponse, error)
ParsePostFastAppointmentResponse parses an HTTP response from a PostFastAppointmentWithResponse call
func (PostFastAppointmentResponse) Status ¶
func (r PostFastAppointmentResponse) Status() string
Status returns HTTPResponse.Status
func (PostFastAppointmentResponse) StatusCode ¶
func (r PostFastAppointmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutFastAppointmentJSONRequestBody ¶
type PutFastAppointmentJSONRequestBody = AppointmentFull
PutFastAppointmentJSONRequestBody defines body for PutFastAppointment for application/json ContentType.
type PutFastAppointmentResponse ¶
type PutFastAppointmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AppointmentFull
XML201 *AppointmentFull
JSON400 *ErrorMessage
XML400 *ErrorMessage
JSON401 *ErrorMessage
XML401 *ErrorMessage
JSON403 *ErrorMessage
XML403 *ErrorMessage
JSON429 *ErrorMessage
XML429 *ErrorMessage
JSON503 *ErrorMessage
XML503 *ErrorMessage
}
func ParsePutFastAppointmentResponse ¶
func ParsePutFastAppointmentResponse(rsp *http.Response) (*PutFastAppointmentResponse, error)
ParsePutFastAppointmentResponse parses an HTTP response from a PutFastAppointmentWithResponse call
func (PutFastAppointmentResponse) Status ¶
func (r PutFastAppointmentResponse) Status() string
Status returns HTTPResponse.Status
func (PutFastAppointmentResponse) StatusCode ¶
func (r PutFastAppointmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SlotAvailability ¶
type SlotAvailability struct {
// ApplyTiers The applyTiers used for the search. YES or NO
ApplyTiers *SlotAvailabilityApplyTiers `json:"applyTiers,omitempty"`
// AppointmentEndDate The end date of the date range of the query. Maximum of 21 days in the future.
//
// Required for recurring appointments.
AppointmentEndDate *time.Time `json:"appointmentEndDate,omitempty"`
// AppointmentStartDate The start date of the date range of the query. Cannot be in the past.
//
// Required for recurring appointments.
AppointmentStartDate *time.Time `json:"appointmentStartDate,omitempty"`
// AppointmentType The type of appointment. PALLET = 1, BEDLOAD = 2, DROP_AND_PICK = 3, SPEEDLINE = 4
AppointmentType *SlotAvailabilityAppointmentType `json:"appointmentType,omitempty"`
// ApptTime Appointment time if on recurring appt selection path
ApptTime *string `json:"apptTime,omitempty"`
// ApptTrackingID ShipperApptRequestID in xml, CustomerSequenceId on one time and recurring selection paths
ApptTrackingID *string `json:"apptTrackingID,omitempty"`
// Comments Comments if on recurring appt selection path
Comments *string `json:"comments,omitempty"`
// ConsigneeFacility Consignee Facility details.
ConsigneeFacility struct {
// FacilityNumber Facility number
FacilityNumber *string `json:"facilityNumber,omitempty"`
// FacilityType Type of facility
FacilityType *string `json:"facilityType,omitempty"`
} `json:"consigneeFacility"`
// DayFrequency Appointment daily frequency if on recurring appt selection path
DayFrequency *SlotAvailabilityDayFrequency `json:"dayFrequency,omitempty"`
// DestinationEntry Dropship is YES. Origin Entry is NO.
DestinationEntry SlotAvailabilityDestinationEntry `json:"destinationEntry"`
// DetailInfo Details of the appointment for the availability request.
DetailInfo struct {
// ConsigneeContainerGroupingID Consigner Container Grouping ID
ConsigneeContainerGroupingID *string `json:"consigneeContainerGroupingID,omitempty"`
// ShipperContainerGroupingID Shipper Container Grouping ID
ShipperContainerGroupingID *string `json:"shipperContainerGroupingID,omitempty"`
// UspsSummary Additional details of the Appointment.
UspsSummary *[]struct {
// DestinationDiscountIndicator Indicator whether this is dropship (NO) or origin entry (YES) appointment
DestinationDiscountIndicator *SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator `json:"destinationDiscountIndicator,omitempty"`
// MailClass Numbers represent the mailClass within legacy systems for understanding
//
// 1 FIRST CLASS MAIL
// 2 PERIODICALS
// 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL)
// 4 PACKAGE SERVICES
// 6 PARCEL SELECT
// 7 PRIORITY MAIL
MailClass *SlotAvailabilityDetailInfoUspsSummaryMailClass `json:"mailClass,omitempty"`
// NewsIndicator Indicator for Newspaper
NewsIndicator *SlotAvailabilityDetailInfoUspsSummaryNewsIndicator `json:"newsIndicator,omitempty"`
// Perishable Is it perishable.
Perishable *SlotAvailabilityDetailInfoUspsSummaryPerishable `json:"perishable,omitempty"`
// PriorityMailIndicator Priority Mail Indicator
PriorityMailIndicator *SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator `json:"priorityMailIndicator,omitempty"`
// ProcessingCategory Mail shape category
ProcessingCategory *SlotAvailabilityDetailInfoUspsSummaryProcessingCategory `json:"processingCategory,omitempty"`
// RateType Rate type describes mail class and mail shape combination
RateType *SlotAvailabilityDetailInfoUspsSummaryRateType `json:"rateType,omitempty"`
// VerificationLocation Verified Location for BMEU or DMU for FAST appointment
VerificationLocation *SlotAvailabilityDetailInfoUspsSummaryVerificationLocation `json:"verificationLocation,omitempty"`
// ZoneSkippingIndicator Zone Skip in the Content of the appointment
ZoneSkippingIndicator *SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator `json:"zoneSkippingIndicator,omitempty"`
} `json:"uspsSummary,omitempty"`
} `json:"detailInfo"`
// DropshipKey The dropship key for the appointment.
DropshipKey string `json:"dropshipKey"`
// MailClass 1 FIRST CLASS MAIL, 2 PERIODICALS, 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL), 4 PACKAGE SERVICES, 6 PARCEL SELECT, 7 PRIORITY MAIL
MailClass SlotAvailabilityMailClass `json:"mailClass"`
// OneTimeAppt Determine query path for the search.
//
// Either oneTimeAppt or recurringAppt must be set to true.
OneTimeAppt *bool `json:"oneTimeAppt,omitempty"`
// PerishableInd Is it perishable
PerishableInd *bool `json:"perishableInd,omitempty"`
// PreferredAppt Preferred appointment if on one time appt selection path
PreferredAppt *time.Time `json:"preferredAppt,omitempty"`
// RecurringAppt Determine query path for the search.
//
// Either oneTimeAppt or recurringAppt must be set to true.
RecurringAppt *bool `json:"recurringAppt,omitempty"`
// SchedulerCRID CRID assigned to Scheduler of FAST Appointment
SchedulerCRID *string `json:"schedulerCRID,omitempty"`
// SchedulerContentID value set in recurring appt selection path
SchedulerContentID *string `json:"schedulerContentID,omitempty"`
// SchedulerCorpID Unique ID of the corporation generated by PostalOne!
SchedulerCorpID *string `json:"schedulerCorpID,omitempty"`
// SchedulerID Unique ID for mailer scheduler
SchedulerID *string `json:"schedulerID,omitempty"`
// ShipperApptRequestID value set in recurring appt selection path
ShipperApptRequestID *string `json:"shipperApptRequestID,omitempty"`
// ShipperMultiStopID value set in one time appt selection path
ShipperMultiStopID *string `json:"shipperMultiStopID,omitempty"`
// TrailerInfo Information about the trailer for the appointment.
TrailerInfo *struct {
// BillOfLadingNumberArray max of two objects in the array
BillOfLadingNumberArray *[]struct {
// BillOfLadingNumber Bill of lading number.
BillOfLadingNumber *string `json:"billOfLadingNumber,omitempty"`
} `json:"billOfLadingNumberArray,omitempty"`
// Carrier Details about the carrier for the appointment.
Carrier *struct {
// CarrierCRID CRID of the carrier
CarrierCRID *string `json:"carrierCRID,omitempty"`
// CarrierName Name of the carrier
CarrierName *string `json:"carrierName,omitempty"`
// CommonContact Contact details of the appointment requestor.
CommonContact *[]struct {
// ContactID Identification details for the appointment requestor.
ContactID *struct {
// IdValue Number on ID
IdValue *string `json:"idValue,omitempty"`
// IdValueType Type of ID used
IdValueType *SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType `json:"idValueType,omitempty"`
} `json:"contactID,omitempty"`
// ContactName Contact name
ContactName *string `json:"contactName,omitempty"`
// ContactType Carrier contact type
ContactType *SlotAvailabilityTrailerInfoCarrierCommonContactContactType `json:"contactType,omitempty"`
// Email Email address of contact
Email *string `json:"email,omitempty"`
// Fax Fax number of the contact, numbers only, no delimeters, optional +
Fax *string `json:"fax,omitempty"`
// MobilePhone Cell phone number of contact, numbers only, no delimeters, optional + sign
MobilePhone *string `json:"mobilePhone,omitempty"`
// Telephone Phone number of contact, numbers only, no delimeters, optional + sign
Telephone *string `json:"telephone,omitempty"`
} `json:"commonContact,omitempty"`
} `json:"carrier,omitempty"`
// Trailer max of two objects in the array
Trailer *[]struct {
// TrailerLength Length of the trailer
TrailerLength *SlotAvailabilityTrailerInfoTrailerTrailerLength `json:"trailerLength,omitempty"`
// TrailerNumber Trailer Identifier
TrailerNumber *string `json:"trailerNumber,omitempty"`
} `json:"trailer,omitempty"`
} `json:"trailerInfo,omitempty"`
// UserCRID CRID of the user
UserCRID *string `json:"userCRID,omitempty"`
// WeekFrequency Appointment weekly frequency if on recurring appt selection path
WeekFrequency *SlotAvailabilityWeekFrequency `json:"weekFrequency,omitempty"`
}
SlotAvailability Request object for checking on slot availability
type SlotAvailabilityApplyTiers ¶
type SlotAvailabilityApplyTiers string
SlotAvailabilityApplyTiers The applyTiers used for the search. YES or NO
const ( SlotAvailabilityApplyTiersNO SlotAvailabilityApplyTiers = "NO" SlotAvailabilityApplyTiersYES SlotAvailabilityApplyTiers = "YES" )
Defines values for SlotAvailabilityApplyTiers.
type SlotAvailabilityAppointmentType ¶
type SlotAvailabilityAppointmentType string
SlotAvailabilityAppointmentType The type of appointment. PALLET = 1, BEDLOAD = 2, DROP_AND_PICK = 3, SPEEDLINE = 4
const ( BEDLOAD SlotAvailabilityAppointmentType = "BEDLOAD" DROPANDPICK SlotAvailabilityAppointmentType = "DROP_AND_PICK" PALLET SlotAvailabilityAppointmentType = "PALLET" SPEEDLINE SlotAvailabilityAppointmentType = "SPEEDLINE" )
Defines values for SlotAvailabilityAppointmentType.
type SlotAvailabilityDayFrequency ¶
type SlotAvailabilityDayFrequency string
SlotAvailabilityDayFrequency Appointment daily frequency if on recurring appt selection path
const ( SlotAvailabilityDayFrequencyDAILY SlotAvailabilityDayFrequency = "DAILY" SlotAvailabilityDayFrequencyFRIDAY SlotAvailabilityDayFrequency = "FRIDAY" SlotAvailabilityDayFrequencyMONDAY SlotAvailabilityDayFrequency = "MONDAY" SlotAvailabilityDayFrequencySATURDAY SlotAvailabilityDayFrequency = "SATURDAY" SlotAvailabilityDayFrequencySUNDAY SlotAvailabilityDayFrequency = "SUNDAY" SlotAvailabilityDayFrequencyTHURSDAY SlotAvailabilityDayFrequency = "THURSDAY" SlotAvailabilityDayFrequencyTUESDAY SlotAvailabilityDayFrequency = "TUESDAY" SlotAvailabilityDayFrequencyWEDNESDAY SlotAvailabilityDayFrequency = "WEDNESDAY" )
Defines values for SlotAvailabilityDayFrequency.
type SlotAvailabilityDestinationEntry ¶
type SlotAvailabilityDestinationEntry string
SlotAvailabilityDestinationEntry Dropship is YES. Origin Entry is NO.
const ( SlotAvailabilityDestinationEntryNO SlotAvailabilityDestinationEntry = "NO" SlotAvailabilityDestinationEntryYES SlotAvailabilityDestinationEntry = "YES" )
Defines values for SlotAvailabilityDestinationEntry.
type SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator ¶
type SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator string
SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator Indicator whether this is dropship (NO) or origin entry (YES) appointment
const ( SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicatorNO SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator = "NO" SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicatorYES SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator = "YES" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryDestinationDiscountIndicator.
type SlotAvailabilityDetailInfoUspsSummaryMailClass ¶
type SlotAvailabilityDetailInfoUspsSummaryMailClass string
SlotAvailabilityDetailInfoUspsSummaryMailClass Numbers represent the mailClass within legacy systems for understanding
1 FIRST CLASS MAIL 2 PERIODICALS 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL) 4 PACKAGE SERVICES 6 PARCEL SELECT 7 PRIORITY MAIL
const ( SlotAvailabilityDetailInfoUspsSummaryMailClassFIRSTCLASS SlotAvailabilityDetailInfoUspsSummaryMailClass = "FIRST_CLASS" SlotAvailabilityDetailInfoUspsSummaryMailClassPACKAGESERVICES SlotAvailabilityDetailInfoUspsSummaryMailClass = "PACKAGE_SERVICES" SlotAvailabilityDetailInfoUspsSummaryMailClassPARCELSELECT SlotAvailabilityDetailInfoUspsSummaryMailClass = "PARCEL_SELECT" SlotAvailabilityDetailInfoUspsSummaryMailClassPERIODICALS SlotAvailabilityDetailInfoUspsSummaryMailClass = "PERIODICALS" SlotAvailabilityDetailInfoUspsSummaryMailClassPRIORITYMAIL SlotAvailabilityDetailInfoUspsSummaryMailClass = "PRIORITY_MAIL" SlotAvailabilityDetailInfoUspsSummaryMailClassUSPSGROUNDADVANTAGE SlotAvailabilityDetailInfoUspsSummaryMailClass = "USPS_GROUND_ADVANTAGE" SlotAvailabilityDetailInfoUspsSummaryMailClassUSPSMARKETINGMAIL SlotAvailabilityDetailInfoUspsSummaryMailClass = "USPS_MARKETING_MAIL" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryMailClass.
type SlotAvailabilityDetailInfoUspsSummaryNewsIndicator ¶
type SlotAvailabilityDetailInfoUspsSummaryNewsIndicator string
SlotAvailabilityDetailInfoUspsSummaryNewsIndicator Indicator for Newspaper
const ( SlotAvailabilityDetailInfoUspsSummaryNewsIndicatorNO SlotAvailabilityDetailInfoUspsSummaryNewsIndicator = "NO" SlotAvailabilityDetailInfoUspsSummaryNewsIndicatorYES SlotAvailabilityDetailInfoUspsSummaryNewsIndicator = "YES" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryNewsIndicator.
type SlotAvailabilityDetailInfoUspsSummaryPerishable ¶
type SlotAvailabilityDetailInfoUspsSummaryPerishable string
SlotAvailabilityDetailInfoUspsSummaryPerishable Is it perishable.
const ( SlotAvailabilityDetailInfoUspsSummaryPerishableNO SlotAvailabilityDetailInfoUspsSummaryPerishable = "NO" SlotAvailabilityDetailInfoUspsSummaryPerishableYES SlotAvailabilityDetailInfoUspsSummaryPerishable = "YES" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryPerishable.
type SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator ¶
type SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator string
SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator Priority Mail Indicator
const ( SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicatorNO SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator = "NO" SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicatorYES SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator = "YES" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryPriorityMailIndicator.
type SlotAvailabilityDetailInfoUspsSummaryProcessingCategory ¶
type SlotAvailabilityDetailInfoUspsSummaryProcessingCategory string
SlotAvailabilityDetailInfoUspsSummaryProcessingCategory Mail shape category
const ( SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryCD SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "CD" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryCM SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "CM" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryFL SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "FL" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryIR SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "IR" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryLT SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "LT" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryMB SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "MB" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryMP SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "MP" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryOS SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "OS" SlotAvailabilityDetailInfoUspsSummaryProcessingCategoryPF SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "PF" SlotAvailabilityDetailInfoUspsSummaryProcessingCategorySP SlotAvailabilityDetailInfoUspsSummaryProcessingCategory = "SP" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryProcessingCategory.
type SlotAvailabilityDetailInfoUspsSummaryRateType ¶
type SlotAvailabilityDetailInfoUspsSummaryRateType string
SlotAvailabilityDetailInfoUspsSummaryRateType Rate type describes mail class and mail shape combination
const ( A SlotAvailabilityDetailInfoUspsSummaryRateType = "A" B SlotAvailabilityDetailInfoUspsSummaryRateType = "B" C SlotAvailabilityDetailInfoUspsSummaryRateType = "C" D SlotAvailabilityDetailInfoUspsSummaryRateType = "D" E SlotAvailabilityDetailInfoUspsSummaryRateType = "E" E4 SlotAvailabilityDetailInfoUspsSummaryRateType = "E4" F SlotAvailabilityDetailInfoUspsSummaryRateType = "F" G SlotAvailabilityDetailInfoUspsSummaryRateType = "G" H SlotAvailabilityDetailInfoUspsSummaryRateType = "H" J SlotAvailabilityDetailInfoUspsSummaryRateType = "J" K SlotAvailabilityDetailInfoUspsSummaryRateType = "K" L SlotAvailabilityDetailInfoUspsSummaryRateType = "L" M SlotAvailabilityDetailInfoUspsSummaryRateType = "M" N SlotAvailabilityDetailInfoUspsSummaryRateType = "N" N1 SlotAvailabilityDetailInfoUspsSummaryRateType = "1" N2 SlotAvailabilityDetailInfoUspsSummaryRateType = "2" N3 SlotAvailabilityDetailInfoUspsSummaryRateType = "3" N4 SlotAvailabilityDetailInfoUspsSummaryRateType = "4" P SlotAvailabilityDetailInfoUspsSummaryRateType = "P" Q SlotAvailabilityDetailInfoUspsSummaryRateType = "Q" R SlotAvailabilityDetailInfoUspsSummaryRateType = "R" S SlotAvailabilityDetailInfoUspsSummaryRateType = "S" S1 SlotAvailabilityDetailInfoUspsSummaryRateType = "S1" S2 SlotAvailabilityDetailInfoUspsSummaryRateType = "S2" S3 SlotAvailabilityDetailInfoUspsSummaryRateType = "S3" S4 SlotAvailabilityDetailInfoUspsSummaryRateType = "S4" S5 SlotAvailabilityDetailInfoUspsSummaryRateType = "S5" S6 SlotAvailabilityDetailInfoUspsSummaryRateType = "S6" S7 SlotAvailabilityDetailInfoUspsSummaryRateType = "S7" T SlotAvailabilityDetailInfoUspsSummaryRateType = "T" V SlotAvailabilityDetailInfoUspsSummaryRateType = "V" W SlotAvailabilityDetailInfoUspsSummaryRateType = "W" X SlotAvailabilityDetailInfoUspsSummaryRateType = "X" Y SlotAvailabilityDetailInfoUspsSummaryRateType = "Y" Z SlotAvailabilityDetailInfoUspsSummaryRateType = "Z" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryRateType.
type SlotAvailabilityDetailInfoUspsSummaryVerificationLocation ¶
type SlotAvailabilityDetailInfoUspsSummaryVerificationLocation string
SlotAvailabilityDetailInfoUspsSummaryVerificationLocation Verified Location for BMEU or DMU for FAST appointment
const ( SlotAvailabilityDetailInfoUspsSummaryVerificationLocationBMEU SlotAvailabilityDetailInfoUspsSummaryVerificationLocation = "BMEU" SlotAvailabilityDetailInfoUspsSummaryVerificationLocationDMU SlotAvailabilityDetailInfoUspsSummaryVerificationLocation = "DMU" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryVerificationLocation.
type SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator ¶
type SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator string
SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator Zone Skip in the Content of the appointment
const ( SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicatorNO SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator = "NO" SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicatorYES SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator = "YES" )
Defines values for SlotAvailabilityDetailInfoUspsSummaryZoneSkippingIndicator.
type SlotAvailabilityMailClass ¶
type SlotAvailabilityMailClass string
SlotAvailabilityMailClass 1 FIRST CLASS MAIL, 2 PERIODICALS, 3 USPS MARKETING MAIL (PREVIOUSLY STANDARD MAIL), 4 PACKAGE SERVICES, 6 PARCEL SELECT, 7 PRIORITY MAIL
const ( FIRSTCLASS SlotAvailabilityMailClass = "FIRST_CLASS" PACKAGESERVICES SlotAvailabilityMailClass = "PACKAGE_SERVICES" PARCELSELECT SlotAvailabilityMailClass = "PARCEL_SELECT" PERIODICALS SlotAvailabilityMailClass = "PERIODICALS" PRIORITYMAIL SlotAvailabilityMailClass = "PRIORITY_MAIL" USPSMARKETINGMAIL SlotAvailabilityMailClass = "USPS_MARKETING_MAIL" )
Defines values for SlotAvailabilityMailClass.
type SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType ¶
type SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType string
SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType Type of ID used
const ( SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueTypeDRIVERSLICENSE SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType = "DRIVERS_LICENSE" SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueTypeEMPLOYEEID SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType = "EMPLOYEE_ID" )
Defines values for SlotAvailabilityTrailerInfoCarrierCommonContactContactIDIdValueType.
type SlotAvailabilityTrailerInfoCarrierCommonContactContactType ¶
type SlotAvailabilityTrailerInfoCarrierCommonContactContactType string
SlotAvailabilityTrailerInfoCarrierCommonContactContactType Carrier contact type
const ( SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeACCOUNTMANAGER SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "ACCOUNT_MANAGER" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeAPPTCOORDINATOR SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "APPT_COORDINATOR" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeCARRIER SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "CARRIER" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeCROSSDOCK SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "CROSS_DOCK" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeCUSTOMERSERVICE SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "CUSTOMER_SERVICE" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeDROPSHIPCOORDINATOR SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "DROP_SHIP_COORDINATOR" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeHELPDESK SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "HELP_DESK" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeINBOUNDFREIGHTCOORDINATOR SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "INBOUND_FREIGHT_COORDINATOR" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeOTHER SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "OTHER" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypePLANT SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "PLANT" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeSALESOFFICE SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "SALES_OFFICE" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeTRUCKDRIVER SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "TRUCK_DRIVER" SlotAvailabilityTrailerInfoCarrierCommonContactContactTypeWAREHOUSE SlotAvailabilityTrailerInfoCarrierCommonContactContactType = "WAREHOUSE" )
Defines values for SlotAvailabilityTrailerInfoCarrierCommonContactContactType.
type SlotAvailabilityTrailerInfoTrailerTrailerLength ¶
type SlotAvailabilityTrailerInfoTrailerTrailerLength string
SlotAvailabilityTrailerInfoTrailerTrailerLength Length of the trailer
const ( SlotAvailabilityTrailerInfoTrailerTrailerLengthN20FT SlotAvailabilityTrailerInfoTrailerTrailerLength = "20FT" SlotAvailabilityTrailerInfoTrailerTrailerLengthN40FT SlotAvailabilityTrailerInfoTrailerTrailerLength = "40FT" SlotAvailabilityTrailerInfoTrailerTrailerLengthN45FT SlotAvailabilityTrailerInfoTrailerTrailerLength = "45FT" SlotAvailabilityTrailerInfoTrailerTrailerLengthN48FT SlotAvailabilityTrailerInfoTrailerTrailerLength = "48FT" SlotAvailabilityTrailerInfoTrailerTrailerLengthN53FT SlotAvailabilityTrailerInfoTrailerTrailerLength = "53FT" )
Defines values for SlotAvailabilityTrailerInfoTrailerTrailerLength.
type SlotAvailabilityWeekFrequency ¶
type SlotAvailabilityWeekFrequency string
SlotAvailabilityWeekFrequency Appointment weekly frequency if on recurring appt selection path
const ( SlotAvailabilityWeekFrequencyBIWEEKLY SlotAvailabilityWeekFrequency = "BI_WEEKLY" SlotAvailabilityWeekFrequencyFIFTH SlotAvailabilityWeekFrequency = "FIFTH" SlotAvailabilityWeekFrequencyFIRST SlotAvailabilityWeekFrequency = "FIRST" SlotAvailabilityWeekFrequencyFOURTH SlotAvailabilityWeekFrequency = "FOURTH" SlotAvailabilityWeekFrequencySECOND SlotAvailabilityWeekFrequency = "SECOND" SlotAvailabilityWeekFrequencySIXTH SlotAvailabilityWeekFrequency = "SIXTH" SlotAvailabilityWeekFrequencyTHIRD SlotAvailabilityWeekFrequency = "THIRD" SlotAvailabilityWeekFrequencyWEEKLY SlotAvailabilityWeekFrequency = "WEEKLY" )
Defines values for SlotAvailabilityWeekFrequency.