Documentation
¶
Index ¶
- type Client
- type ClientService
- type GeographicAddressValidationCreateBadRequest
- type GeographicAddressValidationCreateCreated
- type GeographicAddressValidationCreateForbidden
- type GeographicAddressValidationCreateInternalServerError
- type GeographicAddressValidationCreateMethodNotAllowed
- type GeographicAddressValidationCreateNotFound
- type GeographicAddressValidationCreateParams
- func NewGeographicAddressValidationCreateParams() *GeographicAddressValidationCreateParams
- func NewGeographicAddressValidationCreateParamsWithContext(ctx context.Context) *GeographicAddressValidationCreateParams
- func NewGeographicAddressValidationCreateParamsWithHTTPClient(client *http.Client) *GeographicAddressValidationCreateParams
- func NewGeographicAddressValidationCreateParamsWithTimeout(timeout time.Duration) *GeographicAddressValidationCreateParams
- func (o *GeographicAddressValidationCreateParams) SetAddressValidationRequest(addressValidationRequest *models.GeographicAddressValidationCreate)
- func (o *GeographicAddressValidationCreateParams) SetContext(ctx context.Context)
- func (o *GeographicAddressValidationCreateParams) SetHTTPClient(client *http.Client)
- func (o *GeographicAddressValidationCreateParams) SetTimeout(timeout time.Duration)
- func (o *GeographicAddressValidationCreateParams) WithAddressValidationRequest(addressValidationRequest *models.GeographicAddressValidationCreate) *GeographicAddressValidationCreateParams
- func (o *GeographicAddressValidationCreateParams) WithContext(ctx context.Context) *GeographicAddressValidationCreateParams
- func (o *GeographicAddressValidationCreateParams) WithHTTPClient(client *http.Client) *GeographicAddressValidationCreateParams
- func (o *GeographicAddressValidationCreateParams) WithTimeout(timeout time.Duration) *GeographicAddressValidationCreateParams
- func (o *GeographicAddressValidationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GeographicAddressValidationCreateReader
- type GeographicAddressValidationCreateServiceUnavailable
- type GeographicAddressValidationCreateUnauthorized
- type GeographicAddressValidationCreateUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for geographic address validation API
func (*Client) GeographicAddressValidationCreate ¶
func (a *Client) GeographicAddressValidationCreate(params *GeographicAddressValidationCreateParams) (*GeographicAddressValidationCreateCreated, error)
GeographicAddressValidationCreate validates 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 (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GeographicAddressValidationCreate(params *GeographicAddressValidationCreateParams) (*GeographicAddressValidationCreateCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new geographic address validation API client.
type GeographicAddressValidationCreateBadRequest ¶
type GeographicAddressValidationCreateBadRequest struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateBadRequest handles this case with default header values.
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
func NewGeographicAddressValidationCreateBadRequest ¶
func NewGeographicAddressValidationCreateBadRequest() *GeographicAddressValidationCreateBadRequest
NewGeographicAddressValidationCreateBadRequest creates a GeographicAddressValidationCreateBadRequest with default headers values
func (*GeographicAddressValidationCreateBadRequest) Error ¶
func (o *GeographicAddressValidationCreateBadRequest) Error() string
func (*GeographicAddressValidationCreateBadRequest) GetPayload ¶
func (o *GeographicAddressValidationCreateBadRequest) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateCreated ¶
type GeographicAddressValidationCreateCreated struct {
Payload *models.GeographicAddressValidation
}
GeographicAddressValidationCreateCreated handles this case with default header values.
Created
func NewGeographicAddressValidationCreateCreated ¶
func NewGeographicAddressValidationCreateCreated() *GeographicAddressValidationCreateCreated
NewGeographicAddressValidationCreateCreated creates a GeographicAddressValidationCreateCreated with default headers values
func (*GeographicAddressValidationCreateCreated) Error ¶
func (o *GeographicAddressValidationCreateCreated) Error() string
func (*GeographicAddressValidationCreateCreated) GetPayload ¶
func (o *GeographicAddressValidationCreateCreated) GetPayload() *models.GeographicAddressValidation
type GeographicAddressValidationCreateForbidden ¶
type GeographicAddressValidationCreateForbidden struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateForbidden handles this case with default header values.
Forbidden ¶
List of supported error codes: - 50: Access denied - 51: Forbidden requester - 52: Forbidden user - 53: Too many requests
func NewGeographicAddressValidationCreateForbidden ¶
func NewGeographicAddressValidationCreateForbidden() *GeographicAddressValidationCreateForbidden
NewGeographicAddressValidationCreateForbidden creates a GeographicAddressValidationCreateForbidden with default headers values
func (*GeographicAddressValidationCreateForbidden) Error ¶
func (o *GeographicAddressValidationCreateForbidden) Error() string
func (*GeographicAddressValidationCreateForbidden) GetPayload ¶
func (o *GeographicAddressValidationCreateForbidden) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateInternalServerError ¶
type GeographicAddressValidationCreateInternalServerError struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateInternalServerError handles this case with default header values.
Internal Server Error ¶
List of supported error codes: - 1: Internal error
func NewGeographicAddressValidationCreateInternalServerError ¶
func NewGeographicAddressValidationCreateInternalServerError() *GeographicAddressValidationCreateInternalServerError
NewGeographicAddressValidationCreateInternalServerError creates a GeographicAddressValidationCreateInternalServerError with default headers values
func (*GeographicAddressValidationCreateInternalServerError) Error ¶
func (o *GeographicAddressValidationCreateInternalServerError) Error() string
func (*GeographicAddressValidationCreateInternalServerError) GetPayload ¶
func (o *GeographicAddressValidationCreateInternalServerError) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateMethodNotAllowed ¶
type GeographicAddressValidationCreateMethodNotAllowed struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateMethodNotAllowed handles this case with default header values.
Method Not Allowed ¶
List of supported error codes: - 61: Method not allowed
func NewGeographicAddressValidationCreateMethodNotAllowed ¶
func NewGeographicAddressValidationCreateMethodNotAllowed() *GeographicAddressValidationCreateMethodNotAllowed
NewGeographicAddressValidationCreateMethodNotAllowed creates a GeographicAddressValidationCreateMethodNotAllowed with default headers values
func (*GeographicAddressValidationCreateMethodNotAllowed) Error ¶
func (o *GeographicAddressValidationCreateMethodNotAllowed) Error() string
func (*GeographicAddressValidationCreateMethodNotAllowed) GetPayload ¶
func (o *GeographicAddressValidationCreateMethodNotAllowed) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateNotFound ¶
type GeographicAddressValidationCreateNotFound struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateNotFound handles this case with default header values.
Not Found ¶
List of supported error codes: - 60: Resource not found
func NewGeographicAddressValidationCreateNotFound ¶
func NewGeographicAddressValidationCreateNotFound() *GeographicAddressValidationCreateNotFound
NewGeographicAddressValidationCreateNotFound creates a GeographicAddressValidationCreateNotFound with default headers values
func (*GeographicAddressValidationCreateNotFound) Error ¶
func (o *GeographicAddressValidationCreateNotFound) Error() string
func (*GeographicAddressValidationCreateNotFound) GetPayload ¶
func (o *GeographicAddressValidationCreateNotFound) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateParams ¶
type GeographicAddressValidationCreateParams struct { /*AddressValidationRequest*/ AddressValidationRequest *models.GeographicAddressValidationCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GeographicAddressValidationCreateParams contains all the parameters to send to the API endpoint for the geographic address validation create operation typically these are written to a http.Request
func NewGeographicAddressValidationCreateParams ¶
func NewGeographicAddressValidationCreateParams() *GeographicAddressValidationCreateParams
NewGeographicAddressValidationCreateParams creates a new GeographicAddressValidationCreateParams object with the default values initialized.
func NewGeographicAddressValidationCreateParamsWithContext ¶
func NewGeographicAddressValidationCreateParamsWithContext(ctx context.Context) *GeographicAddressValidationCreateParams
NewGeographicAddressValidationCreateParamsWithContext creates a new GeographicAddressValidationCreateParams object with the default values initialized, and the ability to set a context for a request
func NewGeographicAddressValidationCreateParamsWithHTTPClient ¶
func NewGeographicAddressValidationCreateParamsWithHTTPClient(client *http.Client) *GeographicAddressValidationCreateParams
NewGeographicAddressValidationCreateParamsWithHTTPClient creates a new GeographicAddressValidationCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGeographicAddressValidationCreateParamsWithTimeout ¶
func NewGeographicAddressValidationCreateParamsWithTimeout(timeout time.Duration) *GeographicAddressValidationCreateParams
NewGeographicAddressValidationCreateParamsWithTimeout creates a new GeographicAddressValidationCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GeographicAddressValidationCreateParams) SetAddressValidationRequest ¶
func (o *GeographicAddressValidationCreateParams) SetAddressValidationRequest(addressValidationRequest *models.GeographicAddressValidationCreate)
SetAddressValidationRequest adds the addressValidationRequest to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) SetContext ¶
func (o *GeographicAddressValidationCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) SetHTTPClient ¶
func (o *GeographicAddressValidationCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) SetTimeout ¶
func (o *GeographicAddressValidationCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) WithAddressValidationRequest ¶
func (o *GeographicAddressValidationCreateParams) WithAddressValidationRequest(addressValidationRequest *models.GeographicAddressValidationCreate) *GeographicAddressValidationCreateParams
WithAddressValidationRequest adds the addressValidationRequest to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) WithContext ¶
func (o *GeographicAddressValidationCreateParams) WithContext(ctx context.Context) *GeographicAddressValidationCreateParams
WithContext adds the context to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) WithHTTPClient ¶
func (o *GeographicAddressValidationCreateParams) WithHTTPClient(client *http.Client) *GeographicAddressValidationCreateParams
WithHTTPClient adds the HTTPClient to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) WithTimeout ¶
func (o *GeographicAddressValidationCreateParams) WithTimeout(timeout time.Duration) *GeographicAddressValidationCreateParams
WithTimeout adds the timeout to the geographic address validation create params
func (*GeographicAddressValidationCreateParams) WriteToRequest ¶
func (o *GeographicAddressValidationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GeographicAddressValidationCreateReader ¶
type GeographicAddressValidationCreateReader struct {
// contains filtered or unexported fields
}
GeographicAddressValidationCreateReader is a Reader for the GeographicAddressValidationCreate structure.
func (*GeographicAddressValidationCreateReader) ReadResponse ¶
func (o *GeographicAddressValidationCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GeographicAddressValidationCreateServiceUnavailable ¶
type GeographicAddressValidationCreateServiceUnavailable struct {
}GeographicAddressValidationCreateServiceUnavailable handles this case with default header values.
Service Unavailable
func NewGeographicAddressValidationCreateServiceUnavailable ¶
func NewGeographicAddressValidationCreateServiceUnavailable() *GeographicAddressValidationCreateServiceUnavailable
NewGeographicAddressValidationCreateServiceUnavailable creates a GeographicAddressValidationCreateServiceUnavailable with default headers values
func (*GeographicAddressValidationCreateServiceUnavailable) Error ¶
func (o *GeographicAddressValidationCreateServiceUnavailable) Error() string
func (*GeographicAddressValidationCreateServiceUnavailable) GetPayload ¶
func (o *GeographicAddressValidationCreateServiceUnavailable) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateUnauthorized ¶
type GeographicAddressValidationCreateUnauthorized struct {
}GeographicAddressValidationCreateUnauthorized handles this case with default header values.
Unauthorized ¶
List of supported error codes: - 40: Missing credentials - 41: Invalid credentials - 42: Expired credentials
func NewGeographicAddressValidationCreateUnauthorized ¶
func NewGeographicAddressValidationCreateUnauthorized() *GeographicAddressValidationCreateUnauthorized
NewGeographicAddressValidationCreateUnauthorized creates a GeographicAddressValidationCreateUnauthorized with default headers values
func (*GeographicAddressValidationCreateUnauthorized) Error ¶
func (o *GeographicAddressValidationCreateUnauthorized) Error() string
func (*GeographicAddressValidationCreateUnauthorized) GetPayload ¶
func (o *GeographicAddressValidationCreateUnauthorized) GetPayload() *models.ErrorRepresentation
type GeographicAddressValidationCreateUnprocessableEntity ¶
type GeographicAddressValidationCreateUnprocessableEntity struct {
Payload *models.ErrorRepresentation
}
GeographicAddressValidationCreateUnprocessableEntity handles this case with default header values.
Unprocessable entity ¶
Functional error
- code: 100
message: Too many addresses match - please re-try with more attribute values restriction description:
func NewGeographicAddressValidationCreateUnprocessableEntity ¶
func NewGeographicAddressValidationCreateUnprocessableEntity() *GeographicAddressValidationCreateUnprocessableEntity
NewGeographicAddressValidationCreateUnprocessableEntity creates a GeographicAddressValidationCreateUnprocessableEntity with default headers values
func (*GeographicAddressValidationCreateUnprocessableEntity) Error ¶
func (o *GeographicAddressValidationCreateUnprocessableEntity) Error() string
func (*GeographicAddressValidationCreateUnprocessableEntity) GetPayload ¶
func (o *GeographicAddressValidationCreateUnprocessableEntity) GetPayload() *models.ErrorRepresentation