geographic_address_validation

package
v0.0.0-...-0ce3674 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GeographicAddressValidationCreateBadRequestCode int = 400

GeographicAddressValidationCreateBadRequestCode is the HTTP code returned for type GeographicAddressValidationCreateBadRequest

View Source
const GeographicAddressValidationCreateCreatedCode int = 201

GeographicAddressValidationCreateCreatedCode is the HTTP code returned for type GeographicAddressValidationCreateCreated

View Source
const GeographicAddressValidationCreateForbiddenCode int = 403

GeographicAddressValidationCreateForbiddenCode is the HTTP code returned for type GeographicAddressValidationCreateForbidden

View Source
const GeographicAddressValidationCreateInternalServerErrorCode int = 500

GeographicAddressValidationCreateInternalServerErrorCode is the HTTP code returned for type GeographicAddressValidationCreateInternalServerError

View Source
const GeographicAddressValidationCreateMethodNotAllowedCode int = 405

GeographicAddressValidationCreateMethodNotAllowedCode is the HTTP code returned for type GeographicAddressValidationCreateMethodNotAllowed

View Source
const GeographicAddressValidationCreateNotFoundCode int = 404

GeographicAddressValidationCreateNotFoundCode is the HTTP code returned for type GeographicAddressValidationCreateNotFound

View Source
const GeographicAddressValidationCreateServiceUnavailableCode int = 503

GeographicAddressValidationCreateServiceUnavailableCode is the HTTP code returned for type GeographicAddressValidationCreateServiceUnavailable

View Source
const GeographicAddressValidationCreateUnauthorizedCode int = 401

GeographicAddressValidationCreateUnauthorizedCode is the HTTP code returned for type GeographicAddressValidationCreateUnauthorized

View Source
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

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

SetPayload sets the payload to the geographic address validation create bad request response

func (*GeographicAddressValidationCreateBadRequest) WithPayload

WithPayload adds the payload to the geographic address validation create bad request response

func (*GeographicAddressValidationCreateBadRequest) WriteResponse

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

SetPayload sets the payload to the geographic address validation create created response

func (*GeographicAddressValidationCreateCreated) WithPayload

WithPayload adds the payload to the geographic address validation create created response

func (*GeographicAddressValidationCreateCreated) WriteResponse

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

SetPayload sets the payload to the geographic address validation create forbidden response

func (*GeographicAddressValidationCreateForbidden) WithPayload

WithPayload adds the payload to the geographic address validation create forbidden response

func (*GeographicAddressValidationCreateForbidden) WriteResponse

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

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

SetPayload sets the payload to the geographic address validation create internal server error response

func (*GeographicAddressValidationCreateInternalServerError) WithPayload

WithPayload adds the payload to the geographic address validation create internal server error response

func (*GeographicAddressValidationCreateInternalServerError) WriteResponse

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

SetPayload sets the payload to the geographic address validation create method not allowed response

func (*GeographicAddressValidationCreateMethodNotAllowed) WithPayload

WithPayload adds the payload to the geographic address validation create method not allowed response

func (*GeographicAddressValidationCreateMethodNotAllowed) WriteResponse

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

SetPayload sets the payload to the geographic address validation create not found response

func (*GeographicAddressValidationCreateNotFound) WithPayload

WithPayload adds the payload to the geographic address validation create not found response

func (*GeographicAddressValidationCreateNotFound) WriteResponse

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

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 {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

GeographicAddressValidationCreateServiceUnavailable Service Unavailable

swagger:response geographicAddressValidationCreateServiceUnavailable

func NewGeographicAddressValidationCreateServiceUnavailable

func NewGeographicAddressValidationCreateServiceUnavailable() *GeographicAddressValidationCreateServiceUnavailable

NewGeographicAddressValidationCreateServiceUnavailable creates GeographicAddressValidationCreateServiceUnavailable with default headers values

func (*GeographicAddressValidationCreateServiceUnavailable) SetPayload

SetPayload sets the payload to the geographic address validation create service unavailable response

func (*GeographicAddressValidationCreateServiceUnavailable) WithPayload

WithPayload adds the payload to the geographic address validation create service unavailable response

func (*GeographicAddressValidationCreateServiceUnavailable) WriteResponse

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

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

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

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 {

	/*
	  In: Body
	*/
	Payload *models.ErrorRepresentation `json:"body,omitempty"`
}

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

SetPayload sets the payload to the geographic address validation create unauthorized response

func (*GeographicAddressValidationCreateUnauthorized) WithPayload

WithPayload adds the payload to the geographic address validation create unauthorized response

func (*GeographicAddressValidationCreateUnauthorized) WriteResponse

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

SetPayload sets the payload to the geographic address validation create unprocessable entity response

func (*GeographicAddressValidationCreateUnprocessableEntity) WithPayload

WithPayload adds the payload to the geographic address validation create unprocessable entity response

func (*GeographicAddressValidationCreateUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL