payment_plan_controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: GPL-3.0 Imports: 10 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 payment plan controller API

func (*Client) CreateFirstSubscriptionUsingGET

func (a *Client) CreateFirstSubscriptionUsingGET(params *CreateFirstSubscriptionUsingGETParams) (*CreateFirstSubscriptionUsingGETOK, error)

CreateFirstSubscriptionUsingGET creates first subscription

func (*Client) GetCurrentPaymentPlanUsingGET

func (a *Client) GetCurrentPaymentPlanUsingGET(params *GetCurrentPaymentPlanUsingGETParams) (*GetCurrentPaymentPlanUsingGETOK, error)

GetCurrentPaymentPlanUsingGET gets current payment plan

func (*Client) HandleChargifyWebhookUsingPOST

HandleChargifyWebhookUsingPOST handles chargify webhook

func (*Client) RedirectToPurchasePlanUsingGET

func (a *Client) RedirectToPurchasePlanUsingGET(params *RedirectToPurchasePlanUsingGETParams) (*RedirectToPurchasePlanUsingGETOK, error)

RedirectToPurchasePlanUsingGET redirects to purchase plan

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateFirstSubscriptionUsingGET(params *CreateFirstSubscriptionUsingGETParams) (*CreateFirstSubscriptionUsingGETOK, error)

	GetCurrentPaymentPlanUsingGET(params *GetCurrentPaymentPlanUsingGETParams) (*GetCurrentPaymentPlanUsingGETOK, error)

	HandleChargifyWebhookUsingPOST(params *HandleChargifyWebhookUsingPOSTParams) (*HandleChargifyWebhookUsingPOSTOK, *HandleChargifyWebhookUsingPOSTCreated, error)

	RedirectToPurchasePlanUsingGET(params *RedirectToPurchasePlanUsingGETParams) (*RedirectToPurchasePlanUsingGETOK, 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 payment plan controller API client.

type CreateFirstSubscriptionUsingGETForbidden

type CreateFirstSubscriptionUsingGETForbidden struct {
}

CreateFirstSubscriptionUsingGETForbidden handles this case with default header values.

Forbidden

func NewCreateFirstSubscriptionUsingGETForbidden

func NewCreateFirstSubscriptionUsingGETForbidden() *CreateFirstSubscriptionUsingGETForbidden

NewCreateFirstSubscriptionUsingGETForbidden creates a CreateFirstSubscriptionUsingGETForbidden with default headers values

func (*CreateFirstSubscriptionUsingGETForbidden) Error

type CreateFirstSubscriptionUsingGETNotFound

type CreateFirstSubscriptionUsingGETNotFound struct {
}

CreateFirstSubscriptionUsingGETNotFound handles this case with default header values.

Not Found

func NewCreateFirstSubscriptionUsingGETNotFound

func NewCreateFirstSubscriptionUsingGETNotFound() *CreateFirstSubscriptionUsingGETNotFound

NewCreateFirstSubscriptionUsingGETNotFound creates a CreateFirstSubscriptionUsingGETNotFound with default headers values

func (*CreateFirstSubscriptionUsingGETNotFound) Error

type CreateFirstSubscriptionUsingGETOK

type CreateFirstSubscriptionUsingGETOK struct {
}

CreateFirstSubscriptionUsingGETOK handles this case with default header values.

OK

func NewCreateFirstSubscriptionUsingGETOK

func NewCreateFirstSubscriptionUsingGETOK() *CreateFirstSubscriptionUsingGETOK

NewCreateFirstSubscriptionUsingGETOK creates a CreateFirstSubscriptionUsingGETOK with default headers values

func (*CreateFirstSubscriptionUsingGETOK) Error

type CreateFirstSubscriptionUsingGETParams

type CreateFirstSubscriptionUsingGETParams struct {

	/*ID
	  subscriptionId

	*/
	ID string
	/*Ref
	  tenantId

	*/
	Ref string

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

CreateFirstSubscriptionUsingGETParams contains all the parameters to send to the API endpoint for the create first subscription using g e t operation typically these are written to a http.Request

func NewCreateFirstSubscriptionUsingGETParams

func NewCreateFirstSubscriptionUsingGETParams() *CreateFirstSubscriptionUsingGETParams

NewCreateFirstSubscriptionUsingGETParams creates a new CreateFirstSubscriptionUsingGETParams object with the default values initialized.

func NewCreateFirstSubscriptionUsingGETParamsWithContext

func NewCreateFirstSubscriptionUsingGETParamsWithContext(ctx context.Context) *CreateFirstSubscriptionUsingGETParams

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

func NewCreateFirstSubscriptionUsingGETParamsWithHTTPClient

func NewCreateFirstSubscriptionUsingGETParamsWithHTTPClient(client *http.Client) *CreateFirstSubscriptionUsingGETParams

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

func NewCreateFirstSubscriptionUsingGETParamsWithTimeout

func NewCreateFirstSubscriptionUsingGETParamsWithTimeout(timeout time.Duration) *CreateFirstSubscriptionUsingGETParams

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

func (*CreateFirstSubscriptionUsingGETParams) SetContext

SetContext adds the context to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) SetID

SetID adds the id to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) SetRef

SetRef adds the ref to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WithContext

WithContext adds the context to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WithID

WithID adds the id to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WithRef

WithRef adds the ref to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WithTimeout

WithTimeout adds the timeout to the create first subscription using g e t params

func (*CreateFirstSubscriptionUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFirstSubscriptionUsingGETReader

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

CreateFirstSubscriptionUsingGETReader is a Reader for the CreateFirstSubscriptionUsingGET structure.

func (*CreateFirstSubscriptionUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFirstSubscriptionUsingGETUnauthorized

type CreateFirstSubscriptionUsingGETUnauthorized struct {
}

CreateFirstSubscriptionUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewCreateFirstSubscriptionUsingGETUnauthorized

func NewCreateFirstSubscriptionUsingGETUnauthorized() *CreateFirstSubscriptionUsingGETUnauthorized

NewCreateFirstSubscriptionUsingGETUnauthorized creates a CreateFirstSubscriptionUsingGETUnauthorized with default headers values

func (*CreateFirstSubscriptionUsingGETUnauthorized) Error

type GetCurrentPaymentPlanUsingGETForbidden

type GetCurrentPaymentPlanUsingGETForbidden struct {
}

GetCurrentPaymentPlanUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetCurrentPaymentPlanUsingGETForbidden

func NewGetCurrentPaymentPlanUsingGETForbidden() *GetCurrentPaymentPlanUsingGETForbidden

NewGetCurrentPaymentPlanUsingGETForbidden creates a GetCurrentPaymentPlanUsingGETForbidden with default headers values

func (*GetCurrentPaymentPlanUsingGETForbidden) Error

type GetCurrentPaymentPlanUsingGETNotFound

type GetCurrentPaymentPlanUsingGETNotFound struct {
}

GetCurrentPaymentPlanUsingGETNotFound handles this case with default header values.

Not Found

func NewGetCurrentPaymentPlanUsingGETNotFound

func NewGetCurrentPaymentPlanUsingGETNotFound() *GetCurrentPaymentPlanUsingGETNotFound

NewGetCurrentPaymentPlanUsingGETNotFound creates a GetCurrentPaymentPlanUsingGETNotFound with default headers values

func (*GetCurrentPaymentPlanUsingGETNotFound) Error

type GetCurrentPaymentPlanUsingGETOK

type GetCurrentPaymentPlanUsingGETOK struct {
	Payload *models.PaymentPlanDto
}

GetCurrentPaymentPlanUsingGETOK handles this case with default header values.

OK

func NewGetCurrentPaymentPlanUsingGETOK

func NewGetCurrentPaymentPlanUsingGETOK() *GetCurrentPaymentPlanUsingGETOK

NewGetCurrentPaymentPlanUsingGETOK creates a GetCurrentPaymentPlanUsingGETOK with default headers values

func (*GetCurrentPaymentPlanUsingGETOK) Error

func (*GetCurrentPaymentPlanUsingGETOK) GetPayload

type GetCurrentPaymentPlanUsingGETParams

type GetCurrentPaymentPlanUsingGETParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCurrentPaymentPlanUsingGETParams contains all the parameters to send to the API endpoint for the get current payment plan using g e t operation typically these are written to a http.Request

func NewGetCurrentPaymentPlanUsingGETParams

func NewGetCurrentPaymentPlanUsingGETParams() *GetCurrentPaymentPlanUsingGETParams

NewGetCurrentPaymentPlanUsingGETParams creates a new GetCurrentPaymentPlanUsingGETParams object with the default values initialized.

func NewGetCurrentPaymentPlanUsingGETParamsWithContext

func NewGetCurrentPaymentPlanUsingGETParamsWithContext(ctx context.Context) *GetCurrentPaymentPlanUsingGETParams

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

func NewGetCurrentPaymentPlanUsingGETParamsWithHTTPClient

func NewGetCurrentPaymentPlanUsingGETParamsWithHTTPClient(client *http.Client) *GetCurrentPaymentPlanUsingGETParams

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

func NewGetCurrentPaymentPlanUsingGETParamsWithTimeout

func NewGetCurrentPaymentPlanUsingGETParamsWithTimeout(timeout time.Duration) *GetCurrentPaymentPlanUsingGETParams

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

func (*GetCurrentPaymentPlanUsingGETParams) SetContext

SetContext adds the context to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) WithContext

WithContext adds the context to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get current payment plan using g e t params

func (*GetCurrentPaymentPlanUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentPaymentPlanUsingGETReader

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

GetCurrentPaymentPlanUsingGETReader is a Reader for the GetCurrentPaymentPlanUsingGET structure.

func (*GetCurrentPaymentPlanUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentPaymentPlanUsingGETUnauthorized

type GetCurrentPaymentPlanUsingGETUnauthorized struct {
}

GetCurrentPaymentPlanUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetCurrentPaymentPlanUsingGETUnauthorized

func NewGetCurrentPaymentPlanUsingGETUnauthorized() *GetCurrentPaymentPlanUsingGETUnauthorized

NewGetCurrentPaymentPlanUsingGETUnauthorized creates a GetCurrentPaymentPlanUsingGETUnauthorized with default headers values

func (*GetCurrentPaymentPlanUsingGETUnauthorized) Error

type HandleChargifyWebhookUsingPOSTCreated

type HandleChargifyWebhookUsingPOSTCreated struct {
}

HandleChargifyWebhookUsingPOSTCreated handles this case with default header values.

Created

func NewHandleChargifyWebhookUsingPOSTCreated

func NewHandleChargifyWebhookUsingPOSTCreated() *HandleChargifyWebhookUsingPOSTCreated

NewHandleChargifyWebhookUsingPOSTCreated creates a HandleChargifyWebhookUsingPOSTCreated with default headers values

func (*HandleChargifyWebhookUsingPOSTCreated) Error

type HandleChargifyWebhookUsingPOSTForbidden

type HandleChargifyWebhookUsingPOSTForbidden struct {
}

HandleChargifyWebhookUsingPOSTForbidden handles this case with default header values.

Forbidden

func NewHandleChargifyWebhookUsingPOSTForbidden

func NewHandleChargifyWebhookUsingPOSTForbidden() *HandleChargifyWebhookUsingPOSTForbidden

NewHandleChargifyWebhookUsingPOSTForbidden creates a HandleChargifyWebhookUsingPOSTForbidden with default headers values

func (*HandleChargifyWebhookUsingPOSTForbidden) Error

type HandleChargifyWebhookUsingPOSTNotFound

type HandleChargifyWebhookUsingPOSTNotFound struct {
}

HandleChargifyWebhookUsingPOSTNotFound handles this case with default header values.

Not Found

func NewHandleChargifyWebhookUsingPOSTNotFound

func NewHandleChargifyWebhookUsingPOSTNotFound() *HandleChargifyWebhookUsingPOSTNotFound

NewHandleChargifyWebhookUsingPOSTNotFound creates a HandleChargifyWebhookUsingPOSTNotFound with default headers values

func (*HandleChargifyWebhookUsingPOSTNotFound) Error

type HandleChargifyWebhookUsingPOSTOK

type HandleChargifyWebhookUsingPOSTOK struct {
}

HandleChargifyWebhookUsingPOSTOK handles this case with default header values.

OK

func NewHandleChargifyWebhookUsingPOSTOK

func NewHandleChargifyWebhookUsingPOSTOK() *HandleChargifyWebhookUsingPOSTOK

NewHandleChargifyWebhookUsingPOSTOK creates a HandleChargifyWebhookUsingPOSTOK with default headers values

func (*HandleChargifyWebhookUsingPOSTOK) Error

type HandleChargifyWebhookUsingPOSTParams

type HandleChargifyWebhookUsingPOSTParams struct {

	/*Payload
	  payload

	*/
	Payload ref

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

HandleChargifyWebhookUsingPOSTParams contains all the parameters to send to the API endpoint for the handle chargify webhook using p o s t operation typically these are written to a http.Request

func NewHandleChargifyWebhookUsingPOSTParams

func NewHandleChargifyWebhookUsingPOSTParams() *HandleChargifyWebhookUsingPOSTParams

NewHandleChargifyWebhookUsingPOSTParams creates a new HandleChargifyWebhookUsingPOSTParams object with the default values initialized.

func NewHandleChargifyWebhookUsingPOSTParamsWithContext

func NewHandleChargifyWebhookUsingPOSTParamsWithContext(ctx context.Context) *HandleChargifyWebhookUsingPOSTParams

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

func NewHandleChargifyWebhookUsingPOSTParamsWithHTTPClient

func NewHandleChargifyWebhookUsingPOSTParamsWithHTTPClient(client *http.Client) *HandleChargifyWebhookUsingPOSTParams

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

func NewHandleChargifyWebhookUsingPOSTParamsWithTimeout

func NewHandleChargifyWebhookUsingPOSTParamsWithTimeout(timeout time.Duration) *HandleChargifyWebhookUsingPOSTParams

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

func (*HandleChargifyWebhookUsingPOSTParams) SetContext

SetContext adds the context to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) SetPayload

func (o *HandleChargifyWebhookUsingPOSTParams) SetPayload(payload ref)

SetPayload adds the payload to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) SetTimeout

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

SetTimeout adds the timeout to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) WithContext

WithContext adds the context to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) WithPayload

WithPayload adds the payload to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the handle chargify webhook using p o s t params

func (*HandleChargifyWebhookUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HandleChargifyWebhookUsingPOSTReader

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

HandleChargifyWebhookUsingPOSTReader is a Reader for the HandleChargifyWebhookUsingPOST structure.

func (*HandleChargifyWebhookUsingPOSTReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HandleChargifyWebhookUsingPOSTUnauthorized

type HandleChargifyWebhookUsingPOSTUnauthorized struct {
}

HandleChargifyWebhookUsingPOSTUnauthorized handles this case with default header values.

Unauthorized

func NewHandleChargifyWebhookUsingPOSTUnauthorized

func NewHandleChargifyWebhookUsingPOSTUnauthorized() *HandleChargifyWebhookUsingPOSTUnauthorized

NewHandleChargifyWebhookUsingPOSTUnauthorized creates a HandleChargifyWebhookUsingPOSTUnauthorized with default headers values

func (*HandleChargifyWebhookUsingPOSTUnauthorized) Error

type RedirectToPurchasePlanUsingGETForbidden

type RedirectToPurchasePlanUsingGETForbidden struct {
}

RedirectToPurchasePlanUsingGETForbidden handles this case with default header values.

Forbidden

func NewRedirectToPurchasePlanUsingGETForbidden

func NewRedirectToPurchasePlanUsingGETForbidden() *RedirectToPurchasePlanUsingGETForbidden

NewRedirectToPurchasePlanUsingGETForbidden creates a RedirectToPurchasePlanUsingGETForbidden with default headers values

func (*RedirectToPurchasePlanUsingGETForbidden) Error

type RedirectToPurchasePlanUsingGETNotFound

type RedirectToPurchasePlanUsingGETNotFound struct {
}

RedirectToPurchasePlanUsingGETNotFound handles this case with default header values.

Not Found

func NewRedirectToPurchasePlanUsingGETNotFound

func NewRedirectToPurchasePlanUsingGETNotFound() *RedirectToPurchasePlanUsingGETNotFound

NewRedirectToPurchasePlanUsingGETNotFound creates a RedirectToPurchasePlanUsingGETNotFound with default headers values

func (*RedirectToPurchasePlanUsingGETNotFound) Error

type RedirectToPurchasePlanUsingGETOK

type RedirectToPurchasePlanUsingGETOK struct {
}

RedirectToPurchasePlanUsingGETOK handles this case with default header values.

OK

func NewRedirectToPurchasePlanUsingGETOK

func NewRedirectToPurchasePlanUsingGETOK() *RedirectToPurchasePlanUsingGETOK

NewRedirectToPurchasePlanUsingGETOK creates a RedirectToPurchasePlanUsingGETOK with default headers values

func (*RedirectToPurchasePlanUsingGETOK) Error

type RedirectToPurchasePlanUsingGETParams

type RedirectToPurchasePlanUsingGETParams struct {

	/*Plan
	  paymentPlan

	*/
	Plan *string

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

RedirectToPurchasePlanUsingGETParams contains all the parameters to send to the API endpoint for the redirect to purchase plan using g e t operation typically these are written to a http.Request

func NewRedirectToPurchasePlanUsingGETParams

func NewRedirectToPurchasePlanUsingGETParams() *RedirectToPurchasePlanUsingGETParams

NewRedirectToPurchasePlanUsingGETParams creates a new RedirectToPurchasePlanUsingGETParams object with the default values initialized.

func NewRedirectToPurchasePlanUsingGETParamsWithContext

func NewRedirectToPurchasePlanUsingGETParamsWithContext(ctx context.Context) *RedirectToPurchasePlanUsingGETParams

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

func NewRedirectToPurchasePlanUsingGETParamsWithHTTPClient

func NewRedirectToPurchasePlanUsingGETParamsWithHTTPClient(client *http.Client) *RedirectToPurchasePlanUsingGETParams

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

func NewRedirectToPurchasePlanUsingGETParamsWithTimeout

func NewRedirectToPurchasePlanUsingGETParamsWithTimeout(timeout time.Duration) *RedirectToPurchasePlanUsingGETParams

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

func (*RedirectToPurchasePlanUsingGETParams) SetContext

SetContext adds the context to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) SetPlan

func (o *RedirectToPurchasePlanUsingGETParams) SetPlan(plan *string)

SetPlan adds the plan to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) WithContext

WithContext adds the context to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) WithPlan

WithPlan adds the plan to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) WithTimeout

WithTimeout adds the timeout to the redirect to purchase plan using g e t params

func (*RedirectToPurchasePlanUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RedirectToPurchasePlanUsingGETReader

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

RedirectToPurchasePlanUsingGETReader is a Reader for the RedirectToPurchasePlanUsingGET structure.

func (*RedirectToPurchasePlanUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RedirectToPurchasePlanUsingGETUnauthorized

type RedirectToPurchasePlanUsingGETUnauthorized struct {
}

RedirectToPurchasePlanUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewRedirectToPurchasePlanUsingGETUnauthorized

func NewRedirectToPurchasePlanUsingGETUnauthorized() *RedirectToPurchasePlanUsingGETUnauthorized

NewRedirectToPurchasePlanUsingGETUnauthorized creates a RedirectToPurchasePlanUsingGETUnauthorized with default headers values

func (*RedirectToPurchasePlanUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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