operations

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 operations API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new operations API client.

func (*Client) DELETESuscripcionID

func (a *Client) DELETESuscripcionID(params *DELETESuscripcionIDParams, authInfo runtime.ClientAuthInfoWriter) error

DELETESuscripcionID cancelars suscripción

func (*Client) GETCargosID

func (a *Client) GETCargosID(params *GETCargosIDParams, authInfo runtime.ClientAuthInfoWriter) (*GETCargosIDOK, error)

GETCargosID consultars cargo

<p>Te permite consultar el los detalles de un cargo en específico.</p>

func (*Client) POSTCargosCargoIDDevolver

func (a *Client) POSTCargosCargoIDDevolver(params *POSTCargosCargoIDDevolverParams, authInfo runtime.ClientAuthInfoWriter) error

POSTCargosCargoIDDevolver devolvers cargo

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type DELETESuscripcionIDBody

type DELETESuscripcionIDBody struct {

	// apellido
	Apellido string `json:"apellido,omitempty"`

	// ciudad
	Ciudad string `json:"ciudad,omitempty"`

	// codigo comercio
	CodigoComercio string `json:"codigo_comercio,omitempty"`

	// codigo pais
	CodigoPais string `json:"codigo_pais,omitempty"`

	// correo electronico
	CorreoElectronico string `json:"correo_electronico,omitempty"`

	// direccion
	Direccion string `json:"direccion,omitempty"`

	// nombre
	Nombre string `json:"nombre,omitempty"`

	// plan
	Plan string `json:"plan,omitempty"`

	// telefono
	Telefono string `json:"telefono,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// usuario
	Usuario string `json:"usuario,omitempty"`
}

DELETESuscripcionIDBody d e l e t e suscripcion ID body swagger:model DELETESuscripcionIDBody

type DELETESuscripcionIDDefault

type DELETESuscripcionIDDefault struct {
	Payload DELETESuscripcionIDDefaultBody
	// contains filtered or unexported fields
}

DELETESuscripcionIDDefault handles this case with default header values.

DELETESuscripcionIDDefault d e l e t e suscripcion id default

func NewDELETESuscripcionIDDefault

func NewDELETESuscripcionIDDefault(code int) *DELETESuscripcionIDDefault

NewDELETESuscripcionIDDefault creates a DELETESuscripcionIDDefault with default headers values

func (*DELETESuscripcionIDDefault) Code

func (o *DELETESuscripcionIDDefault) Code() int

Code gets the status code for the d e l e t e suscripcion id default response

func (*DELETESuscripcionIDDefault) Error

type DELETESuscripcionIDDefaultBody

type DELETESuscripcionIDDefaultBody interface{}

DELETESuscripcionIDDefaultBody d e l e t e suscripcion ID default body swagger:model DELETESuscripcionIDDefaultBody

type DELETESuscripcionIDParams

type DELETESuscripcionIDParams struct {

	/*Authorization*/
	Authorization string
	/*Body*/
	Body DELETESuscripcionIDBody
	/*ID*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DELETESuscripcionIDParams contains all the parameters to send to the API endpoint for the d e l e t e suscripcion id operation typically these are written to a http.Request

func NewDELETESuscripcionIDParams

func NewDELETESuscripcionIDParams() *DELETESuscripcionIDParams

NewDELETESuscripcionIDParams creates a new DELETESuscripcionIDParams object with the default values initialized.

func NewDELETESuscripcionIDParamsWithContext

func NewDELETESuscripcionIDParamsWithContext(ctx context.Context) *DELETESuscripcionIDParams

NewDELETESuscripcionIDParamsWithContext creates a new DELETESuscripcionIDParams object with the default values initialized, and the ability to set a context for a request

func NewDELETESuscripcionIDParamsWithHTTPClient

func NewDELETESuscripcionIDParamsWithHTTPClient(client *http.Client) *DELETESuscripcionIDParams

NewDELETESuscripcionIDParamsWithHTTPClient creates a new DELETESuscripcionIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDELETESuscripcionIDParamsWithTimeout

func NewDELETESuscripcionIDParamsWithTimeout(timeout time.Duration) *DELETESuscripcionIDParams

NewDELETESuscripcionIDParamsWithTimeout creates a new DELETESuscripcionIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DELETESuscripcionIDParams) SetAuthorization

func (o *DELETESuscripcionIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) SetBody

SetBody adds the body to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) SetContext

func (o *DELETESuscripcionIDParams) SetContext(ctx context.Context)

SetContext adds the context to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) SetHTTPClient

func (o *DELETESuscripcionIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) SetID

func (o *DELETESuscripcionIDParams) SetID(id string)

SetID adds the id to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) SetTimeout

func (o *DELETESuscripcionIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithAuthorization

func (o *DELETESuscripcionIDParams) WithAuthorization(authorization string) *DELETESuscripcionIDParams

WithAuthorization adds the authorization to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithBody

WithBody adds the body to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithContext

WithContext adds the context to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithHTTPClient

func (o *DELETESuscripcionIDParams) WithHTTPClient(client *http.Client) *DELETESuscripcionIDParams

WithHTTPClient adds the HTTPClient to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithID

WithID adds the id to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WithTimeout

WithTimeout adds the timeout to the d e l e t e suscripcion id params

func (*DELETESuscripcionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DELETESuscripcionIDReader

type DELETESuscripcionIDReader struct {
	// contains filtered or unexported fields
}

DELETESuscripcionIDReader is a Reader for the DELETESuscripcionID structure.

func (*DELETESuscripcionIDReader) ReadResponse

func (o *DELETESuscripcionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GETCargosIDOK

type GETCargosIDOK struct {
	Payload GETCargosIDOKBody
}

GETCargosIDOK handles this case with default header values.

GETCargosIDOK g e t cargos Id o k

func NewGETCargosIDOK

func NewGETCargosIDOK() *GETCargosIDOK

NewGETCargosIDOK creates a GETCargosIDOK with default headers values

func (*GETCargosIDOK) Error

func (o *GETCargosIDOK) Error() string

type GETCargosIDOKBody

type GETCargosIDOKBody struct {

	// creado
	// Required: true
	Creado *int64 `json:"creado"`

	// descripcion
	// Required: true
	Descripcion *string `json:"descripcion"`

	// id
	// Required: true
	ID *string `json:"id"`

	// moneda
	// Required: true
	Moneda *string `json:"moneda"`

	// monto
	// Required: true
	Monto *int64 `json:"monto"`

	// objeto
	// Required: true
	Objeto *string `json:"objeto"`

	// pedido
	// Required: true
	Pedido *string `json:"pedido"`

	// token
	// Required: true
	Token *GETCargosIDOKBodyToken `json:"token"`

	// usuario
	// Required: true
	Usuario *string `json:"usuario"`
}

GETCargosIDOKBody g e t cargos ID o k body swagger:model GETCargosIDOKBody

func (*GETCargosIDOKBody) Validate

func (o *GETCargosIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this g e t cargos ID o k body

type GETCargosIDOKBodyToken

type GETCargosIDOKBodyToken struct {

	// id
	ID string `json:"id,omitempty"`

	// objeto
	Objeto string `json:"objeto,omitempty"`

	// tarjeta
	Tarjeta *GETCargosIDOKBodyTokenTarjeta `json:"tarjeta,omitempty"`
}

GETCargosIDOKBodyToken g e t cargos ID o k body token swagger:model GETCargosIDOKBodyToken

func (*GETCargosIDOKBodyToken) Validate

func (o *GETCargosIDOKBodyToken) Validate(formats strfmt.Registry) error

Validate validates this g e t cargos ID o k body token

type GETCargosIDOKBodyTokenTarjeta

type GETCargosIDOKBodyTokenTarjeta struct {

	// apellido
	Apellido string `json:"apellido,omitempty"`

	// bin
	Bin string `json:"bin,omitempty"`

	// emisor
	Emisor string `json:"emisor,omitempty"`

	// marca
	Marca string `json:"marca,omitempty"`

	// nombre
	Nombre string `json:"nombre,omitempty"`

	// numero
	Numero string `json:"numero,omitempty"`

	// pais
	Pais string `json:"pais,omitempty"`
}

GETCargosIDOKBodyTokenTarjeta g e t cargos ID o k body token tarjeta swagger:model GETCargosIDOKBodyTokenTarjeta

func (*GETCargosIDOKBodyTokenTarjeta) Validate

func (o *GETCargosIDOKBodyTokenTarjeta) Validate(formats strfmt.Registry) error

Validate validates this g e t cargos ID o k body token tarjeta

type GETCargosIDParams

type GETCargosIDParams struct {

	/*Authorization*/
	Authorization string
	/*ID*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GETCargosIDParams contains all the parameters to send to the API endpoint for the g e t cargos id operation typically these are written to a http.Request

func NewGETCargosIDParams

func NewGETCargosIDParams() *GETCargosIDParams

NewGETCargosIDParams creates a new GETCargosIDParams object with the default values initialized.

func NewGETCargosIDParamsWithContext

func NewGETCargosIDParamsWithContext(ctx context.Context) *GETCargosIDParams

NewGETCargosIDParamsWithContext creates a new GETCargosIDParams object with the default values initialized, and the ability to set a context for a request

func NewGETCargosIDParamsWithHTTPClient

func NewGETCargosIDParamsWithHTTPClient(client *http.Client) *GETCargosIDParams

NewGETCargosIDParamsWithHTTPClient creates a new GETCargosIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGETCargosIDParamsWithTimeout

func NewGETCargosIDParamsWithTimeout(timeout time.Duration) *GETCargosIDParams

NewGETCargosIDParamsWithTimeout creates a new GETCargosIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GETCargosIDParams) SetAuthorization

func (o *GETCargosIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the g e t cargos id params

func (*GETCargosIDParams) SetContext

func (o *GETCargosIDParams) SetContext(ctx context.Context)

SetContext adds the context to the g e t cargos id params

func (*GETCargosIDParams) SetHTTPClient

func (o *GETCargosIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the g e t cargos id params

func (*GETCargosIDParams) SetID

func (o *GETCargosIDParams) SetID(id string)

SetID adds the id to the g e t cargos id params

func (*GETCargosIDParams) SetTimeout

func (o *GETCargosIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the g e t cargos id params

func (*GETCargosIDParams) WithAuthorization

func (o *GETCargosIDParams) WithAuthorization(authorization string) *GETCargosIDParams

WithAuthorization adds the authorization to the g e t cargos id params

func (*GETCargosIDParams) WithContext

func (o *GETCargosIDParams) WithContext(ctx context.Context) *GETCargosIDParams

WithContext adds the context to the g e t cargos id params

func (*GETCargosIDParams) WithHTTPClient

func (o *GETCargosIDParams) WithHTTPClient(client *http.Client) *GETCargosIDParams

WithHTTPClient adds the HTTPClient to the g e t cargos id params

func (*GETCargosIDParams) WithID

WithID adds the id to the g e t cargos id params

func (*GETCargosIDParams) WithTimeout

func (o *GETCargosIDParams) WithTimeout(timeout time.Duration) *GETCargosIDParams

WithTimeout adds the timeout to the g e t cargos id params

func (*GETCargosIDParams) WriteToRequest

func (o *GETCargosIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GETCargosIDReader

type GETCargosIDReader struct {
	// contains filtered or unexported fields
}

GETCargosIDReader is a Reader for the GETCargosID structure.

func (*GETCargosIDReader) ReadResponse

func (o *GETCargosIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type POSTCargosCargoIDDevolverBody

type POSTCargosCargoIDDevolverBody struct {

	// Puede ser el monto total o parcial del cargo.
	// Required: true
	Monto *string `json:"monto"`

	// numero pedido
	// Required: true
	NumeroPedido *string `json:"numero_pedido"`
}

POSTCargosCargoIDDevolverBody p o s t cargos cargo ID devolver body swagger:model POSTCargosCargoIDDevolverBody

type POSTCargosCargoIDDevolverDefault

type POSTCargosCargoIDDevolverDefault struct {
	Payload POSTCargosCargoIDDevolverDefaultBody
	// contains filtered or unexported fields
}

POSTCargosCargoIDDevolverDefault handles this case with default header values.

POSTCargosCargoIDDevolverDefault p o s t cargos cargo Id devolver default

func NewPOSTCargosCargoIDDevolverDefault

func NewPOSTCargosCargoIDDevolverDefault(code int) *POSTCargosCargoIDDevolverDefault

NewPOSTCargosCargoIDDevolverDefault creates a POSTCargosCargoIDDevolverDefault with default headers values

func (*POSTCargosCargoIDDevolverDefault) Code

Code gets the status code for the p o s t cargos cargo Id devolver default response

func (*POSTCargosCargoIDDevolverDefault) Error

type POSTCargosCargoIDDevolverDefaultBody

type POSTCargosCargoIDDevolverDefaultBody interface{}

POSTCargosCargoIDDevolverDefaultBody p o s t cargos cargo ID devolver default body swagger:model POSTCargosCargoIDDevolverDefaultBody

type POSTCargosCargoIDDevolverParams

type POSTCargosCargoIDDevolverParams struct {

	/*Authorization*/
	Authorization string
	/*Body*/
	Body POSTCargosCargoIDDevolverBody
	/*CargoID*/
	CargoID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

POSTCargosCargoIDDevolverParams contains all the parameters to send to the API endpoint for the p o s t cargos cargo Id devolver operation typically these are written to a http.Request

func NewPOSTCargosCargoIDDevolverParams

func NewPOSTCargosCargoIDDevolverParams() *POSTCargosCargoIDDevolverParams

NewPOSTCargosCargoIDDevolverParams creates a new POSTCargosCargoIDDevolverParams object with the default values initialized.

func NewPOSTCargosCargoIDDevolverParamsWithContext

func NewPOSTCargosCargoIDDevolverParamsWithContext(ctx context.Context) *POSTCargosCargoIDDevolverParams

NewPOSTCargosCargoIDDevolverParamsWithContext creates a new POSTCargosCargoIDDevolverParams object with the default values initialized, and the ability to set a context for a request

func NewPOSTCargosCargoIDDevolverParamsWithHTTPClient

func NewPOSTCargosCargoIDDevolverParamsWithHTTPClient(client *http.Client) *POSTCargosCargoIDDevolverParams

NewPOSTCargosCargoIDDevolverParamsWithHTTPClient creates a new POSTCargosCargoIDDevolverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPOSTCargosCargoIDDevolverParamsWithTimeout

func NewPOSTCargosCargoIDDevolverParamsWithTimeout(timeout time.Duration) *POSTCargosCargoIDDevolverParams

NewPOSTCargosCargoIDDevolverParamsWithTimeout creates a new POSTCargosCargoIDDevolverParams object with the default values initialized, and the ability to set a timeout on a request

func (*POSTCargosCargoIDDevolverParams) SetAuthorization

func (o *POSTCargosCargoIDDevolverParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) SetBody

SetBody adds the body to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) SetCargoID

func (o *POSTCargosCargoIDDevolverParams) SetCargoID(cargoID string)

SetCargoID adds the cargoId to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) SetContext

func (o *POSTCargosCargoIDDevolverParams) SetContext(ctx context.Context)

SetContext adds the context to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) SetHTTPClient

func (o *POSTCargosCargoIDDevolverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) SetTimeout

func (o *POSTCargosCargoIDDevolverParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithAuthorization

func (o *POSTCargosCargoIDDevolverParams) WithAuthorization(authorization string) *POSTCargosCargoIDDevolverParams

WithAuthorization adds the authorization to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithBody

WithBody adds the body to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithCargoID

WithCargoID adds the cargoID to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithContext

WithContext adds the context to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WithTimeout

WithTimeout adds the timeout to the p o s t cargos cargo Id devolver params

func (*POSTCargosCargoIDDevolverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type POSTCargosCargoIDDevolverReader

type POSTCargosCargoIDDevolverReader struct {
	// contains filtered or unexported fields
}

POSTCargosCargoIDDevolverReader is a Reader for the POSTCargosCargoIDDevolver structure.

func (*POSTCargosCargoIDDevolverReader) ReadResponse

func (o *POSTCargosCargoIDDevolverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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