Documentation
¶
Index ¶
- Constants
- type GeographicAddressValidationCreate
- type GeographicAddressValidationCreateBadRequest
- func (o *GeographicAddressValidationCreateBadRequest) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateBadRequest
- func (o *GeographicAddressValidationCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateCreated
- func (o *GeographicAddressValidationCreateCreated) SetPayload(payload *models.GeographicAddressValidation)
- func (o *GeographicAddressValidationCreateCreated) WithPayload(payload *models.GeographicAddressValidation) *GeographicAddressValidationCreateCreated
- func (o *GeographicAddressValidationCreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateForbidden
- func (o *GeographicAddressValidationCreateForbidden) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateForbidden) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateForbidden
- func (o *GeographicAddressValidationCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateHandler
- type GeographicAddressValidationCreateHandlerFunc
- type GeographicAddressValidationCreateInternalServerError
- func (o *GeographicAddressValidationCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateInternalServerError
- func (o *GeographicAddressValidationCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateMethodNotAllowed
- func (o *GeographicAddressValidationCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateMethodNotAllowed
- func (o *GeographicAddressValidationCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateNotFound
- func (o *GeographicAddressValidationCreateNotFound) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateNotFound
- func (o *GeographicAddressValidationCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateParams
- type GeographicAddressValidationCreateServiceUnavailable
- func (o *GeographicAddressValidationCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateServiceUnavailable
- func (o *GeographicAddressValidationCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateURL
- func (o *GeographicAddressValidationCreateURL) Build() (*url.URL, error)
- func (o *GeographicAddressValidationCreateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GeographicAddressValidationCreateURL) Must(u *url.URL, err error) *url.URL
- func (o *GeographicAddressValidationCreateURL) SetBasePath(bp string)
- func (o *GeographicAddressValidationCreateURL) String() string
- func (o *GeographicAddressValidationCreateURL) StringFull(scheme, host string) string
- func (o *GeographicAddressValidationCreateURL) WithBasePath(bp string) *GeographicAddressValidationCreateURL
- type GeographicAddressValidationCreateUnauthorized
- func (o *GeographicAddressValidationCreateUnauthorized) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateUnauthorized
- func (o *GeographicAddressValidationCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GeographicAddressValidationCreateUnprocessableEntity
- func (o *GeographicAddressValidationCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
- func (o *GeographicAddressValidationCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateUnprocessableEntity
- func (o *GeographicAddressValidationCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GeographicAddressValidationCreateBadRequestCode int = 400
GeographicAddressValidationCreateBadRequestCode is the HTTP code returned for type GeographicAddressValidationCreateBadRequest
const GeographicAddressValidationCreateCreatedCode int = 201
GeographicAddressValidationCreateCreatedCode is the HTTP code returned for type GeographicAddressValidationCreateCreated
const GeographicAddressValidationCreateForbiddenCode int = 403
GeographicAddressValidationCreateForbiddenCode is the HTTP code returned for type GeographicAddressValidationCreateForbidden
const GeographicAddressValidationCreateInternalServerErrorCode int = 500
GeographicAddressValidationCreateInternalServerErrorCode is the HTTP code returned for type GeographicAddressValidationCreateInternalServerError
const GeographicAddressValidationCreateMethodNotAllowedCode int = 405
GeographicAddressValidationCreateMethodNotAllowedCode is the HTTP code returned for type GeographicAddressValidationCreateMethodNotAllowed
const GeographicAddressValidationCreateNotFoundCode int = 404
GeographicAddressValidationCreateNotFoundCode is the HTTP code returned for type GeographicAddressValidationCreateNotFound
GeographicAddressValidationCreateServiceUnavailableCode is the HTTP code returned for type GeographicAddressValidationCreateServiceUnavailable
GeographicAddressValidationCreateUnauthorizedCode is the HTTP code returned for type GeographicAddressValidationCreateUnauthorized
const GeographicAddressValidationCreateUnprocessableEntityCode int = 422
GeographicAddressValidationCreateUnprocessableEntityCode is the HTTP code returned for type GeographicAddressValidationCreateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeographicAddressValidationCreate ¶
type GeographicAddressValidationCreate struct { Context *middleware.Context Handler GeographicAddressValidationCreateHandler }
GeographicAddressValidationCreate swagger:route POST /geographicAddressManagement/v3/geographicAddressValidation GeographicAddressValidation geographicAddressValidationCreate
validate a Geographic Address
The Buyer sends Address information known to the Buyer to the Seller. The Seller re-sponds with a list of Addresses known to the Seller that likely match the Address infor-mation sent by the Buyer. For each Address returned, the Seller generally also provides an Address Identifier, which uniquely identifies this Address within the Seller.
func NewGeographicAddressValidationCreate ¶
func NewGeographicAddressValidationCreate(ctx *middleware.Context, handler GeographicAddressValidationCreateHandler) *GeographicAddressValidationCreate
NewGeographicAddressValidationCreate creates a new http.Handler for the geographic address validation create operation
func (*GeographicAddressValidationCreate) ServeHTTP ¶
func (o *GeographicAddressValidationCreate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GeographicAddressValidationCreateBadRequest ¶
type GeographicAddressValidationCreateBadRequest struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateBadRequest Bad Request
List of supported error codes: - 20: Invalid URL parameter value - 21: Missing body - 22: Invalid body - 23: Missing body field - 24: Invalid body field - 25: Missing header - 26: Invalid header value - 27: Missing query-string parameter - 28: Invalid query-string parameter value
swagger:response geographicAddressValidationCreateBadRequest
func NewGeographicAddressValidationCreateBadRequest ¶
func NewGeographicAddressValidationCreateBadRequest() *GeographicAddressValidationCreateBadRequest
NewGeographicAddressValidationCreateBadRequest creates GeographicAddressValidationCreateBadRequest with default headers values
func (*GeographicAddressValidationCreateBadRequest) SetPayload ¶
func (o *GeographicAddressValidationCreateBadRequest) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create bad request response
func (*GeographicAddressValidationCreateBadRequest) WithPayload ¶
func (o *GeographicAddressValidationCreateBadRequest) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateBadRequest
WithPayload adds the payload to the geographic address validation create bad request response
func (*GeographicAddressValidationCreateBadRequest) WriteResponse ¶
func (o *GeographicAddressValidationCreateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateCreated ¶
type GeographicAddressValidationCreateCreated struct { /* In: Body */ Payload *models.GeographicAddressValidation `json:"body,omitempty"` }
GeographicAddressValidationCreateCreated Created
swagger:response geographicAddressValidationCreateCreated
func NewGeographicAddressValidationCreateCreated ¶
func NewGeographicAddressValidationCreateCreated() *GeographicAddressValidationCreateCreated
NewGeographicAddressValidationCreateCreated creates GeographicAddressValidationCreateCreated with default headers values
func (*GeographicAddressValidationCreateCreated) SetPayload ¶
func (o *GeographicAddressValidationCreateCreated) SetPayload(payload *models.GeographicAddressValidation)
SetPayload sets the payload to the geographic address validation create created response
func (*GeographicAddressValidationCreateCreated) WithPayload ¶
func (o *GeographicAddressValidationCreateCreated) WithPayload(payload *models.GeographicAddressValidation) *GeographicAddressValidationCreateCreated
WithPayload adds the payload to the geographic address validation create created response
func (*GeographicAddressValidationCreateCreated) WriteResponse ¶
func (o *GeographicAddressValidationCreateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateForbidden ¶
type GeographicAddressValidationCreateForbidden struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateForbidden Forbidden
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
swagger:response geographicAddressValidationCreateForbidden
func NewGeographicAddressValidationCreateForbidden ¶
func NewGeographicAddressValidationCreateForbidden() *GeographicAddressValidationCreateForbidden
NewGeographicAddressValidationCreateForbidden creates GeographicAddressValidationCreateForbidden with default headers values
func (*GeographicAddressValidationCreateForbidden) SetPayload ¶
func (o *GeographicAddressValidationCreateForbidden) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create forbidden response
func (*GeographicAddressValidationCreateForbidden) WithPayload ¶
func (o *GeographicAddressValidationCreateForbidden) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateForbidden
WithPayload adds the payload to the geographic address validation create forbidden response
func (*GeographicAddressValidationCreateForbidden) WriteResponse ¶
func (o *GeographicAddressValidationCreateForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateHandler ¶
type GeographicAddressValidationCreateHandler interface {
Handle(GeographicAddressValidationCreateParams, *models.Principal) middleware.Responder
}
GeographicAddressValidationCreateHandler interface for that can handle valid geographic address validation create params
type GeographicAddressValidationCreateHandlerFunc ¶
type GeographicAddressValidationCreateHandlerFunc func(GeographicAddressValidationCreateParams, *models.Principal) middleware.Responder
GeographicAddressValidationCreateHandlerFunc turns a function with the right signature into a geographic address validation create handler
func (GeographicAddressValidationCreateHandlerFunc) Handle ¶
func (fn GeographicAddressValidationCreateHandlerFunc) Handle(params GeographicAddressValidationCreateParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GeographicAddressValidationCreateInternalServerError ¶
type GeographicAddressValidationCreateInternalServerError struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateInternalServerError Internal Server Error
List of supported error codes: - 1: Internal error
swagger:response geographicAddressValidationCreateInternalServerError
func NewGeographicAddressValidationCreateInternalServerError ¶
func NewGeographicAddressValidationCreateInternalServerError() *GeographicAddressValidationCreateInternalServerError
NewGeographicAddressValidationCreateInternalServerError creates GeographicAddressValidationCreateInternalServerError with default headers values
func (*GeographicAddressValidationCreateInternalServerError) SetPayload ¶
func (o *GeographicAddressValidationCreateInternalServerError) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create internal server error response
func (*GeographicAddressValidationCreateInternalServerError) WithPayload ¶
func (o *GeographicAddressValidationCreateInternalServerError) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateInternalServerError
WithPayload adds the payload to the geographic address validation create internal server error response
func (*GeographicAddressValidationCreateInternalServerError) WriteResponse ¶
func (o *GeographicAddressValidationCreateInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateMethodNotAllowed ¶
type GeographicAddressValidationCreateMethodNotAllowed struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateMethodNotAllowed Method Not Allowed
List of supported error codes: - 61: Method not allowed
swagger:response geographicAddressValidationCreateMethodNotAllowed
func NewGeographicAddressValidationCreateMethodNotAllowed ¶
func NewGeographicAddressValidationCreateMethodNotAllowed() *GeographicAddressValidationCreateMethodNotAllowed
NewGeographicAddressValidationCreateMethodNotAllowed creates GeographicAddressValidationCreateMethodNotAllowed with default headers values
func (*GeographicAddressValidationCreateMethodNotAllowed) SetPayload ¶
func (o *GeographicAddressValidationCreateMethodNotAllowed) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create method not allowed response
func (*GeographicAddressValidationCreateMethodNotAllowed) WithPayload ¶
func (o *GeographicAddressValidationCreateMethodNotAllowed) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateMethodNotAllowed
WithPayload adds the payload to the geographic address validation create method not allowed response
func (*GeographicAddressValidationCreateMethodNotAllowed) WriteResponse ¶
func (o *GeographicAddressValidationCreateMethodNotAllowed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateNotFound ¶
type GeographicAddressValidationCreateNotFound struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateNotFound Not Found
List of supported error codes: - 60: Resource not found
swagger:response geographicAddressValidationCreateNotFound
func NewGeographicAddressValidationCreateNotFound ¶
func NewGeographicAddressValidationCreateNotFound() *GeographicAddressValidationCreateNotFound
NewGeographicAddressValidationCreateNotFound creates GeographicAddressValidationCreateNotFound with default headers values
func (*GeographicAddressValidationCreateNotFound) SetPayload ¶
func (o *GeographicAddressValidationCreateNotFound) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create not found response
func (*GeographicAddressValidationCreateNotFound) WithPayload ¶
func (o *GeographicAddressValidationCreateNotFound) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateNotFound
WithPayload adds the payload to the geographic address validation create not found response
func (*GeographicAddressValidationCreateNotFound) WriteResponse ¶
func (o *GeographicAddressValidationCreateNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateParams ¶
type GeographicAddressValidationCreateParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ AddressValidationRequest *models.GeographicAddressValidationCreate }
GeographicAddressValidationCreateParams contains all the bound params for the geographic address validation create operation typically these are obtained from a http.Request
swagger:parameters geographicAddressValidationCreate
func NewGeographicAddressValidationCreateParams ¶
func NewGeographicAddressValidationCreateParams() GeographicAddressValidationCreateParams
NewGeographicAddressValidationCreateParams creates a new GeographicAddressValidationCreateParams object
There are no default values defined in the spec.
func (*GeographicAddressValidationCreateParams) BindRequest ¶
func (o *GeographicAddressValidationCreateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGeographicAddressValidationCreateParams() beforehand.
type GeographicAddressValidationCreateServiceUnavailable ¶
type GeographicAddressValidationCreateServiceUnavailable struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicAddressValidationCreateServiceUnavailable Service Unavailable
swagger:response geographicAddressValidationCreateServiceUnavailable
func NewGeographicAddressValidationCreateServiceUnavailable ¶
func NewGeographicAddressValidationCreateServiceUnavailable() *GeographicAddressValidationCreateServiceUnavailable
NewGeographicAddressValidationCreateServiceUnavailable creates GeographicAddressValidationCreateServiceUnavailable with default headers values
func (*GeographicAddressValidationCreateServiceUnavailable) SetPayload ¶
func (o *GeographicAddressValidationCreateServiceUnavailable) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create service unavailable response
func (*GeographicAddressValidationCreateServiceUnavailable) WithPayload ¶
func (o *GeographicAddressValidationCreateServiceUnavailable) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateServiceUnavailable
WithPayload adds the payload to the geographic address validation create service unavailable response
func (*GeographicAddressValidationCreateServiceUnavailable) WriteResponse ¶
func (o *GeographicAddressValidationCreateServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateURL ¶
type GeographicAddressValidationCreateURL struct {
// contains filtered or unexported fields
}
GeographicAddressValidationCreateURL generates an URL for the geographic address validation create operation
func (*GeographicAddressValidationCreateURL) Build ¶
func (o *GeographicAddressValidationCreateURL) Build() (*url.URL, error)
Build a url path and query string
func (*GeographicAddressValidationCreateURL) BuildFull ¶
func (o *GeographicAddressValidationCreateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GeographicAddressValidationCreateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GeographicAddressValidationCreateURL) SetBasePath ¶
func (o *GeographicAddressValidationCreateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GeographicAddressValidationCreateURL) String ¶
func (o *GeographicAddressValidationCreateURL) String() string
String returns the string representation of the path with query string
func (*GeographicAddressValidationCreateURL) StringFull ¶
func (o *GeographicAddressValidationCreateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GeographicAddressValidationCreateURL) WithBasePath ¶
func (o *GeographicAddressValidationCreateURL) WithBasePath(bp string) *GeographicAddressValidationCreateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GeographicAddressValidationCreateUnauthorized ¶
type GeographicAddressValidationCreateUnauthorized struct { models.ErrorRepresentation `json:"body,omitempty"` }Payload *
GeographicAddressValidationCreateUnauthorized Unauthorized
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
swagger:response geographicAddressValidationCreateUnauthorized
func NewGeographicAddressValidationCreateUnauthorized ¶
func NewGeographicAddressValidationCreateUnauthorized() *GeographicAddressValidationCreateUnauthorized
NewGeographicAddressValidationCreateUnauthorized creates GeographicAddressValidationCreateUnauthorized with default headers values
func (*GeographicAddressValidationCreateUnauthorized) SetPayload ¶
func (o *GeographicAddressValidationCreateUnauthorized) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create unauthorized response
func (*GeographicAddressValidationCreateUnauthorized) WithPayload ¶
func (o *GeographicAddressValidationCreateUnauthorized) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateUnauthorized
WithPayload adds the payload to the geographic address validation create unauthorized response
func (*GeographicAddressValidationCreateUnauthorized) WriteResponse ¶
func (o *GeographicAddressValidationCreateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GeographicAddressValidationCreateUnprocessableEntity ¶
type GeographicAddressValidationCreateUnprocessableEntity struct { /* In: Body */ Payload *models.ErrorRepresentation `json:"body,omitempty"` }
GeographicAddressValidationCreateUnprocessableEntity Unprocessable entity
Functional error
- code: 100
message: Too many addresses match - please re-try with more attribute values restriction description:
swagger:response geographicAddressValidationCreateUnprocessableEntity
func NewGeographicAddressValidationCreateUnprocessableEntity ¶
func NewGeographicAddressValidationCreateUnprocessableEntity() *GeographicAddressValidationCreateUnprocessableEntity
NewGeographicAddressValidationCreateUnprocessableEntity creates GeographicAddressValidationCreateUnprocessableEntity with default headers values
func (*GeographicAddressValidationCreateUnprocessableEntity) SetPayload ¶
func (o *GeographicAddressValidationCreateUnprocessableEntity) SetPayload(payload *models.ErrorRepresentation)
SetPayload sets the payload to the geographic address validation create unprocessable entity response
func (*GeographicAddressValidationCreateUnprocessableEntity) WithPayload ¶
func (o *GeographicAddressValidationCreateUnprocessableEntity) WithPayload(payload *models.ErrorRepresentation) *GeographicAddressValidationCreateUnprocessableEntity
WithPayload adds the payload to the geographic address validation create unprocessable entity response
func (*GeographicAddressValidationCreateUnprocessableEntity) WriteResponse ¶
func (o *GeographicAddressValidationCreateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client