Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateFirstSubscriptionUsingGET(params *CreateFirstSubscriptionUsingGETParams) (*CreateFirstSubscriptionUsingGETOK, error)
- func (a *Client) GetCurrentPaymentPlanUsingGET(params *GetCurrentPaymentPlanUsingGETParams) (*GetCurrentPaymentPlanUsingGETOK, error)
- func (a *Client) HandleChargifyWebhookUsingPOST(params *HandleChargifyWebhookUsingPOSTParams) (*HandleChargifyWebhookUsingPOSTOK, *HandleChargifyWebhookUsingPOSTCreated, ...)
- func (a *Client) RedirectToPurchasePlanUsingGET(params *RedirectToPurchasePlanUsingGETParams) (*RedirectToPurchasePlanUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateFirstSubscriptionUsingGETForbidden
- type CreateFirstSubscriptionUsingGETNotFound
- type CreateFirstSubscriptionUsingGETOK
- type CreateFirstSubscriptionUsingGETParams
- func NewCreateFirstSubscriptionUsingGETParams() *CreateFirstSubscriptionUsingGETParams
- func NewCreateFirstSubscriptionUsingGETParamsWithContext(ctx context.Context) *CreateFirstSubscriptionUsingGETParams
- func NewCreateFirstSubscriptionUsingGETParamsWithHTTPClient(client *http.Client) *CreateFirstSubscriptionUsingGETParams
- func NewCreateFirstSubscriptionUsingGETParamsWithTimeout(timeout time.Duration) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) SetContext(ctx context.Context)
- func (o *CreateFirstSubscriptionUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *CreateFirstSubscriptionUsingGETParams) SetID(id string)
- func (o *CreateFirstSubscriptionUsingGETParams) SetRef(ref string)
- func (o *CreateFirstSubscriptionUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *CreateFirstSubscriptionUsingGETParams) WithContext(ctx context.Context) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) WithHTTPClient(client *http.Client) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) WithID(id string) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) WithRef(ref string) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) WithTimeout(timeout time.Duration) *CreateFirstSubscriptionUsingGETParams
- func (o *CreateFirstSubscriptionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFirstSubscriptionUsingGETReader
- type CreateFirstSubscriptionUsingGETUnauthorized
- type GetCurrentPaymentPlanUsingGETForbidden
- type GetCurrentPaymentPlanUsingGETNotFound
- type GetCurrentPaymentPlanUsingGETOK
- type GetCurrentPaymentPlanUsingGETParams
- func NewGetCurrentPaymentPlanUsingGETParams() *GetCurrentPaymentPlanUsingGETParams
- func NewGetCurrentPaymentPlanUsingGETParamsWithContext(ctx context.Context) *GetCurrentPaymentPlanUsingGETParams
- func NewGetCurrentPaymentPlanUsingGETParamsWithHTTPClient(client *http.Client) *GetCurrentPaymentPlanUsingGETParams
- func NewGetCurrentPaymentPlanUsingGETParamsWithTimeout(timeout time.Duration) *GetCurrentPaymentPlanUsingGETParams
- func (o *GetCurrentPaymentPlanUsingGETParams) SetContext(ctx context.Context)
- func (o *GetCurrentPaymentPlanUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentPaymentPlanUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentPaymentPlanUsingGETParams) WithContext(ctx context.Context) *GetCurrentPaymentPlanUsingGETParams
- func (o *GetCurrentPaymentPlanUsingGETParams) WithHTTPClient(client *http.Client) *GetCurrentPaymentPlanUsingGETParams
- func (o *GetCurrentPaymentPlanUsingGETParams) WithTimeout(timeout time.Duration) *GetCurrentPaymentPlanUsingGETParams
- func (o *GetCurrentPaymentPlanUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentPaymentPlanUsingGETReader
- type GetCurrentPaymentPlanUsingGETUnauthorized
- type HandleChargifyWebhookUsingPOSTCreated
- type HandleChargifyWebhookUsingPOSTForbidden
- type HandleChargifyWebhookUsingPOSTNotFound
- type HandleChargifyWebhookUsingPOSTOK
- type HandleChargifyWebhookUsingPOSTParams
- func NewHandleChargifyWebhookUsingPOSTParams() *HandleChargifyWebhookUsingPOSTParams
- func NewHandleChargifyWebhookUsingPOSTParamsWithContext(ctx context.Context) *HandleChargifyWebhookUsingPOSTParams
- func NewHandleChargifyWebhookUsingPOSTParamsWithHTTPClient(client *http.Client) *HandleChargifyWebhookUsingPOSTParams
- func NewHandleChargifyWebhookUsingPOSTParamsWithTimeout(timeout time.Duration) *HandleChargifyWebhookUsingPOSTParams
- func (o *HandleChargifyWebhookUsingPOSTParams) SetContext(ctx context.Context)
- func (o *HandleChargifyWebhookUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *HandleChargifyWebhookUsingPOSTParams) SetPayload(payload ref)
- func (o *HandleChargifyWebhookUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *HandleChargifyWebhookUsingPOSTParams) WithContext(ctx context.Context) *HandleChargifyWebhookUsingPOSTParams
- func (o *HandleChargifyWebhookUsingPOSTParams) WithHTTPClient(client *http.Client) *HandleChargifyWebhookUsingPOSTParams
- func (o *HandleChargifyWebhookUsingPOSTParams) WithPayload(payload ref) *HandleChargifyWebhookUsingPOSTParams
- func (o *HandleChargifyWebhookUsingPOSTParams) WithTimeout(timeout time.Duration) *HandleChargifyWebhookUsingPOSTParams
- func (o *HandleChargifyWebhookUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HandleChargifyWebhookUsingPOSTReader
- type HandleChargifyWebhookUsingPOSTUnauthorized
- type RedirectToPurchasePlanUsingGETForbidden
- type RedirectToPurchasePlanUsingGETNotFound
- type RedirectToPurchasePlanUsingGETOK
- type RedirectToPurchasePlanUsingGETParams
- func NewRedirectToPurchasePlanUsingGETParams() *RedirectToPurchasePlanUsingGETParams
- func NewRedirectToPurchasePlanUsingGETParamsWithContext(ctx context.Context) *RedirectToPurchasePlanUsingGETParams
- func NewRedirectToPurchasePlanUsingGETParamsWithHTTPClient(client *http.Client) *RedirectToPurchasePlanUsingGETParams
- func NewRedirectToPurchasePlanUsingGETParamsWithTimeout(timeout time.Duration) *RedirectToPurchasePlanUsingGETParams
- func (o *RedirectToPurchasePlanUsingGETParams) SetContext(ctx context.Context)
- func (o *RedirectToPurchasePlanUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *RedirectToPurchasePlanUsingGETParams) SetPlan(plan *string)
- func (o *RedirectToPurchasePlanUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *RedirectToPurchasePlanUsingGETParams) WithContext(ctx context.Context) *RedirectToPurchasePlanUsingGETParams
- func (o *RedirectToPurchasePlanUsingGETParams) WithHTTPClient(client *http.Client) *RedirectToPurchasePlanUsingGETParams
- func (o *RedirectToPurchasePlanUsingGETParams) WithPlan(plan *string) *RedirectToPurchasePlanUsingGETParams
- func (o *RedirectToPurchasePlanUsingGETParams) WithTimeout(timeout time.Duration) *RedirectToPurchasePlanUsingGETParams
- func (o *RedirectToPurchasePlanUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RedirectToPurchasePlanUsingGETReader
- type RedirectToPurchasePlanUsingGETUnauthorized
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 ¶
func (a *Client) HandleChargifyWebhookUsingPOST(params *HandleChargifyWebhookUsingPOSTParams) (*HandleChargifyWebhookUsingPOSTOK, *HandleChargifyWebhookUsingPOSTCreated, error)
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 ¶
func (o *CreateFirstSubscriptionUsingGETForbidden) Error() string
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 ¶
func (o *CreateFirstSubscriptionUsingGETNotFound) Error() string
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 ¶
func (o *CreateFirstSubscriptionUsingGETOK) Error() string
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 ¶
func (o *CreateFirstSubscriptionUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateFirstSubscriptionUsingGETParams) SetID(id string)
SetID adds the id to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) SetRef ¶
func (o *CreateFirstSubscriptionUsingGETParams) SetRef(ref string)
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 ¶
func (o *CreateFirstSubscriptionUsingGETParams) WithContext(ctx context.Context) *CreateFirstSubscriptionUsingGETParams
WithContext adds the context to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) WithHTTPClient ¶
func (o *CreateFirstSubscriptionUsingGETParams) WithHTTPClient(client *http.Client) *CreateFirstSubscriptionUsingGETParams
WithHTTPClient adds the HTTPClient to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) WithID ¶
func (o *CreateFirstSubscriptionUsingGETParams) WithID(id string) *CreateFirstSubscriptionUsingGETParams
WithID adds the id to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) WithRef ¶
func (o *CreateFirstSubscriptionUsingGETParams) WithRef(ref string) *CreateFirstSubscriptionUsingGETParams
WithRef adds the ref to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) WithTimeout ¶
func (o *CreateFirstSubscriptionUsingGETParams) WithTimeout(timeout time.Duration) *CreateFirstSubscriptionUsingGETParams
WithTimeout adds the timeout to the create first subscription using g e t params
func (*CreateFirstSubscriptionUsingGETParams) WriteToRequest ¶
func (o *CreateFirstSubscriptionUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateFirstSubscriptionUsingGETUnauthorized) Error() string
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 ¶
func (o *GetCurrentPaymentPlanUsingGETForbidden) Error() string
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 ¶
func (o *GetCurrentPaymentPlanUsingGETNotFound) Error() string
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 (o *GetCurrentPaymentPlanUsingGETOK) Error() string
func (*GetCurrentPaymentPlanUsingGETOK) GetPayload ¶
func (o *GetCurrentPaymentPlanUsingGETOK) GetPayload() *models.PaymentPlanDto
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 ¶
func (o *GetCurrentPaymentPlanUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCurrentPaymentPlanUsingGETParams) WithContext(ctx context.Context) *GetCurrentPaymentPlanUsingGETParams
WithContext adds the context to the get current payment plan using g e t params
func (*GetCurrentPaymentPlanUsingGETParams) WithHTTPClient ¶
func (o *GetCurrentPaymentPlanUsingGETParams) WithHTTPClient(client *http.Client) *GetCurrentPaymentPlanUsingGETParams
WithHTTPClient adds the HTTPClient to the get current payment plan using g e t params
func (*GetCurrentPaymentPlanUsingGETParams) WithTimeout ¶
func (o *GetCurrentPaymentPlanUsingGETParams) WithTimeout(timeout time.Duration) *GetCurrentPaymentPlanUsingGETParams
WithTimeout adds the timeout to the get current payment plan using g e t params
func (*GetCurrentPaymentPlanUsingGETParams) WriteToRequest ¶
func (o *GetCurrentPaymentPlanUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCurrentPaymentPlanUsingGETUnauthorized) Error() string
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 ¶
func (o *HandleChargifyWebhookUsingPOSTCreated) Error() string
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 ¶
func (o *HandleChargifyWebhookUsingPOSTForbidden) Error() string
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 ¶
func (o *HandleChargifyWebhookUsingPOSTNotFound) Error() string
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 ¶
func (o *HandleChargifyWebhookUsingPOSTOK) Error() string
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 ¶
func (o *HandleChargifyWebhookUsingPOSTParams) SetContext(ctx context.Context)
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 ¶
func (o *HandleChargifyWebhookUsingPOSTParams) WithContext(ctx context.Context) *HandleChargifyWebhookUsingPOSTParams
WithContext adds the context to the handle chargify webhook using p o s t params
func (*HandleChargifyWebhookUsingPOSTParams) WithHTTPClient ¶
func (o *HandleChargifyWebhookUsingPOSTParams) WithHTTPClient(client *http.Client) *HandleChargifyWebhookUsingPOSTParams
WithHTTPClient adds the HTTPClient to the handle chargify webhook using p o s t params
func (*HandleChargifyWebhookUsingPOSTParams) WithPayload ¶
func (o *HandleChargifyWebhookUsingPOSTParams) WithPayload(payload ref) *HandleChargifyWebhookUsingPOSTParams
WithPayload adds the payload to the handle chargify webhook using p o s t params
func (*HandleChargifyWebhookUsingPOSTParams) WithTimeout ¶
func (o *HandleChargifyWebhookUsingPOSTParams) WithTimeout(timeout time.Duration) *HandleChargifyWebhookUsingPOSTParams
WithTimeout adds the timeout to the handle chargify webhook using p o s t params
func (*HandleChargifyWebhookUsingPOSTParams) WriteToRequest ¶
func (o *HandleChargifyWebhookUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *HandleChargifyWebhookUsingPOSTUnauthorized) Error() string
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 ¶
func (o *RedirectToPurchasePlanUsingGETForbidden) Error() string
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 ¶
func (o *RedirectToPurchasePlanUsingGETNotFound) Error() string
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 ¶
func (o *RedirectToPurchasePlanUsingGETOK) Error() string
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 ¶
func (o *RedirectToPurchasePlanUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *RedirectToPurchasePlanUsingGETParams) WithContext(ctx context.Context) *RedirectToPurchasePlanUsingGETParams
WithContext adds the context to the redirect to purchase plan using g e t params
func (*RedirectToPurchasePlanUsingGETParams) WithHTTPClient ¶
func (o *RedirectToPurchasePlanUsingGETParams) WithHTTPClient(client *http.Client) *RedirectToPurchasePlanUsingGETParams
WithHTTPClient adds the HTTPClient to the redirect to purchase plan using g e t params
func (*RedirectToPurchasePlanUsingGETParams) WithPlan ¶
func (o *RedirectToPurchasePlanUsingGETParams) WithPlan(plan *string) *RedirectToPurchasePlanUsingGETParams
WithPlan adds the plan to the redirect to purchase plan using g e t params
func (*RedirectToPurchasePlanUsingGETParams) WithTimeout ¶
func (o *RedirectToPurchasePlanUsingGETParams) WithTimeout(timeout time.Duration) *RedirectToPurchasePlanUsingGETParams
WithTimeout adds the timeout to the redirect to purchase plan using g e t params
func (*RedirectToPurchasePlanUsingGETParams) WriteToRequest ¶
func (o *RedirectToPurchasePlanUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RedirectToPurchasePlanUsingGETUnauthorized) Error() string
Source Files
¶
- create_first_subscription_using_g_e_t_parameters.go
- create_first_subscription_using_g_e_t_responses.go
- get_current_payment_plan_using_g_e_t_parameters.go
- get_current_payment_plan_using_g_e_t_responses.go
- handle_chargify_webhook_using_p_o_s_t_parameters.go
- handle_chargify_webhook_using_p_o_s_t_responses.go
- payment_plan_controller_client.go
- redirect_to_purchase_plan_using_g_e_t_parameters.go
- redirect_to_purchase_plan_using_g_e_t_responses.go