Documentation ¶
Index ¶
- type AgreementRef
- type ChangeQuoteStateResponse
- type ChangelQuoteStateRequest
- type ChargePeriod
- type Describing
- type Duration
- type DurationUnit
- type ErrorRepresentation
- type FieldedAddress
- func (m *FieldedAddress) AtType() string
- func (m *FieldedAddress) Href() string
- func (m *FieldedAddress) ID() string
- func (m *FieldedAddress) MarshalBinary() ([]byte, error)
- func (m FieldedAddress) MarshalJSON() ([]byte, error)
- func (m *FieldedAddress) Role() *string
- func (m *FieldedAddress) SetAtType(val string)
- func (m *FieldedAddress) SetHref(val string)
- func (m *FieldedAddress) SetID(val string)
- func (m *FieldedAddress) SetRole(val *string)
- func (m *FieldedAddress) UnmarshalBinary(b []byte) error
- func (m *FieldedAddress) UnmarshalJSON(raw []byte) error
- func (m *FieldedAddress) Validate(formats strfmt.Registry) error
- type FormattedAddress
- func (m *FormattedAddress) AtType() string
- func (m *FormattedAddress) Href() string
- func (m *FormattedAddress) ID() string
- func (m *FormattedAddress) MarshalBinary() ([]byte, error)
- func (m FormattedAddress) MarshalJSON() ([]byte, error)
- func (m *FormattedAddress) Role() *string
- func (m *FormattedAddress) SetAtType(val string)
- func (m *FormattedAddress) SetHref(val string)
- func (m *FormattedAddress) SetID(val string)
- func (m *FormattedAddress) SetRole(val *string)
- func (m *FormattedAddress) UnmarshalBinary(b []byte) error
- func (m *FormattedAddress) UnmarshalJSON(raw []byte) error
- func (m *FormattedAddress) Validate(formats strfmt.Registry) error
- type GeographicLocation
- func (m *GeographicLocation) AtType() string
- func (m *GeographicLocation) Href() string
- func (m *GeographicLocation) ID() string
- func (m *GeographicLocation) MarshalBinary() ([]byte, error)
- func (m GeographicLocation) MarshalJSON() ([]byte, error)
- func (m *GeographicLocation) Role() *string
- func (m *GeographicLocation) SetAtType(val string)
- func (m *GeographicLocation) SetHref(val string)
- func (m *GeographicLocation) SetID(val string)
- func (m *GeographicLocation) SetRole(val *string)
- func (m *GeographicLocation) UnmarshalBinary(b []byte) error
- func (m *GeographicLocation) UnmarshalJSON(raw []byte) error
- func (m *GeographicLocation) Validate(formats strfmt.Registry) error
- type GeographicPoint
- type GeographicSubAddress
- type Hub
- type HubInput
- type ItemTerm
- type Money
- type Note
- type Price
- type PriceRange
- type PriceType
- type Product
- func (m *Product) MarshalBinary() ([]byte, error)
- func (m Product) MarshalJSON() ([]byte, error)
- func (m *Product) Place() []RelatedPlaceRefOrValue
- func (m *Product) SetPlace(val []RelatedPlaceRefOrValue)
- func (m *Product) UnmarshalBinary(b []byte) error
- func (m *Product) UnmarshalJSON(raw []byte) error
- func (m *Product) Validate(formats strfmt.Registry) error
- type ProductActionType
- type ProductOfferingQualificationRef
- type ProductOfferingRef
- type ProductRef
- type ProductRelationship
- type ProductSpecificationRef
- func (m *ProductSpecificationRef) Describing() Describing
- func (m *ProductSpecificationRef) MarshalBinary() ([]byte, error)
- func (m ProductSpecificationRef) MarshalJSON() ([]byte, error)
- func (m *ProductSpecificationRef) SetDescribing(val Describing)
- func (m *ProductSpecificationRef) UnmarshalBinary(b []byte) error
- func (m *ProductSpecificationRef) UnmarshalJSON(raw []byte) error
- func (m *ProductSpecificationRef) Validate(formats strfmt.Registry) error
- type Quote
- type QuoteChangeState
- type QuoteCreate
- type QuoteFind
- type QuoteItem
- type QuoteItemCreate
- type QuoteItemRelationship
- type QuoteItemStateType
- type QuoteLevel
- type QuotePrice
- type QuoteStateType
- type ReferencedAddress
- func (m *ReferencedAddress) AtType() string
- func (m *ReferencedAddress) Href() string
- func (m *ReferencedAddress) ID() string
- func (m *ReferencedAddress) MarshalBinary() ([]byte, error)
- func (m ReferencedAddress) MarshalJSON() ([]byte, error)
- func (m *ReferencedAddress) Role() *string
- func (m *ReferencedAddress) SetAtType(val string)
- func (m *ReferencedAddress) SetHref(val string)
- func (m *ReferencedAddress) SetID(val string)
- func (m *ReferencedAddress) SetRole(val *string)
- func (m *ReferencedAddress) UnmarshalBinary(b []byte) error
- func (m *ReferencedAddress) UnmarshalJSON(raw []byte) error
- func (m *ReferencedAddress) Validate(formats strfmt.Registry) error
- type RelatedParty
- type RelatedPlaceRefOrValue
- type RelationshipType
- type SubUnit
- type TimePeriod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgreementRef ¶
type AgreementRef struct { // Reference of the agreement Href string `json:"href,omitempty"` // Id of the agreement // Required: true ID *string `json:"id"` // Name of the agreement // Required: true Name *string `json:"name"` // A URI/URL providing the path to where an agreement resides. // Required: true Path *string `json:"path"` }
AgreementRef An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
swagger:model AgreementRef
func (*AgreementRef) MarshalBinary ¶
func (m *AgreementRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgreementRef) UnmarshalBinary ¶
func (m *AgreementRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeQuoteStateResponse ¶
type ChangeQuoteStateResponse struct { // External Id of the quote (buyer quote id). If provided by seller this information is send back in the response. ExternalID string `json:"externalId,omitempty"` // id of the quote to be cancelled // Required: true ID *string `json:"id"` // Cancellation or rejection date (effective) // Required: true // Format: date-time QuoteEffectiveStateChangeDate *strfmt.DateTime `json:"quoteEffectiveStateChangeDate"` // state // Required: true State QuoteStateType `json:"state"` }
ChangeQuoteStateResponse Structure to response for a quote cancellation/rejection request
swagger:model ChangeQuoteStateResponse
func (*ChangeQuoteStateResponse) MarshalBinary ¶
func (m *ChangeQuoteStateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQuoteStateResponse) UnmarshalBinary ¶
func (m *ChangeQuoteStateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangelQuoteStateRequest ¶
type ChangelQuoteStateRequest struct { // External Id of the quote (buyer quote id). If provided seller will check consistence. ExternalID string `json:"externalId,omitempty"` // id of the quote to be cancelled // Required: true ID *string `json:"id"` // Cancellation reason // Required: true QuoteChangeStateReason *string `json:"quoteChangeStateReason"` // state // Required: true State QuoteChangeState `json:"state"` }
ChangelQuoteStateRequest Structure used to request quote cancellation/rejection
swagger:model ChangelQuoteStateRequest
func (*ChangelQuoteStateRequest) MarshalBinary ¶
func (m *ChangelQuoteStateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangelQuoteStateRequest) UnmarshalBinary ¶
func (m *ChangelQuoteStateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChargePeriod ¶
type ChargePeriod string
ChargePeriod Charge period for recurring charge
swagger:model ChargePeriod
const ( // ChargePeriodDAY captures enum value "DAY" ChargePeriodDAY ChargePeriod = "DAY" // ChargePeriodWEEK captures enum value "WEEK" ChargePeriodWEEK ChargePeriod = "WEEK" // ChargePeriodMONTH captures enum value "MONTH" ChargePeriodMONTH ChargePeriod = "MONTH" // ChargePeriodYEAR captures enum value "YEAR" ChargePeriodYEAR ChargePeriod = "YEAR" )
type Describing ¶
type Describing interface { runtime.Validatable // This field provided a link to the schema describing this REST resource. AtSchemaLocation() string SetAtSchemaLocation(string) // Indicates the (class) type of resource AtType() string SetAtType(string) }
Describing Target to the schema describing the product spec resource (and type)
swagger:discriminator Describing @type
func UnmarshalDescribing ¶
UnmarshalDescribing unmarshals polymorphic Describing
func UnmarshalDescribingSlice ¶
UnmarshalDescribingSlice unmarshals polymorphic slices of Describing
type Duration ¶
type Duration struct { // unit // Required: true Unit DurationUnit `json:"unit"` // value of the duration // Required: true Value *int32 `json:"value"` }
Duration To describe a duration (period of time) with a value and an unit (day, month, etc...)
swagger:model Duration
func (*Duration) MarshalBinary ¶
MarshalBinary interface implementation
func (*Duration) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DurationUnit ¶
type DurationUnit string
DurationUnit duration unit
swagger:model DurationUnit
const ( // DurationUnitDAY captures enum value "DAY" DurationUnitDAY DurationUnit = "DAY" // DurationUnitWEEK captures enum value "WEEK" DurationUnitWEEK DurationUnit = "WEEK" // DurationUnitMONTH captures enum value "MONTH" DurationUnitMONTH DurationUnit = "MONTH" // DurationUnitYEAR captures enum value "YEAR" DurationUnitYEAR DurationUnit = "YEAR" )
type ErrorRepresentation ¶
type ErrorRepresentation struct { // Link to the schema describing the REST resource // Used to extend Error class AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Type of the REST resource // Used to extend Error class AtType string `json:"@type,omitempty"` // Application related code (as defined in the API or from a common list) // Required: true Code *int32 `json:"code"` // Text that provide mode details and corrective actions related to the error. This can be shown to a client user. Message string `json:"message,omitempty"` // Text that explains the reason for error. This can be shown to a client user. // Required: true Reason *string `json:"reason"` // url pointing to documentation describing the error ReferenceError string `json:"referenceError,omitempty"` // Http error code extension like 400-2 for example Status string `json:"status,omitempty"` }
ErrorRepresentation Standard Class used to describe API response error
swagger:model ErrorRepresentation
func (*ErrorRepresentation) MarshalBinary ¶
func (m *ErrorRepresentation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorRepresentation) UnmarshalBinary ¶
func (m *ErrorRepresentation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldedAddress ¶
type FieldedAddress struct { // The city that the address is in // Required: true City *string `json:"city"` // Country that the address is in // Required: true Country *string `json:"country"` // geographic sub address GeographicSubAddress *GeographicSubAddress `json:"geographicSubAddress,omitempty"` // The locality that the address is in Locality string `json:"locality,omitempty"` // Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as zipcode) // Required: true Postcode *string `json:"postcode"` // An extension of a postal code. E.g. the part following the dash in an american urban property address PostcodeExtension string `json:"postcodeExtension,omitempty"` // The State or Province that the address is in // Required: true StateOrProvince *string `json:"stateOrProvince"` // Name of the street or other street type StreetName string `json:"streetName,omitempty"` // Number identifying a specific property on a public street. It may be combined with streetNrLast for ranged addresses StreetNr string `json:"streetNr,omitempty"` // Last number in a range of street numbers allocated to a property StreetNrLast string `json:"streetNrLast,omitempty"` // Last street number suffix for a ranged address StreetNrLastSuffix string `json:"streetNrLastSuffix,omitempty"` // The first street number suffix StreetNrSuffix string `json:"streetNrSuffix,omitempty"` // A modifier denoting a relative direction StreetSuffix string `json:"streetSuffix,omitempty"` // Alley, avenue, boulevard, brae, crescent, drive, highway, lane, terrace, parade, place, tarn, way, wharf // Required: true StreetType *string `json:"streetType"` // contains filtered or unexported fields }
FieldedAddress A type of Address that has a discrete field and value for each type of boundary or identifier down to the lowest level of detail. For example “street number” is one field, “street name” is another field, etc.
swagger:model FieldedAddress
func (*FieldedAddress) AtType ¶
func (m *FieldedAddress) AtType() string
AtType gets the at type of this subtype
func (*FieldedAddress) Href ¶
func (m *FieldedAddress) Href() string
Href gets the href of this subtype
func (*FieldedAddress) MarshalBinary ¶
func (m *FieldedAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FieldedAddress) MarshalJSON ¶
func (m FieldedAddress) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*FieldedAddress) Role ¶
func (m *FieldedAddress) Role() *string
Role gets the role of this subtype
func (*FieldedAddress) SetAtType ¶
func (m *FieldedAddress) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*FieldedAddress) SetHref ¶
func (m *FieldedAddress) SetHref(val string)
SetHref sets the href of this subtype
func (*FieldedAddress) SetID ¶
func (m *FieldedAddress) SetID(val string)
SetID sets the id of this subtype
func (*FieldedAddress) SetRole ¶
func (m *FieldedAddress) SetRole(val *string)
SetRole sets the role of this subtype
func (*FieldedAddress) UnmarshalBinary ¶
func (m *FieldedAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FieldedAddress) UnmarshalJSON ¶
func (m *FieldedAddress) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type FormattedAddress ¶
type FormattedAddress struct { // The first address line in a formatted address // Required: true AddrLine1 *string `json:"addrLine1"` // The second address line in a formatted address AddrLine2 string `json:"addrLine2,omitempty"` // The city that the address is in // Required: true City *string `json:"city"` // Country that the address is in // Required: true Country *string `json:"country"` // An area of defined or undefined boundaries within a local authority or other legislatively defined area, usually rural or semi rural in nature Locality string `json:"locality,omitempty"` // Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as ZIP code) // Required: true Postcode *string `json:"postcode"` // An extension of a postal code. E.g. the part following the dash in an American urban property address PostcodeExtension string `json:"postcodeExtension,omitempty"` // The State or Province that the address is in // Required: true StateOrProvince *string `json:"stateOrProvince"` // contains filtered or unexported fields }
FormattedAddress A type of Address that has discrete fields for each type of boundary or identifier with the exception of street and more specific location details, which are combined into a maximum of two strings based on local postal addressing conventions.
swagger:model FormattedAddress
func (*FormattedAddress) AtType ¶
func (m *FormattedAddress) AtType() string
AtType gets the at type of this subtype
func (*FormattedAddress) Href ¶
func (m *FormattedAddress) Href() string
Href gets the href of this subtype
func (*FormattedAddress) MarshalBinary ¶
func (m *FormattedAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (FormattedAddress) MarshalJSON ¶
func (m FormattedAddress) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*FormattedAddress) Role ¶
func (m *FormattedAddress) Role() *string
Role gets the role of this subtype
func (*FormattedAddress) SetAtType ¶
func (m *FormattedAddress) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*FormattedAddress) SetHref ¶
func (m *FormattedAddress) SetHref(val string)
SetHref sets the href of this subtype
func (*FormattedAddress) SetID ¶
func (m *FormattedAddress) SetID(val string)
SetID sets the id of this subtype
func (*FormattedAddress) SetRole ¶
func (m *FormattedAddress) SetRole(val *string)
SetRole sets the role of this subtype
func (*FormattedAddress) UnmarshalBinary ¶
func (m *FormattedAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*FormattedAddress) UnmarshalJSON ¶
func (m *FormattedAddress) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type GeographicLocation ¶
type GeographicLocation struct { // geographic point // Required: true GeographicPoint *GeographicPoint `json:"geographicPoint"` // The spatial reference system used to determine the coordinates // Required: true SpatialRef *string `json:"spatialRef"` // contains filtered or unexported fields }
GeographicLocation A set of coordinates (typically including latitude and longitude) that describes a particular loca-tion on earth.
swagger:model GeographicLocation
func (*GeographicLocation) AtType ¶
func (m *GeographicLocation) AtType() string
AtType gets the at type of this subtype
func (*GeographicLocation) Href ¶
func (m *GeographicLocation) Href() string
Href gets the href of this subtype
func (*GeographicLocation) ID ¶
func (m *GeographicLocation) ID() string
ID gets the id of this subtype
func (*GeographicLocation) MarshalBinary ¶
func (m *GeographicLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GeographicLocation) MarshalJSON ¶
func (m GeographicLocation) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*GeographicLocation) Role ¶
func (m *GeographicLocation) Role() *string
Role gets the role of this subtype
func (*GeographicLocation) SetAtType ¶
func (m *GeographicLocation) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*GeographicLocation) SetHref ¶
func (m *GeographicLocation) SetHref(val string)
SetHref sets the href of this subtype
func (*GeographicLocation) SetID ¶
func (m *GeographicLocation) SetID(val string)
SetID sets the id of this subtype
func (*GeographicLocation) SetRole ¶
func (m *GeographicLocation) SetRole(val *string)
SetRole sets the role of this subtype
func (*GeographicLocation) UnmarshalBinary ¶
func (m *GeographicLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GeographicLocation) UnmarshalJSON ¶
func (m *GeographicLocation) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type GeographicPoint ¶
type GeographicPoint struct { // The latitude expressed in decimal degrees format // Required: true Latitude *string `json:"latitude"` // The longitude expressed in decimal degrees format // Required: true Longitude *string `json:"longitude"` }
GeographicPoint geographic point
swagger:model GeographicPoint
func (*GeographicPoint) MarshalBinary ¶
func (m *GeographicPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeographicPoint) UnmarshalBinary ¶
func (m *GeographicPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GeographicSubAddress ¶
type GeographicSubAddress struct { // Technical attribute to exend this class if needed (JSON schema locator) AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Technical attribute to exend this class if needed AtType string `json:"@type,omitempty"` // Allows for buildings that have well-known names BuildingName string `json:"buildingName,omitempty"` // Unique Identifier of the subAddress ID string `json:"id,omitempty"` // Used where a level type may be repeated e.g. BASEMENT 1, BASEMENT 2 LevelNumber string `json:"levelNumber,omitempty"` // Describes level types within a building LevelType string `json:"levelType,omitempty"` // "Private streets internal to a property (e.g. a university) may have internal names that are not recorded by the land title office PrivateStreetName string `json:"privateStreetName,omitempty"` // Private streets numbers internal to a private street PrivateStreetNumber string `json:"privateStreetNumber,omitempty"` // sub unit SubUnit []*SubUnit `json:"subUnit"` }
GeographicSubAddress It is used for addressing within a property in an urban area (country properties are often defined differently). It may refer to a building, a building cluster, or a floor of a multistory building.
swagger:model GeographicSubAddress
func (*GeographicSubAddress) MarshalBinary ¶
func (m *GeographicSubAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeographicSubAddress) UnmarshalBinary ¶
func (m *GeographicSubAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Hub ¶
type Hub struct { // This attribute is the callback url where event will be sent when occurs, for instance an url http://yourdomain/listener/api/v1/event // Required: true Callback *string `json:"callback"` // Unique identifier of the hub // Required: true ID *string `json:"id"` // This attribute is used to define notification type. Example: ","query":”eventType = QuoteStateChangeNotification”} // Required: true Query *string `json:"query"` }
Hub This resource is used to manage notification subscription.
swagger:model Hub
func (*Hub) MarshalBinary ¶
MarshalBinary interface implementation
func (*Hub) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HubInput ¶
type HubInput struct { // This attribute is the callback url where event will be sent when occurs, for instance an url http://yourdomain/listener/api/v1/event // Required: true Callback *string `json:"callback"` // This attribute is used to define notification type. Example: ","query":”eventType = QuoteStateChangeNotification”} // Required: true Query *string `json:"query"` }
HubInput This class is used to request a HUB creation - Used in the POST operation.
swagger:model HubInput
func (*HubInput) MarshalBinary ¶
MarshalBinary interface implementation
func (*HubInput) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemTerm ¶
type ItemTerm struct { // Description of the term Description string `json:"description,omitempty"` // duration // Required: true Duration *Duration `json:"duration"` // Name of the term Name string `json:"name,omitempty"` }
ItemTerm Used to describe a term (also know as commitment) for a quote item
swagger:model ItemTerm
func (*ItemTerm) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemTerm) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Money ¶
type Money struct { // Currency (ISO4217 norm uses 3 letters to define the currency // Required: true Unit *string `json:"unit"` // A positive floating point number // Required: true Value *float32 `json:"value"` }
Money A base / value business entity used to represent money
swagger:model Money
func (*Money) MarshalBinary ¶
MarshalBinary interface implementation
func (*Money) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Note ¶
type Note struct { // Author of the note // Required: true Author *string `json:"author"` // Date of the note // Required: true // Format: date-time Date *strfmt.DateTime `json:"date"` // Text of the note // Required: true Text *string `json:"text"` }
Note Extra information about the quote.
swagger:model Note
func (*Note) MarshalBinary ¶
MarshalBinary interface implementation
func (*Note) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Price ¶
type Price struct { // Indicates the (class) type of the price AtType string `json:"@type,omitempty"` // pre tax amount PreTaxAmount *Money `json:"preTaxAmount,omitempty"` // price range PriceRange *PriceRange `json:"priceRange,omitempty"` }
Price Provides price amount (before tax) - Money structure is used
swagger:model Price
func (*Price) MarshalBinary ¶
MarshalBinary interface implementation
func (*Price) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PriceRange ¶
type PriceRange struct { // max pre tax amount // Required: true MaxPreTaxAmount *Money `json:"maxPreTaxAmount"` // min pre tax amount // Required: true MinPreTaxAmount *Money `json:"minPreTaxAmount"` }
PriceRange PriceRange class allows to describe a range of price (Min/Max) for budgetary or indicative quote.
swagger:model PriceRange
func (*PriceRange) MarshalBinary ¶
func (m *PriceRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PriceRange) UnmarshalBinary ¶
func (m *PriceRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PriceType ¶
type PriceType string
PriceType Price type (recurring or non-recurring)
swagger:model PriceType
type Product ¶
type Product struct { // Reference of the product (url) Href string `json:"href,omitempty"` // Unique identifier of the product // Required: true ID *string `json:"id"` // product relationship ProductRelationship []*ProductRelationship `json:"productRelationship"` // product specification ProductSpecification *ProductSpecificationRef `json:"productSpecification,omitempty"` // contains filtered or unexported fields }
Product One or more services sold to a Buyer by a Seller. A particular Product Offering defines the technical and commercial attributes and behav-iors of a Product.
swagger:model Product
func (*Product) MarshalBinary ¶
MarshalBinary interface implementation
func (Product) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*Product) Place ¶
func (m *Product) Place() []RelatedPlaceRefOrValue
Place gets the place of this base type
func (*Product) SetPlace ¶
func (m *Product) SetPlace(val []RelatedPlaceRefOrValue)
SetPlace sets the place of this base type
func (*Product) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Product) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type ProductActionType ¶
type ProductActionType string
ProductActionType Action to be performed on the product
swagger:model ProductActionType
const ( // ProductActionTypeINSTALL captures enum value "INSTALL" ProductActionTypeINSTALL ProductActionType = "INSTALL" // ProductActionTypeCHANGE captures enum value "CHANGE" ProductActionTypeCHANGE ProductActionType = "CHANGE" // ProductActionTypeDISCONNECT captures enum value "DISCONNECT" ProductActionTypeDISCONNECT ProductActionType = "DISCONNECT" // ProductActionTypeNOCHANGE captures enum value "NO_CHANGE" ProductActionTypeNOCHANGE ProductActionType = "NO_CHANGE" )
type ProductOfferingQualificationRef ¶
type ProductOfferingQualificationRef struct { // Technical attribute to extend this class AtReferredType string `json:"@referredType,omitempty"` // Link to the productOfferingQualification Href string `json:"href,omitempty"` // Id of the productOfferingQualification // Required: true ID *string `json:"id"` // Id of the item of the productOfferingQualification // Required: true QualificationItem *string `json:"qualificationItem"` }
ProductOfferingQualificationRef Reference to productOfferingQualification previously done to check requested product serviceability
swagger:model ProductOfferingQualificationRef
func (*ProductOfferingQualificationRef) MarshalBinary ¶
func (m *ProductOfferingQualificationRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProductOfferingQualificationRef) UnmarshalBinary ¶
func (m *ProductOfferingQualificationRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProductOfferingRef ¶
type ProductOfferingRef struct { // Unique identifier of the product offering // Required: true ID *string `json:"id"` }
ProductOfferingRef The commercial and technical details of a Product sold by a particular Seller. A Product Offering defines all of the commercial terms and, through association with a particular Product Specification, defines all the technical attributes and behaviors of the Product. A Product Offering may constrain the allowable set of configurable technical attributes and/or behaviors specified in the associated Product Specification
swagger:model ProductOfferingRef
func (*ProductOfferingRef) MarshalBinary ¶
func (m *ProductOfferingRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProductOfferingRef) UnmarshalBinary ¶
func (m *ProductOfferingRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProductRef ¶
type ProductRef struct { // Targeted Buyer product id - Informative BuyerProductID string `json:"buyerProductId,omitempty"` // Hyperlink to the product in the inventory Href string `json:"href,omitempty"` // Id of the product (in the inventory). Provided by the Seller. // Required: true ID *string `json:"id"` }
ProductRef Product reference to be used to describe relationship
swagger:model ProductRef
func (*ProductRef) MarshalBinary ¶
func (m *ProductRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProductRef) UnmarshalBinary ¶
func (m *ProductRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProductRelationship ¶
type ProductRelationship struct { // product // Required: true Product *ProductRef `json:"product"` // Indicates whether the product is "bundled", "relies on", or "comesFrom" another product. // Required: true Type *string `json:"type"` }
ProductRelationship Represents a relationship between products - which potentially holds an entire product object or a product reference (with partial content).
swagger:model ProductRelationship
func (*ProductRelationship) MarshalBinary ¶
func (m *ProductRelationship) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProductRelationship) UnmarshalBinary ¶
func (m *ProductRelationship) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProductSpecificationRef ¶
type ProductSpecificationRef struct { // Unique identifier of the product specification ID string `json:"id,omitempty"` // contains filtered or unexported fields }
ProductSpecificationRef A structured set of well-defined technical attributes and/or behaviors that are used to construct a Product Offering for sale to a market.
swagger:model ProductSpecificationRef
func (*ProductSpecificationRef) Describing ¶
func (m *ProductSpecificationRef) Describing() Describing
Describing gets the describing of this base type
func (*ProductSpecificationRef) MarshalBinary ¶
func (m *ProductSpecificationRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ProductSpecificationRef) MarshalJSON ¶
func (m ProductSpecificationRef) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ProductSpecificationRef) SetDescribing ¶
func (m *ProductSpecificationRef) SetDescribing(val Describing)
SetDescribing sets the describing of this base type
func (*ProductSpecificationRef) UnmarshalBinary ¶
func (m *ProductSpecificationRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ProductSpecificationRef) UnmarshalJSON ¶
func (m *ProductSpecificationRef) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type Quote ¶
type Quote struct { // Indicates the base (class) type of the quote. AtBaseType string `json:"@baseType,omitempty"` // Link to the schema describing the REST resource. AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Indicates the (class) type of the quote. AtType string `json:"@type,omitempty"` // agreement Agreement []*AgreementRef `json:"agreement"` // Description of the quote Description string `json:"description,omitempty"` // Date when the quoted was Cancelled or Rejected or Accepted // Format: date-time EffectiveQuoteCompletionDate strfmt.DateTime `json:"effectiveQuoteCompletionDate,omitempty"` // This is the date wished by the requester to have the requested quote item(s) delivered // Format: date ExpectedFulfillmentStartDate strfmt.Date `json:"expectedFulfillmentStartDate,omitempty"` // This is the date filled by the seller to indicate expected quote completion date. // Format: date ExpectedQuoteCompletionDate strfmt.Date `json:"expectedQuoteCompletionDate,omitempty"` // ID given by the consumer and only understandable by him (to facilitate his searches afterwards) ExternalID string `json:"externalId,omitempty"` // Hyperlink to access the quote Href string `json:"href,omitempty"` // Unique (within the quoting domain) identifier for the quote, as attributed by the quoting system ID string `json:"id,omitempty"` // If this flag is set to Yes, Buyer requests to have instant quoting to be provided in operation POST response // Required: true InstantSyncQuoting bool `json:"instantSyncQuoting"` // note Note []*Note `json:"note"` // This value MAY be assigned by the Buyer/Seller to identify a project the quoting request is associated with. ProjectID string `json:"projectId,omitempty"` // Date when the quote was created // Format: date-time QuoteDate strfmt.DateTime `json:"quoteDate,omitempty"` // quote item // Required: true QuoteItem []*QuoteItem `json:"quoteItem"` // quote level // Required: true QuoteLevel QuoteLevel `json:"quoteLevel"` // related party // Required: true RelatedParty []*RelatedParty `json:"relatedParty"` // This is the date wished by the requester to have the quote completed (meaning priced) // Required: true // Format: date-time RequestedQuoteCompletionDate *strfmt.DateTime `json:"requestedQuoteCompletionDate"` // state // Required: true State QuoteStateType `json:"state"` // valid for ValidFor *TimePeriod `json:"validFor,omitempty"` }
Quote A quote which can be used to negotiate service and product acquisition or modification between a customer and a service provider
swagger:model Quote
func (*Quote) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quote) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuoteChangeState ¶
type QuoteChangeState string
QuoteChangeState Quote state change 'request able' by buyer
swagger:model QuoteChangeState
const ( // QuoteChangeStateCANCELLED captures enum value "CANCELLED" QuoteChangeStateCANCELLED QuoteChangeState = "CANCELLED" // QuoteChangeStateREJECTED captures enum value "REJECTED" QuoteChangeStateREJECTED QuoteChangeState = "REJECTED" )
type QuoteCreate ¶
type QuoteCreate struct { // Indicates the base (class) type of the quote. AtBaseType string `json:"@baseType,omitempty"` // Link to the schema describing the REST resource. // Technical attribute to extend this class. AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Indicates the (class) type of the quote. // Technical attribute to extend this class. AtType string `json:"@type,omitempty"` // agreement Agreement []*AgreementRef `json:"agreement"` // Description of the quote Description string `json:"description,omitempty"` // This is the date wished by the requester to have the requested quote item(s) delivered // Format: date ExpectedFulfillmentStartDate strfmt.Date `json:"expectedFulfillmentStartDate,omitempty"` // ID given by the consumer and only understandable by him (to facilitate his searches afterwards) ExternalID string `json:"externalId,omitempty"` // If this flag is set to Yes, Buyer requests to have instant quoting to be provided in operation POST response InstantSyncQuoting *bool `json:"instantSyncQuoting,omitempty"` // note Note []*Note `json:"note"` // This value MAY be assigned by the Buyer/Seller to identify a project the quoting request is associated with. ProjectID string `json:"projectId,omitempty"` // quote item // Required: true QuoteItem []*QuoteItemCreate `json:"quoteItem"` // quote level QuoteLevel QuoteLevel `json:"quoteLevel,omitempty"` // related party // Required: true RelatedParty []*RelatedParty `json:"relatedParty"` // This is the date wished by the requester to have the quote completed (meaning priced). // This attribute is not considered when instantSyncQuoting is set to Yes. // Required: true // Format: date-time RequestedQuoteCompletionDate *strfmt.DateTime `json:"requestedQuoteCompletionDate"` }
QuoteCreate This structure is used only in the POST operation for the request.
swagger:model Quote_Create
func (*QuoteCreate) MarshalBinary ¶
func (m *QuoteCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteCreate) UnmarshalBinary ¶
func (m *QuoteCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteFind ¶
type QuoteFind struct { // Description of the quote Description string `json:"description,omitempty"` // Date when the quoted was Cancelled or Rejected or Accepted // Format: date-time EffectiveQuoteCompletionDate strfmt.DateTime `json:"effectiveQuoteCompletionDate,omitempty"` // This is the date filled by the seller to indicate expected quote completion date. // Format: date ExpectedQuoteCompletionDate strfmt.Date `json:"expectedQuoteCompletionDate,omitempty"` // ID given by the consumer and only understandable by him (to facilitate his searches afterwards) ExternalID string `json:"externalId,omitempty"` // Hyperlink to access the quote Href string `json:"href,omitempty"` // ID attributed by quoting system ID string `json:"id,omitempty"` // This value MAY be assigned by the Buyer/Seller to identify a project the quoting request is associated with. ProjectID string `json:"projectId,omitempty"` // Date when the quote was created // Format: date-time QuoteDate strfmt.DateTime `json:"quoteDate,omitempty"` // quote level QuoteLevel QuoteLevel `json:"quoteLevel,omitempty"` // This is the date wished by the requester to have the quote completed (meaning priced) // Required: true // Format: date-time RequestedQuoteCompletionDate *strfmt.DateTime `json:"requestedQuoteCompletionDate"` // state State QuoteStateType `json:"state,omitempty"` }
QuoteFind Quote Summary view is provided in the response of the GET(LIST) quote. Only a subset of information are provided.
swagger:model Quote_Find
func (*QuoteFind) MarshalBinary ¶
MarshalBinary interface implementation
func (*QuoteFind) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuoteItem ¶
type QuoteItem struct { // Link to the schema describing this REST resource AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Indicates the base (class) type of the quote Item. AtType string `json:"@type,omitempty"` // action // Required: true Action ProductActionType `json:"action"` // Identifier of the quote item (generally it is a sequence number 01, 02, 03, ...). // Required: true ID *string `json:"id"` // note Note []*Note `json:"note"` // product Product *Product `json:"product,omitempty"` // product offering ProductOffering *ProductOfferingRef `json:"productOffering,omitempty"` // qualification Qualification []*ProductOfferingQualificationRef `json:"qualification"` // quote item price QuoteItemPrice []*QuotePrice `json:"quoteItemPrice"` // quote item relationship QuoteItemRelationship []*QuoteItemRelationship `json:"quoteItemRelationship"` // quote item term QuoteItemTerm *ItemTerm `json:"quoteItemTerm,omitempty"` // related party RelatedParty []*RelatedParty `json:"relatedParty"` // requested quote item term RequestedQuoteItemTerm *ItemTerm `json:"requestedQuoteItemTerm,omitempty"` // state // Required: true State QuoteItemStateType `json:"state"` }
QuoteItem A quote items describe an action to be performed on a productOffering or a product in order to get pricing elements and condition
swagger:model QuoteItem
func (*QuoteItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*QuoteItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuoteItemCreate ¶
type QuoteItemCreate struct { // Link to the schema describing this REST resource AtSchemaLocation string `json:"@schemaLocation,omitempty"` // Indicates the base (class) type of the quote Item. AtType string `json:"@type,omitempty"` // action // Required: true Action ProductActionType `json:"action"` // Identifier of the quote item (generally it is a sequence number 01, 02, 03, ...). // Required: true ID *string `json:"id"` // note Note []*Note `json:"note"` // product Product *Product `json:"product,omitempty"` // product offering ProductOffering *ProductOfferingRef `json:"productOffering,omitempty"` // qualification Qualification *ProductOfferingQualificationRef `json:"qualification,omitempty"` // quote item relationship QuoteItemRelationship []*QuoteItemRelationship `json:"quoteItemRelationship"` // related party RelatedParty []*RelatedParty `json:"relatedParty"` // requested quote item term RequestedQuoteItemTerm *ItemTerm `json:"requestedQuoteItemTerm,omitempty"` }
QuoteItemCreate This structure is used to describe Quote item only in the POST operation for the request.
swagger:model QuoteItem_Create
func (*QuoteItemCreate) MarshalBinary ¶
func (m *QuoteItemCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteItemCreate) UnmarshalBinary ¶
func (m *QuoteItemCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteItemRelationship ¶
type QuoteItemRelationship struct { // ID of the related order item (must be in the same quote). // Required: true ID *string `json:"id"` // type // Required: true Type RelationshipType `json:"type"` }
QuoteItemRelationship Used to describe relationship between quote item. These relationships could have an impact on pricing and conditions.
swagger:model QuoteItemRelationship
func (*QuoteItemRelationship) MarshalBinary ¶
func (m *QuoteItemRelationship) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteItemRelationship) UnmarshalBinary ¶
func (m *QuoteItemRelationship) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteItemStateType ¶
type QuoteItemStateType string
QuoteItemStateType Valid quote item state enumeration
swagger:model QuoteItemStateType
const ( // QuoteItemStateTypeINPROGRESS captures enum value "IN_PROGRESS" QuoteItemStateTypeINPROGRESS QuoteItemStateType = "IN_PROGRESS" // QuoteItemStateTypeUNABLETOPROVIDE captures enum value "UNABLE_TO_PROVIDE" QuoteItemStateTypeUNABLETOPROVIDE QuoteItemStateType = "UNABLE_TO_PROVIDE" // QuoteItemStateTypeREADY captures enum value "READY" QuoteItemStateTypeREADY QuoteItemStateType = "READY" // QuoteItemStateTypeABANDONED captures enum value "ABANDONED" QuoteItemStateTypeABANDONED QuoteItemStateType = "ABANDONED" // QuoteItemStateTypeINSUFICIENTINFORMATIONPROVIDED captures enum value "INSUFICIENT_INFORMATION_PROVIDED" QuoteItemStateTypeINSUFICIENTINFORMATIONPROVIDED QuoteItemStateType = "INSUFICIENT_INFORMATION_PROVIDED" )
type QuoteLevel ¶
type QuoteLevel string
QuoteLevel Quote level
swagger:model QuoteLevel
const ( // QuoteLevelBUDGETARY captures enum value "BUDGETARY" QuoteLevelBUDGETARY QuoteLevel = "BUDGETARY" // QuoteLevelINDICATIVE captures enum value "INDICATIVE" QuoteLevelINDICATIVE QuoteLevel = "INDICATIVE" // QuoteLevelFIRM captures enum value "FIRM" QuoteLevelFIRM QuoteLevel = "FIRM" )
type QuotePrice ¶
type QuotePrice struct { // Indicates the base (class) type of the quote price AtType string `json:"@type,omitempty"` // Description of the quote/quote item price. Description string `json:"description,omitempty"` // Name of the quote /quote item price // Required: true Name *string `json:"name"` // price // Required: true Price *Price `json:"price"` // price type // Required: true PriceType PriceType `json:"priceType"` // recurring charge period RecurringChargePeriod ChargePeriod `json:"recurringChargePeriod,omitempty"` }
QuotePrice Description of price and discount awarded.
swagger:model QuotePrice
func (*QuotePrice) MarshalBinary ¶
func (m *QuotePrice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuotePrice) UnmarshalBinary ¶
func (m *QuotePrice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteStateType ¶
type QuoteStateType string
QuoteStateType Valid quote state enumeration
swagger:model QuoteStateType
const ( // QuoteStateTypeINPROGRESS captures enum value "IN_PROGRESS" QuoteStateTypeINPROGRESS QuoteStateType = "IN_PROGRESS" // QuoteStateTypeREADY captures enum value "READY" QuoteStateTypeREADY QuoteStateType = "READY" // QuoteStateTypeCANCELLED captures enum value "CANCELLED" QuoteStateTypeCANCELLED QuoteStateType = "CANCELLED" // QuoteStateTypeREJECTED captures enum value "REJECTED" QuoteStateTypeREJECTED QuoteStateType = "REJECTED" // QuoteStateTypeACCEPTED captures enum value "ACCEPTED" QuoteStateTypeACCEPTED QuoteStateType = "ACCEPTED" // QuoteStateTypeEXPIRED captures enum value "EXPIRED" QuoteStateTypeEXPIRED QuoteStateType = "EXPIRED" // QuoteStateTypeUNABLETOPROVIDE captures enum value "UNABLE_TO_PROVIDE" QuoteStateTypeUNABLETOPROVIDE QuoteStateType = "UNABLE_TO_PROVIDE" // QuoteStateTypeINSUFICIENTINFORMATIONPROVIDED captures enum value "INSUFICIENT_INFORMATION_PROVIDED" QuoteStateTypeINSUFICIENTINFORMATIONPROVIDED QuoteStateType = "INSUFICIENT_INFORMATION_PROVIDED" )
type ReferencedAddress ¶
type ReferencedAddress struct { // A reference to an address by id; this would include such things as CLLI Codes, or Seller-assigned address identifiers // Required: true ReferenceID *string `json:"referenceId"` // The type of the reference. For North American providers this would normally be CLLI // Required: true ReferenceType *string `json:"referenceType"` // contains filtered or unexported fields }
ReferencedAddress A globally unique identifier controlled by a generally accepted independent administrative authority that specifies a fixed geographical location.
swagger:model ReferencedAddress
func (*ReferencedAddress) AtType ¶
func (m *ReferencedAddress) AtType() string
AtType gets the at type of this subtype
func (*ReferencedAddress) Href ¶
func (m *ReferencedAddress) Href() string
Href gets the href of this subtype
func (*ReferencedAddress) ID ¶
func (m *ReferencedAddress) ID() string
ID gets the id of this subtype
func (*ReferencedAddress) MarshalBinary ¶
func (m *ReferencedAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ReferencedAddress) MarshalJSON ¶
func (m ReferencedAddress) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*ReferencedAddress) Role ¶
func (m *ReferencedAddress) Role() *string
Role gets the role of this subtype
func (*ReferencedAddress) SetAtType ¶
func (m *ReferencedAddress) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*ReferencedAddress) SetHref ¶
func (m *ReferencedAddress) SetHref(val string)
SetHref sets the href of this subtype
func (*ReferencedAddress) SetID ¶
func (m *ReferencedAddress) SetID(val string)
SetID sets the id of this subtype
func (*ReferencedAddress) SetRole ¶
func (m *ReferencedAddress) SetRole(val *string)
SetRole sets the role of this subtype
func (*ReferencedAddress) UnmarshalBinary ¶
func (m *ReferencedAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ReferencedAddress) UnmarshalJSON ¶
func (m *ReferencedAddress) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type RelatedParty ¶
type RelatedParty struct { // Indicates the base (class) type of the party. AtReferredType string `json:"@referredType,omitempty"` // email of the related party EmailAddress string `json:"emailAddress,omitempty"` // Unique identifier of a related party ID string `json:"id,omitempty"` // Name of the related party Name string `json:"name,omitempty"` // Telephone number of the related party Number string `json:"number,omitempty"` // Telephone number extension of the related party NumberExtension string `json:"numberExtension,omitempty"` // Role of the related party for this quote or quoteItem // Required: true Role []string `json:"role"` }
RelatedParty A related party defines party or party role linked to a quote.
swagger:model RelatedParty
func (*RelatedParty) MarshalBinary ¶
func (m *RelatedParty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelatedParty) UnmarshalBinary ¶
func (m *RelatedParty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RelatedPlaceRefOrValue ¶
type RelatedPlaceRefOrValue interface { runtime.Validatable // at type AtType() string SetAtType(string) // Unique reference of the place Href() string SetHref(string) // Unique identifier of the place ID() string SetID(string) // The role that the place plays, e.g. "UNI Site", or "ENNI Site". // Required: true Role() *string SetRole(*string) }
RelatedPlaceRefOrValue Place defines the places where the quoted products are sold or delivered
swagger:discriminator RelatedPlaceRefOrValue @type
func UnmarshalRelatedPlaceRefOrValue ¶
func UnmarshalRelatedPlaceRefOrValue(reader io.Reader, consumer runtime.Consumer) (RelatedPlaceRefOrValue, error)
UnmarshalRelatedPlaceRefOrValue unmarshals polymorphic RelatedPlaceRefOrValue
func UnmarshalRelatedPlaceRefOrValueSlice ¶
func UnmarshalRelatedPlaceRefOrValueSlice(reader io.Reader, consumer runtime.Consumer) ([]RelatedPlaceRefOrValue, error)
UnmarshalRelatedPlaceRefOrValueSlice unmarshals polymorphic slices of RelatedPlaceRefOrValue
type RelationshipType ¶
type RelationshipType string
RelationshipType Relationship type between item or product
swagger:model RelationshipType
const ( // RelationshipTypeRELIESON captures enum value "RELIES_ON" RelationshipTypeRELIESON RelationshipType = "RELIES_ON" // RelationshipTypeBUNDLED captures enum value "BUNDLED" RelationshipTypeBUNDLED RelationshipType = "BUNDLED" // RelationshipTypeCOMESFROM captures enum value "COMES_FROM" RelationshipTypeCOMESFROM RelationshipType = "COMES_FROM" )
type SubUnit ¶
type SubUnit struct { // The discriminator used for the subunit, often just a simple number but may also be a range. // Required: true SubUnitIdentifier *string `json:"subUnitIdentifier"` // The type of subunit e.g.BERTH, FLAT, PIER, SUITE, SHOP, TOWER, UNIT, WHARF. // Required: true SubUnitType *string `json:"subUnitType"` }
SubUnit sub unit
swagger:model SubUnit
func (*SubUnit) MarshalBinary ¶
MarshalBinary interface implementation
func (*SubUnit) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TimePeriod ¶
type TimePeriod struct { // Quote valid to // Required: true // Format: date-time EndDate *strfmt.DateTime `json:"endDate"` // Quote valid from // Required: true // Format: date-time StartDate *strfmt.DateTime `json:"startDate"` }
TimePeriod Indicates a time period for validity.
swagger:model TimePeriod
func (*TimePeriod) MarshalBinary ¶
func (m *TimePeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimePeriod) UnmarshalBinary ¶
func (m *TimePeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- agreement_ref.go
- change_quote_state_response.go
- changel_quote_state_request.go
- charge_period.go
- describing.go
- duration.go
- duration_unit.go
- error_representation.go
- fielded_address.go
- formatted_address.go
- geographic_location.go
- geographic_point.go
- geographic_sub_address.go
- hub.go
- hub_input.go
- item_term.go
- money.go
- note.go
- price.go
- price_range.go
- price_type.go
- product.go
- product_action_type.go
- product_offering_qualification_ref.go
- product_offering_ref.go
- product_ref.go
- product_relationship.go
- product_specification_ref.go
- quote.go
- quote_change_state.go
- quote_create.go
- quote_find.go
- quote_item.go
- quote_item_create.go
- quote_item_relationship.go
- quote_item_state_type.go
- quote_level.go
- quote_price.go
- quote_state_type.go
- referenced_address.go
- related_party.go
- related_place_ref_or_value.go
- relationship_type.go
- sub_unit.go
- time_period.go