Documentation ¶
Index ¶
- type Address
- type AddressWithContact
- type ContactDetails
- type ContactDetailsPrimary
- type CreateSupplySourceRequest
- func (m *CreateSupplySourceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSupplySourceRequest) MarshalBinary() ([]byte, error)
- func (m *CreateSupplySourceRequest) UnmarshalBinary(b []byte) error
- func (m *CreateSupplySourceRequest) Validate(formats strfmt.Registry) error
- type CreateSupplySourceResponse
- func (m *CreateSupplySourceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSupplySourceResponse) MarshalBinary() ([]byte, error)
- func (m *CreateSupplySourceResponse) UnmarshalBinary(b []byte) error
- func (m *CreateSupplySourceResponse) Validate(formats strfmt.Registry) error
- type CurbsidePickupConfiguration
- func (m *CurbsidePickupConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CurbsidePickupConfiguration) MarshalBinary() ([]byte, error)
- func (m *CurbsidePickupConfiguration) UnmarshalBinary(b []byte) error
- func (m *CurbsidePickupConfiguration) Validate(formats strfmt.Registry) error
- type DateTime
- type DeliveryChannel
- type Duration
- type EmailAddress
- type Error
- type ErrorList
- type GetSupplySourcesResponse
- func (m *GetSupplySourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetSupplySourcesResponse) MarshalBinary() ([]byte, error)
- func (m *GetSupplySourcesResponse) UnmarshalBinary(b []byte) error
- func (m *GetSupplySourcesResponse) Validate(formats strfmt.Registry) error
- type InStorePickupConfiguration
- func (m *InStorePickupConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InStorePickupConfiguration) MarshalBinary() ([]byte, error)
- func (m *InStorePickupConfiguration) UnmarshalBinary(b []byte) error
- func (m *InStorePickupConfiguration) Validate(formats strfmt.Registry) error
- type NonNegativeInteger
- type OperatingHour
- type OperatingHours
- type OperatingHoursByDay
- type OperationalConfiguration
- func (m *OperationalConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OperationalConfiguration) MarshalBinary() ([]byte, error)
- func (m *OperationalConfiguration) UnmarshalBinary(b []byte) error
- func (m *OperationalConfiguration) Validate(formats strfmt.Registry) error
- type OutboundCapability
- type ParkingConfiguration
- type ParkingCostType
- type ParkingSpotIdentificationType
- type ParkingWithAddressConfiguration
- func (m *ParkingWithAddressConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ParkingWithAddressConfiguration) MarshalBinary() ([]byte, error)
- func (m ParkingWithAddressConfiguration) MarshalJSON() ([]byte, error)
- func (m *ParkingWithAddressConfiguration) UnmarshalBinary(b []byte) error
- func (m *ParkingWithAddressConfiguration) UnmarshalJSON(raw []byte) error
- func (m *ParkingWithAddressConfiguration) Validate(formats strfmt.Registry) error
- type PickupChannel
- type ReturnLocation
- type ServicesCapability
- type SupplySource
- type SupplySourceAlias
- type SupplySourceCapabilities
- func (m *SupplySourceCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SupplySourceCapabilities) MarshalBinary() ([]byte, error)
- func (m *SupplySourceCapabilities) UnmarshalBinary(b []byte) error
- func (m *SupplySourceCapabilities) Validate(formats strfmt.Registry) error
- type SupplySourceCode
- type SupplySourceConfiguration
- func (m *SupplySourceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SupplySourceConfiguration) MarshalBinary() ([]byte, error)
- func (m *SupplySourceConfiguration) UnmarshalBinary(b []byte) error
- func (m *SupplySourceConfiguration) Validate(formats strfmt.Registry) error
- type SupplySourceID
- type SupplySourceList
- type SupplySourceListItems0
- func (m *SupplySourceListItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SupplySourceListItems0) MarshalBinary() ([]byte, error)
- func (m *SupplySourceListItems0) UnmarshalBinary(b []byte) error
- func (m *SupplySourceListItems0) Validate(formats strfmt.Registry) error
- type SupplySourceStatus
- type SupplySourceStatusReadOnly
- type ThroughputCap
- type ThroughputConfig
- type ThroughputUnit
- type TimeUnit
- type UpdateSupplySourceRequest
- func (m *UpdateSupplySourceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSupplySourceRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateSupplySourceRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateSupplySourceRequest) Validate(formats strfmt.Registry) error
- type UpdateSupplySourceStatusRequest
- func (m *UpdateSupplySourceStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSupplySourceStatusRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateSupplySourceStatusRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateSupplySourceStatusRequest) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // The first line of the address. // Required: true AddressLine1 *string `json:"addressLine1"` // The additional address information, if required. AddressLine2 string `json:"addressLine2,omitempty"` // The additional address information, if required. AddressLine3 string `json:"addressLine3,omitempty"` // The city where the person, business or institution is located. City string `json:"city,omitempty"` // The two digit country code. In ISO 3166-1 alpha-2 format. // Required: true CountryCode *string `json:"countryCode"` // The county where person, business or institution is located. County string `json:"county,omitempty"` // The district where person, business or institution is located. District string `json:"district,omitempty"` // The name of the person, business or institution at that address. // Required: true Name *string `json:"name"` // The phone number of the person, business or institution located at that address. Phone string `json:"phone,omitempty"` // The postal code of that address. It conatins a series of letters or digits or both, sometimes including spaces or punctuation. PostalCode string `json:"postalCode,omitempty"` // The state or region where person, business or institution is located. // Required: true StateOrRegion *string `json:"stateOrRegion"` }
Address A physical address.
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AddressWithContact ¶
type AddressWithContact struct { // address Address *Address `json:"address,omitempty"` // contact details ContactDetails *ContactDetails `json:"contactDetails,omitempty"` }
AddressWithContact The address and contact details.
swagger:model AddressWithContact
func (*AddressWithContact) ContextValidate ¶
ContextValidate validate this address with contact based on the context it is used
func (*AddressWithContact) MarshalBinary ¶
func (m *AddressWithContact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddressWithContact) UnmarshalBinary ¶
func (m *AddressWithContact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContactDetails ¶
type ContactDetails struct { // primary Primary *ContactDetailsPrimary `json:"primary,omitempty"` }
ContactDetails The contact details
swagger:model ContactDetails
func (*ContactDetails) ContextValidate ¶
ContextValidate validate this contact details based on the context it is used
func (*ContactDetails) MarshalBinary ¶
func (m *ContactDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContactDetails) UnmarshalBinary ¶
func (m *ContactDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContactDetailsPrimary ¶
type ContactDetailsPrimary struct { // email Email EmailAddress `json:"email,omitempty"` // The phone number of the person, business or institution. Phone string `json:"phone,omitempty"` }
ContactDetailsPrimary contact details primary
swagger:model ContactDetailsPrimary
func (*ContactDetailsPrimary) ContextValidate ¶
ContextValidate validate this contact details primary based on the context it is used
func (*ContactDetailsPrimary) MarshalBinary ¶
func (m *ContactDetailsPrimary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContactDetailsPrimary) UnmarshalBinary ¶
func (m *ContactDetailsPrimary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSupplySourceRequest ¶
type CreateSupplySourceRequest struct { // address // Required: true Address *Address `json:"address"` // alias // Required: true Alias *SupplySourceAlias `json:"alias"` // supply source code // Required: true SupplySourceCode *SupplySourceCode `json:"supplySourceCode"` }
CreateSupplySourceRequest A request to create a supply source.
swagger:model CreateSupplySourceRequest
func (*CreateSupplySourceRequest) ContextValidate ¶
func (m *CreateSupplySourceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create supply source request based on the context it is used
func (*CreateSupplySourceRequest) MarshalBinary ¶
func (m *CreateSupplySourceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSupplySourceRequest) UnmarshalBinary ¶
func (m *CreateSupplySourceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSupplySourceResponse ¶
type CreateSupplySourceResponse struct { // supply source code // Required: true SupplySourceCode *SupplySourceCode `json:"supplySourceCode"` // supply source Id // Required: true SupplySourceID *SupplySourceID `json:"supplySourceId"` }
CreateSupplySourceResponse The result of creating a new supply source.
swagger:model CreateSupplySourceResponse
func (*CreateSupplySourceResponse) ContextValidate ¶
func (m *CreateSupplySourceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create supply source response based on the context it is used
func (*CreateSupplySourceResponse) MarshalBinary ¶
func (m *CreateSupplySourceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSupplySourceResponse) UnmarshalBinary ¶
func (m *CreateSupplySourceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurbsidePickupConfiguration ¶
type CurbsidePickupConfiguration struct { // When true, curbside pickup is supported by the supply source. IsSupported bool `json:"isSupported,omitempty"` // The operational configuration for the curbside pickup configuration. OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` // The parking configuration for curbside pickup with address for customers to use. ParkingWithAddressConfiguration *ParkingWithAddressConfiguration `json:"parkingWithAddressConfiguration,omitempty"` }
CurbsidePickupConfiguration The curbside pickup configuration of a supply source.
swagger:model CurbsidePickupConfiguration
func (*CurbsidePickupConfiguration) ContextValidate ¶
func (m *CurbsidePickupConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this curbside pickup configuration based on the context it is used
func (*CurbsidePickupConfiguration) MarshalBinary ¶
func (m *CurbsidePickupConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurbsidePickupConfiguration) UnmarshalBinary ¶
func (m *CurbsidePickupConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DateTime ¶
type DateTime string
DateTime A date and time in the rfc3339 format.
swagger:model DateTime
func (DateTime) ContextValidate ¶
ContextValidate validates this date time based on context it is used
type DeliveryChannel ¶
type DeliveryChannel struct { // is supported IsSupported bool `json:"isSupported,omitempty"` // operational configuration OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` }
DeliveryChannel The delivery channel of a supply source.
swagger:model DeliveryChannel
func (*DeliveryChannel) ContextValidate ¶
ContextValidate validate this delivery channel based on the context it is used
func (*DeliveryChannel) MarshalBinary ¶
func (m *DeliveryChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeliveryChannel) UnmarshalBinary ¶
func (m *DeliveryChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Duration ¶
type Duration struct { // time unit TimeUnit TimeUnit `json:"timeUnit,omitempty"` // value Value *NonNegativeInteger `json:"value,omitempty"` }
Duration The duration of time.
swagger:model Duration
func (*Duration) ContextValidate ¶
ContextValidate validate this duration based on the context it is used
func (*Duration) MarshalBinary ¶
MarshalBinary interface implementation
func (*Duration) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EmailAddress ¶
type EmailAddress string
EmailAddress The email address to which email messages are delivered.
swagger:model EmailAddress
func (EmailAddress) ContextValidate ¶
ContextValidate validates this email address based on context it is used
type Error ¶
type Error struct { // An error code that identifies the type of error that occured. // Required: true Code *string `json:"code"` // The additional details that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition in a human-readable form. // Required: true Message *string `json:"message"` }
Error An error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList struct { // A list of error responses returned when a request is unsuccessful. // Required: true Errors []*Error `json:"errors"` }
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (*ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
func (*ErrorList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GetSupplySourcesResponse ¶
type GetSupplySourcesResponse struct { // If present, use this pagination token to retrieve the next page of supply sources. NextPageToken string `json:"nextPageToken,omitempty"` // supply sources SupplySources SupplySourceList `json:"supplySources,omitempty"` }
GetSupplySourcesResponse The paginated list of supply sources.
swagger:model GetSupplySourcesResponse
func (*GetSupplySourcesResponse) ContextValidate ¶
func (m *GetSupplySourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get supply sources response based on the context it is used
func (*GetSupplySourcesResponse) MarshalBinary ¶
func (m *GetSupplySourcesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSupplySourcesResponse) UnmarshalBinary ¶
func (m *GetSupplySourcesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InStorePickupConfiguration ¶
type InStorePickupConfiguration struct { // When true, in-store pickup is supported by the supply source (default: `isSupported` value in `PickupChannel`). IsSupported bool `json:"isSupported,omitempty"` // The parking configuration for in-store pickup. ParkingConfiguration *ParkingConfiguration `json:"parkingConfiguration,omitempty"` }
InStorePickupConfiguration The in-store pickup configuration of a supply source.
swagger:model InStorePickupConfiguration
func (*InStorePickupConfiguration) ContextValidate ¶
func (m *InStorePickupConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this in store pickup configuration based on the context it is used
func (*InStorePickupConfiguration) MarshalBinary ¶
func (m *InStorePickupConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InStorePickupConfiguration) UnmarshalBinary ¶
func (m *InStorePickupConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NonNegativeInteger ¶
type NonNegativeInteger int64
NonNegativeInteger An unsigned integer that can be only positive or zero.
swagger:model NonNegativeInteger
func (NonNegativeInteger) ContextValidate ¶
ContextValidate validates this non negative integer based on context it is used
type OperatingHour ¶
type OperatingHour struct { // The closing time, ISO 8601 formatted timestamp without date, HH:mm. EndTime string `json:"endTime,omitempty"` // The opening time, ISO 8601 formatted timestamp without date, HH:mm. StartTime string `json:"startTime,omitempty"` }
OperatingHour The operating hour schema
swagger:model OperatingHour
func (*OperatingHour) ContextValidate ¶
ContextValidate validates this operating hour based on context it is used
func (*OperatingHour) MarshalBinary ¶
func (m *OperatingHour) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperatingHour) UnmarshalBinary ¶
func (m *OperatingHour) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperatingHours ¶
type OperatingHours []*OperatingHour
OperatingHours A list of Operating Hours.
swagger:model OperatingHours
func (OperatingHours) ContextValidate ¶
ContextValidate validate this operating hours based on the context it is used
type OperatingHoursByDay ¶
type OperatingHoursByDay struct { // friday Friday OperatingHours `json:"friday,omitempty"` // monday Monday OperatingHours `json:"monday,omitempty"` // saturday Saturday OperatingHours `json:"saturday,omitempty"` // sunday Sunday OperatingHours `json:"sunday,omitempty"` // thursday Thursday OperatingHours `json:"thursday,omitempty"` // tuesday Tuesday OperatingHours `json:"tuesday,omitempty"` // wednesday Wednesday OperatingHours `json:"wednesday,omitempty"` }
OperatingHoursByDay The operating hours per day
swagger:model OperatingHoursByDay
func (*OperatingHoursByDay) ContextValidate ¶
ContextValidate validate this operating hours by day based on the context it is used
func (*OperatingHoursByDay) MarshalBinary ¶
func (m *OperatingHoursByDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperatingHoursByDay) UnmarshalBinary ¶
func (m *OperatingHoursByDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperationalConfiguration ¶
type OperationalConfiguration struct { // contact details ContactDetails *ContactDetails `json:"contactDetails,omitempty"` // handling time HandlingTime *Duration `json:"handlingTime,omitempty"` // operating hours by day OperatingHoursByDay *OperatingHoursByDay `json:"operatingHoursByDay,omitempty"` // throughput config ThroughputConfig *ThroughputConfig `json:"throughputConfig,omitempty"` }
OperationalConfiguration The operational configuration of `supplySources`.
swagger:model OperationalConfiguration
func (*OperationalConfiguration) ContextValidate ¶
func (m *OperationalConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this operational configuration based on the context it is used
func (*OperationalConfiguration) MarshalBinary ¶
func (m *OperationalConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperationalConfiguration) UnmarshalBinary ¶
func (m *OperationalConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OutboundCapability ¶
type OutboundCapability struct { // delivery channel DeliveryChannel *DeliveryChannel `json:"deliveryChannel,omitempty"` // is supported IsSupported bool `json:"isSupported,omitempty"` // operational configuration OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` // pickup channel PickupChannel *PickupChannel `json:"pickupChannel,omitempty"` // return location ReturnLocation *ReturnLocation `json:"returnLocation,omitempty"` }
OutboundCapability The outbound capability of a supply source.
swagger:model OutboundCapability
func (*OutboundCapability) ContextValidate ¶
ContextValidate validate this outbound capability based on the context it is used
func (*OutboundCapability) MarshalBinary ¶
func (m *OutboundCapability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OutboundCapability) UnmarshalBinary ¶
func (m *OutboundCapability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ParkingConfiguration ¶
type ParkingConfiguration struct { // The number of parking spots. NumberOfParkingSpots *NonNegativeInteger `json:"numberOfParkingSpots,omitempty"` // The type of cost at parking location. ParkingCostType ParkingCostType `json:"parkingCostType,omitempty"` // The type of parking spot identification used at parking location. ParkingSpotIdentificationType ParkingSpotIdentificationType `json:"parkingSpotIdentificationType,omitempty"` }
ParkingConfiguration The parking configuration.
swagger:model ParkingConfiguration
func (*ParkingConfiguration) ContextValidate ¶
ContextValidate validate this parking configuration based on the context it is used
func (*ParkingConfiguration) MarshalBinary ¶
func (m *ParkingConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ParkingConfiguration) UnmarshalBinary ¶
func (m *ParkingConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ParkingCostType ¶
type ParkingCostType string
ParkingCostType The parking cost type.
swagger:model ParkingCostType
const ( // ParkingCostTypeFree captures enum value "Free" ParkingCostTypeFree ParkingCostType = "Free" // ParkingCostTypeOther captures enum value "Other" ParkingCostTypeOther ParkingCostType = "Other" )
func NewParkingCostType ¶
func NewParkingCostType(value ParkingCostType) *ParkingCostType
func (ParkingCostType) ContextValidate ¶
ContextValidate validates this parking cost type based on context it is used
func (ParkingCostType) Pointer ¶
func (m ParkingCostType) Pointer() *ParkingCostType
Pointer returns a pointer to a freshly-allocated ParkingCostType.
type ParkingSpotIdentificationType ¶
type ParkingSpotIdentificationType string
ParkingSpotIdentificationType The type of parking spot identification.
swagger:model ParkingSpotIdentificationType
const ( // ParkingSpotIdentificationTypeNumbered captures enum value "Numbered" ParkingSpotIdentificationTypeNumbered ParkingSpotIdentificationType = "Numbered" // ParkingSpotIdentificationTypeOther captures enum value "Other" ParkingSpotIdentificationTypeOther ParkingSpotIdentificationType = "Other" )
func NewParkingSpotIdentificationType ¶
func NewParkingSpotIdentificationType(value ParkingSpotIdentificationType) *ParkingSpotIdentificationType
func (ParkingSpotIdentificationType) ContextValidate ¶
func (m ParkingSpotIdentificationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this parking spot identification type based on context it is used
func (ParkingSpotIdentificationType) Pointer ¶
func (m ParkingSpotIdentificationType) Pointer() *ParkingSpotIdentificationType
Pointer returns a pointer to a freshly-allocated ParkingSpotIdentificationType.
type ParkingWithAddressConfiguration ¶
type ParkingWithAddressConfiguration struct { ParkingConfiguration // The address of the parking location. Address *Address `json:"address,omitempty"` }
ParkingWithAddressConfiguration The parking configuration with the address.
swagger:model ParkingWithAddressConfiguration
func (*ParkingWithAddressConfiguration) ContextValidate ¶
func (m *ParkingWithAddressConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this parking with address configuration based on the context it is used
func (*ParkingWithAddressConfiguration) MarshalBinary ¶
func (m *ParkingWithAddressConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ParkingWithAddressConfiguration) MarshalJSON ¶
func (m ParkingWithAddressConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ParkingWithAddressConfiguration) UnmarshalBinary ¶
func (m *ParkingWithAddressConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ParkingWithAddressConfiguration) UnmarshalJSON ¶
func (m *ParkingWithAddressConfiguration) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PickupChannel ¶
type PickupChannel struct { // The configuration for supporting curbside pickup. CurbsidePickupConfiguration *CurbsidePickupConfiguration `json:"curbsidePickupConfiguration,omitempty"` // The configuration for supporting in-store pickup. InStorePickupConfiguration *InStorePickupConfiguration `json:"inStorePickupConfiguration,omitempty"` // inventory hold period InventoryHoldPeriod *Duration `json:"inventoryHoldPeriod,omitempty"` // is supported IsSupported bool `json:"isSupported,omitempty"` // operational configuration OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` }
PickupChannel The pick up channel of a supply source.
swagger:model PickupChannel
func (*PickupChannel) ContextValidate ¶
ContextValidate validate this pickup channel based on the context it is used
func (*PickupChannel) MarshalBinary ¶
func (m *PickupChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PickupChannel) UnmarshalBinary ¶
func (m *PickupChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReturnLocation ¶
type ReturnLocation struct { // address with contact AddressWithContact *AddressWithContact `json:"addressWithContact,omitempty"` // The Amazon provided `supplySourceId` where orders can be returned to. SupplySourceID string `json:"supplySourceId,omitempty"` }
ReturnLocation The address or reference to another `supplySourceId` to act as a return location.
swagger:model ReturnLocation
func (*ReturnLocation) ContextValidate ¶
ContextValidate validate this return location based on the context it is used
func (*ReturnLocation) MarshalBinary ¶
func (m *ReturnLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReturnLocation) UnmarshalBinary ¶
func (m *ReturnLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicesCapability ¶
type ServicesCapability struct { // When true, `SupplySource` supports the Service capability. IsSupported bool `json:"isSupported,omitempty"` // operational configuration OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` }
ServicesCapability The services capability of a supply source.
swagger:model ServicesCapability
func (*ServicesCapability) ContextValidate ¶
ContextValidate validate this services capability based on the context it is used
func (*ServicesCapability) MarshalBinary ¶
func (m *ServicesCapability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicesCapability) UnmarshalBinary ¶
func (m *ServicesCapability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupplySource ¶
type SupplySource struct { // address Address *Address `json:"address,omitempty"` // alias Alias SupplySourceAlias `json:"alias,omitempty"` // capabilities Capabilities *SupplySourceCapabilities `json:"capabilities,omitempty"` // configuration Configuration *SupplySourceConfiguration `json:"configuration,omitempty"` // created at CreatedAt DateTime `json:"createdAt,omitempty"` // status Status SupplySourceStatusReadOnly `json:"status,omitempty"` // supply source code SupplySourceCode SupplySourceCode `json:"supplySourceCode,omitempty"` // supply source Id SupplySourceID SupplySourceID `json:"supplySourceId,omitempty"` // updated at UpdatedAt DateTime `json:"updatedAt,omitempty"` }
SupplySource The supply source details, including configurations and capabilities.
swagger:model SupplySource
func (*SupplySource) ContextValidate ¶
ContextValidate validate this supply source based on the context it is used
func (*SupplySource) MarshalBinary ¶
func (m *SupplySource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupplySource) UnmarshalBinary ¶
func (m *SupplySource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupplySourceAlias ¶
type SupplySourceAlias string
SupplySourceAlias The custom alias for this supply source
swagger:model SupplySourceAlias
func (SupplySourceAlias) ContextValidate ¶
ContextValidate validates this supply source alias based on context it is used
type SupplySourceCapabilities ¶
type SupplySourceCapabilities struct { // outbound Outbound *OutboundCapability `json:"outbound,omitempty"` // services Services *ServicesCapability `json:"services,omitempty"` }
SupplySourceCapabilities The capabilities of a supply source.
swagger:model SupplySourceCapabilities
func (*SupplySourceCapabilities) ContextValidate ¶
func (m *SupplySourceCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this supply source capabilities based on the context it is used
func (*SupplySourceCapabilities) MarshalBinary ¶
func (m *SupplySourceCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupplySourceCapabilities) UnmarshalBinary ¶
func (m *SupplySourceCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupplySourceCode ¶
type SupplySourceCode string
SupplySourceCode The seller-provided unique supply source code.
swagger:model SupplySourceCode
func (SupplySourceCode) ContextValidate ¶
ContextValidate validates this supply source code based on context it is used
type SupplySourceConfiguration ¶
type SupplySourceConfiguration struct { // operational configuration OperationalConfiguration *OperationalConfiguration `json:"operationalConfiguration,omitempty"` // Please see RFC 6557, should be a canonical time zone ID as listed here: https://www.joda.org/joda-time/timezones.html. Timezone string `json:"timezone,omitempty"` }
SupplySourceConfiguration Includes configuration and timezone of a supply source.
swagger:model SupplySourceConfiguration
func (*SupplySourceConfiguration) ContextValidate ¶
func (m *SupplySourceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this supply source configuration based on the context it is used
func (*SupplySourceConfiguration) MarshalBinary ¶
func (m *SupplySourceConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupplySourceConfiguration) UnmarshalBinary ¶
func (m *SupplySourceConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupplySourceID ¶
type SupplySourceID string
SupplySourceID An Amazon generated unique supply source ID.
swagger:model SupplySourceId
func (SupplySourceID) ContextValidate ¶
ContextValidate validates this supply source Id based on context it is used
type SupplySourceList ¶
type SupplySourceList []*SupplySourceListItems0
SupplySourceList The list of `SupplySource`s.
swagger:model SupplySourceList
func (SupplySourceList) ContextValidate ¶
ContextValidate validate this supply source list based on the context it is used
type SupplySourceListItems0 ¶
type SupplySourceListItems0 struct { // address Address *Address `json:"address,omitempty"` // alias Alias SupplySourceAlias `json:"alias,omitempty"` // supply source code SupplySourceCode SupplySourceCode `json:"supplySourceCode,omitempty"` // supply source Id SupplySourceID SupplySourceID `json:"supplySourceId,omitempty"` }
SupplySourceListItems0 supply source list items0
swagger:model SupplySourceListItems0
func (*SupplySourceListItems0) ContextValidate ¶
func (m *SupplySourceListItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this supply source list items0 based on the context it is used
func (*SupplySourceListItems0) MarshalBinary ¶
func (m *SupplySourceListItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SupplySourceListItems0) UnmarshalBinary ¶
func (m *SupplySourceListItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupplySourceStatus ¶
type SupplySourceStatus string
SupplySourceStatus The `SupplySource` status
swagger:model SupplySourceStatus
const ( // SupplySourceStatusActive captures enum value "Active" SupplySourceStatusActive SupplySourceStatus = "Active" // SupplySourceStatusInactive captures enum value "Inactive" SupplySourceStatusInactive SupplySourceStatus = "Inactive" )
func NewSupplySourceStatus ¶
func NewSupplySourceStatus(value SupplySourceStatus) *SupplySourceStatus
func (SupplySourceStatus) ContextValidate ¶
ContextValidate validates this supply source status based on context it is used
func (SupplySourceStatus) Pointer ¶
func (m SupplySourceStatus) Pointer() *SupplySourceStatus
Pointer returns a pointer to a freshly-allocated SupplySourceStatus.
type SupplySourceStatusReadOnly ¶
type SupplySourceStatusReadOnly string
SupplySourceStatusReadOnly The `SupplySource` status.
swagger:model SupplySourceStatusReadOnly
const ( // SupplySourceStatusReadOnlyActive captures enum value "Active" SupplySourceStatusReadOnlyActive SupplySourceStatusReadOnly = "Active" // SupplySourceStatusReadOnlyInactive captures enum value "Inactive" SupplySourceStatusReadOnlyInactive SupplySourceStatusReadOnly = "Inactive" // SupplySourceStatusReadOnlyArchived captures enum value "Archived" SupplySourceStatusReadOnlyArchived SupplySourceStatusReadOnly = "Archived" )
func NewSupplySourceStatusReadOnly ¶
func NewSupplySourceStatusReadOnly(value SupplySourceStatusReadOnly) *SupplySourceStatusReadOnly
func (SupplySourceStatusReadOnly) ContextValidate ¶
func (m SupplySourceStatusReadOnly) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this supply source status read only based on context it is used
func (SupplySourceStatusReadOnly) Pointer ¶
func (m SupplySourceStatusReadOnly) Pointer() *SupplySourceStatusReadOnly
Pointer returns a pointer to a freshly-allocated SupplySourceStatusReadOnly.
type ThroughputCap ¶
type ThroughputCap struct { // time unit TimeUnit TimeUnit `json:"timeUnit,omitempty"` // value Value *NonNegativeInteger `json:"value,omitempty"` }
ThroughputCap The throughput capacity
swagger:model ThroughputCap
func (*ThroughputCap) ContextValidate ¶
ContextValidate validate this throughput cap based on the context it is used
func (*ThroughputCap) MarshalBinary ¶
func (m *ThroughputCap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThroughputCap) UnmarshalBinary ¶
func (m *ThroughputCap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThroughputConfig ¶
type ThroughputConfig struct { // throughput cap ThroughputCap *ThroughputCap `json:"throughputCap,omitempty"` // throughput unit // Required: true ThroughputUnit *ThroughputUnit `json:"throughputUnit"` }
ThroughputConfig The throughput configuration.
swagger:model ThroughputConfig
func (*ThroughputConfig) ContextValidate ¶
ContextValidate validate this throughput config based on the context it is used
func (*ThroughputConfig) MarshalBinary ¶
func (m *ThroughputConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThroughputConfig) UnmarshalBinary ¶
func (m *ThroughputConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThroughputUnit ¶
type ThroughputUnit string
ThroughputUnit The throughput unit
swagger:model ThroughputUnit
const ( // ThroughputUnitOrder captures enum value "Order" ThroughputUnitOrder ThroughputUnit = "Order" )
func NewThroughputUnit ¶
func NewThroughputUnit(value ThroughputUnit) *ThroughputUnit
func (ThroughputUnit) ContextValidate ¶
ContextValidate validates this throughput unit based on context it is used
func (ThroughputUnit) Pointer ¶
func (m ThroughputUnit) Pointer() *ThroughputUnit
Pointer returns a pointer to a freshly-allocated ThroughputUnit.
type TimeUnit ¶
type TimeUnit string
TimeUnit The time unit
swagger:model TimeUnit
func NewTimeUnit ¶
func (TimeUnit) ContextValidate ¶
ContextValidate validates this time unit based on context it is used
type UpdateSupplySourceRequest ¶
type UpdateSupplySourceRequest struct { // alias Alias SupplySourceAlias `json:"alias,omitempty"` // capabilities Capabilities *SupplySourceCapabilities `json:"capabilities,omitempty"` // configuration Configuration *SupplySourceConfiguration `json:"configuration,omitempty"` }
UpdateSupplySourceRequest A request to update the configuration and capabilities of a supply source.
swagger:model UpdateSupplySourceRequest
func (*UpdateSupplySourceRequest) ContextValidate ¶
func (m *UpdateSupplySourceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update supply source request based on the context it is used
func (*UpdateSupplySourceRequest) MarshalBinary ¶
func (m *UpdateSupplySourceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSupplySourceRequest) UnmarshalBinary ¶
func (m *UpdateSupplySourceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateSupplySourceStatusRequest ¶
type UpdateSupplySourceStatusRequest struct { // status Status SupplySourceStatus `json:"status,omitempty"` }
UpdateSupplySourceStatusRequest A request to update the status of a supply source.
swagger:model UpdateSupplySourceStatusRequest
func (*UpdateSupplySourceStatusRequest) ContextValidate ¶
func (m *UpdateSupplySourceStatusRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update supply source status request based on the context it is used
func (*UpdateSupplySourceStatusRequest) MarshalBinary ¶
func (m *UpdateSupplySourceStatusRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSupplySourceStatusRequest) UnmarshalBinary ¶
func (m *UpdateSupplySourceStatusRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- address.go
- address_with_contact.go
- contact_details.go
- create_supply_source_request.go
- create_supply_source_response.go
- curbside_pickup_configuration.go
- date_time.go
- delivery_channel.go
- duration.go
- email_address.go
- error.go
- error_list.go
- get_supply_sources_response.go
- in_store_pickup_configuration.go
- non_negative_integer.go
- operating_hour.go
- operating_hours.go
- operating_hours_by_day.go
- operational_configuration.go
- outbound_capability.go
- parking_configuration.go
- parking_cost_type.go
- parking_spot_identification_type.go
- parking_with_address_configuration.go
- pickup_channel.go
- return_location.go
- services_capability.go
- supply_source.go
- supply_source_alias.go
- supply_source_capabilities.go
- supply_source_code.go
- supply_source_configuration.go
- supply_source_id.go
- supply_source_list.go
- supply_source_status.go
- supply_source_status_read_only.go
- throughput_cap.go
- throughput_config.go
- throughput_unit.go
- time_unit.go
- update_supply_source_request.go
- update_supply_source_status_request.go