Documentation ¶
Index ¶
- type BuildComboFormDescriptorBadRequest
- type BuildComboFormDescriptorOK
- type BuildComboFormDescriptorParams
- func NewBuildComboFormDescriptorParams() *BuildComboFormDescriptorParams
- func NewBuildComboFormDescriptorParamsWithContext(ctx context.Context) *BuildComboFormDescriptorParams
- func NewBuildComboFormDescriptorParamsWithHTTPClient(client *http.Client) *BuildComboFormDescriptorParams
- func NewBuildComboFormDescriptorParamsWithTimeout(timeout time.Duration) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) SetBody(body *kbmodel.ComboHostedPaymentPage)
- func (o *BuildComboFormDescriptorParams) SetContext(ctx context.Context)
- func (o *BuildComboFormDescriptorParams) SetControlPluginName(controlPluginName []string)
- func (o *BuildComboFormDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *BuildComboFormDescriptorParams) SetPluginProperty(pluginProperty []string)
- func (o *BuildComboFormDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *BuildComboFormDescriptorParams) SetXKillbillComment(xKillbillComment *string)
- func (o *BuildComboFormDescriptorParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *BuildComboFormDescriptorParams) SetXKillbillReason(xKillbillReason *string)
- func (o *BuildComboFormDescriptorParams) WithBody(body *kbmodel.ComboHostedPaymentPage) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithContext(ctx context.Context) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithControlPluginName(controlPluginName []string) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithHTTPClient(client *http.Client) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithPluginProperty(pluginProperty []string) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithTimeout(timeout time.Duration) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithXKillbillComment(xKillbillComment *string) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WithXKillbillReason(xKillbillReason *string) *BuildComboFormDescriptorParams
- func (o *BuildComboFormDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BuildComboFormDescriptorReader
- type BuildFormDescriptorNotFound
- type BuildFormDescriptorOK
- type BuildFormDescriptorParams
- func NewBuildFormDescriptorParams() *BuildFormDescriptorParams
- func NewBuildFormDescriptorParamsWithContext(ctx context.Context) *BuildFormDescriptorParams
- func NewBuildFormDescriptorParamsWithHTTPClient(client *http.Client) *BuildFormDescriptorParams
- func NewBuildFormDescriptorParamsWithTimeout(timeout time.Duration) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) SetAccountID(accountID strfmt.UUID)
- func (o *BuildFormDescriptorParams) SetBody(body *kbmodel.HostedPaymentPageFields)
- func (o *BuildFormDescriptorParams) SetContext(ctx context.Context)
- func (o *BuildFormDescriptorParams) SetControlPluginName(controlPluginName []string)
- func (o *BuildFormDescriptorParams) SetHTTPClient(client *http.Client)
- func (o *BuildFormDescriptorParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)
- func (o *BuildFormDescriptorParams) SetPluginProperty(pluginProperty []string)
- func (o *BuildFormDescriptorParams) SetTimeout(timeout time.Duration)
- func (o *BuildFormDescriptorParams) SetXKillbillComment(xKillbillComment *string)
- func (o *BuildFormDescriptorParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *BuildFormDescriptorParams) SetXKillbillReason(xKillbillReason *string)
- func (o *BuildFormDescriptorParams) WithAccountID(accountID strfmt.UUID) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithBody(body *kbmodel.HostedPaymentPageFields) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithContext(ctx context.Context) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithControlPluginName(controlPluginName []string) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithHTTPClient(client *http.Client) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithPluginProperty(pluginProperty []string) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithTimeout(timeout time.Duration) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithXKillbillComment(xKillbillComment *string) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WithXKillbillReason(xKillbillReason *string) *BuildFormDescriptorParams
- func (o *BuildFormDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BuildFormDescriptorReader
- type Client
- func (a *Client) BuildComboFormDescriptor(ctx context.Context, params *BuildComboFormDescriptorParams) (*BuildComboFormDescriptorOK, error)
- func (a *Client) BuildFormDescriptor(ctx context.Context, params *BuildFormDescriptorParams) (*BuildFormDescriptorOK, error)
- func (a *Client) ProcessNotification(ctx context.Context, params *ProcessNotificationParams) (*ProcessNotificationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type IPaymentGateway
- type KillbillDefaults
- type ProcessNotificationOK
- type ProcessNotificationParams
- func NewProcessNotificationParams() *ProcessNotificationParams
- func NewProcessNotificationParamsWithContext(ctx context.Context) *ProcessNotificationParams
- func NewProcessNotificationParamsWithHTTPClient(client *http.Client) *ProcessNotificationParams
- func NewProcessNotificationParamsWithTimeout(timeout time.Duration) *ProcessNotificationParams
- func (o *ProcessNotificationParams) SetBody(body *string)
- func (o *ProcessNotificationParams) SetContext(ctx context.Context)
- func (o *ProcessNotificationParams) SetControlPluginName(controlPluginName []string)
- func (o *ProcessNotificationParams) SetHTTPClient(client *http.Client)
- func (o *ProcessNotificationParams) SetPluginName(pluginName string)
- func (o *ProcessNotificationParams) SetPluginProperty(pluginProperty []string)
- func (o *ProcessNotificationParams) SetTimeout(timeout time.Duration)
- func (o *ProcessNotificationParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ProcessNotificationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ProcessNotificationParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ProcessNotificationParams) WithBody(body *string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithContext(ctx context.Context) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithControlPluginName(controlPluginName []string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithHTTPClient(client *http.Client) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithPluginName(pluginName string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithPluginProperty(pluginProperty []string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithTimeout(timeout time.Duration) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithXKillbillComment(xKillbillComment *string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WithXKillbillReason(xKillbillReason *string) *ProcessNotificationParams
- func (o *ProcessNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProcessNotificationReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildComboFormDescriptorBadRequest ¶
type BuildComboFormDescriptorBadRequest struct {
HttpResponse runtime.ClientResponse
}
BuildComboFormDescriptorBadRequest handles this case with default header values.
Invalid data for Account or PaymentMethod
func NewBuildComboFormDescriptorBadRequest ¶
func NewBuildComboFormDescriptorBadRequest() *BuildComboFormDescriptorBadRequest
NewBuildComboFormDescriptorBadRequest creates a BuildComboFormDescriptorBadRequest with default headers values
func (*BuildComboFormDescriptorBadRequest) Error ¶
func (o *BuildComboFormDescriptorBadRequest) Error() string
type BuildComboFormDescriptorOK ¶
type BuildComboFormDescriptorOK struct { Payload *kbmodel.HostedPaymentPageFormDescriptor HttpResponse runtime.ClientResponse }
BuildComboFormDescriptorOK handles this case with default header values.
successful operation
func NewBuildComboFormDescriptorOK ¶
func NewBuildComboFormDescriptorOK() *BuildComboFormDescriptorOK
NewBuildComboFormDescriptorOK creates a BuildComboFormDescriptorOK with default headers values
func (*BuildComboFormDescriptorOK) Error ¶
func (o *BuildComboFormDescriptorOK) Error() string
type BuildComboFormDescriptorParams ¶
type BuildComboFormDescriptorParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *kbmodel.ComboHostedPaymentPage /*ControlPluginName*/ ControlPluginName []string /*PluginProperty*/ PluginProperty []string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
BuildComboFormDescriptorParams contains all the parameters to send to the API endpoint for the build combo form descriptor operation typically these are written to a http.Request
func NewBuildComboFormDescriptorParams ¶
func NewBuildComboFormDescriptorParams() *BuildComboFormDescriptorParams
NewBuildComboFormDescriptorParams creates a new BuildComboFormDescriptorParams object with the default values initialized.
func NewBuildComboFormDescriptorParamsWithContext ¶
func NewBuildComboFormDescriptorParamsWithContext(ctx context.Context) *BuildComboFormDescriptorParams
NewBuildComboFormDescriptorParamsWithContext creates a new BuildComboFormDescriptorParams object with the default values initialized, and the ability to set a context for a request
func NewBuildComboFormDescriptorParamsWithHTTPClient ¶
func NewBuildComboFormDescriptorParamsWithHTTPClient(client *http.Client) *BuildComboFormDescriptorParams
NewBuildComboFormDescriptorParamsWithHTTPClient creates a new BuildComboFormDescriptorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBuildComboFormDescriptorParamsWithTimeout ¶
func NewBuildComboFormDescriptorParamsWithTimeout(timeout time.Duration) *BuildComboFormDescriptorParams
NewBuildComboFormDescriptorParamsWithTimeout creates a new BuildComboFormDescriptorParams object with the default values initialized, and the ability to set a timeout on a request
func (*BuildComboFormDescriptorParams) SetBody ¶
func (o *BuildComboFormDescriptorParams) SetBody(body *kbmodel.ComboHostedPaymentPage)
SetBody adds the body to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetContext ¶
func (o *BuildComboFormDescriptorParams) SetContext(ctx context.Context)
SetContext adds the context to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetControlPluginName ¶
func (o *BuildComboFormDescriptorParams) SetControlPluginName(controlPluginName []string)
SetControlPluginName adds the controlPluginName to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetHTTPClient ¶
func (o *BuildComboFormDescriptorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetPluginProperty ¶
func (o *BuildComboFormDescriptorParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetTimeout ¶
func (o *BuildComboFormDescriptorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetXKillbillComment ¶
func (o *BuildComboFormDescriptorParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetXKillbillCreatedBy ¶
func (o *BuildComboFormDescriptorParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) SetXKillbillReason ¶
func (o *BuildComboFormDescriptorParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithBody ¶
func (o *BuildComboFormDescriptorParams) WithBody(body *kbmodel.ComboHostedPaymentPage) *BuildComboFormDescriptorParams
WithBody adds the body to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithContext ¶
func (o *BuildComboFormDescriptorParams) WithContext(ctx context.Context) *BuildComboFormDescriptorParams
WithContext adds the context to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithControlPluginName ¶
func (o *BuildComboFormDescriptorParams) WithControlPluginName(controlPluginName []string) *BuildComboFormDescriptorParams
WithControlPluginName adds the controlPluginName to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithHTTPClient ¶
func (o *BuildComboFormDescriptorParams) WithHTTPClient(client *http.Client) *BuildComboFormDescriptorParams
WithHTTPClient adds the HTTPClient to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithPluginProperty ¶
func (o *BuildComboFormDescriptorParams) WithPluginProperty(pluginProperty []string) *BuildComboFormDescriptorParams
WithPluginProperty adds the pluginProperty to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithTimeout ¶
func (o *BuildComboFormDescriptorParams) WithTimeout(timeout time.Duration) *BuildComboFormDescriptorParams
WithTimeout adds the timeout to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithXKillbillComment ¶
func (o *BuildComboFormDescriptorParams) WithXKillbillComment(xKillbillComment *string) *BuildComboFormDescriptorParams
WithXKillbillComment adds the xKillbillComment to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithXKillbillCreatedBy ¶
func (o *BuildComboFormDescriptorParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *BuildComboFormDescriptorParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WithXKillbillReason ¶
func (o *BuildComboFormDescriptorParams) WithXKillbillReason(xKillbillReason *string) *BuildComboFormDescriptorParams
WithXKillbillReason adds the xKillbillReason to the build combo form descriptor params
func (*BuildComboFormDescriptorParams) WriteToRequest ¶
func (o *BuildComboFormDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BuildComboFormDescriptorReader ¶
type BuildComboFormDescriptorReader struct {
// contains filtered or unexported fields
}
BuildComboFormDescriptorReader is a Reader for the BuildComboFormDescriptor structure.
func (*BuildComboFormDescriptorReader) ReadResponse ¶
func (o *BuildComboFormDescriptorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BuildFormDescriptorNotFound ¶
type BuildFormDescriptorNotFound struct {
HttpResponse runtime.ClientResponse
}
BuildFormDescriptorNotFound handles this case with default header values.
Account not found
func NewBuildFormDescriptorNotFound ¶
func NewBuildFormDescriptorNotFound() *BuildFormDescriptorNotFound
NewBuildFormDescriptorNotFound creates a BuildFormDescriptorNotFound with default headers values
func (*BuildFormDescriptorNotFound) Error ¶
func (o *BuildFormDescriptorNotFound) Error() string
type BuildFormDescriptorOK ¶
type BuildFormDescriptorOK struct { Payload *kbmodel.HostedPaymentPageFormDescriptor HttpResponse runtime.ClientResponse }
BuildFormDescriptorOK handles this case with default header values.
successful operation
func NewBuildFormDescriptorOK ¶
func NewBuildFormDescriptorOK() *BuildFormDescriptorOK
NewBuildFormDescriptorOK creates a BuildFormDescriptorOK with default headers values
func (*BuildFormDescriptorOK) Error ¶
func (o *BuildFormDescriptorOK) Error() string
type BuildFormDescriptorParams ¶
type BuildFormDescriptorParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*AccountID*/ AccountID strfmt.UUID /*Body*/ Body *kbmodel.HostedPaymentPageFields /*ControlPluginName*/ ControlPluginName []string /*PaymentMethodID*/ PaymentMethodID *strfmt.UUID /*PluginProperty*/ PluginProperty []string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
BuildFormDescriptorParams contains all the parameters to send to the API endpoint for the build form descriptor operation typically these are written to a http.Request
func NewBuildFormDescriptorParams ¶
func NewBuildFormDescriptorParams() *BuildFormDescriptorParams
NewBuildFormDescriptorParams creates a new BuildFormDescriptorParams object with the default values initialized.
func NewBuildFormDescriptorParamsWithContext ¶
func NewBuildFormDescriptorParamsWithContext(ctx context.Context) *BuildFormDescriptorParams
NewBuildFormDescriptorParamsWithContext creates a new BuildFormDescriptorParams object with the default values initialized, and the ability to set a context for a request
func NewBuildFormDescriptorParamsWithHTTPClient ¶
func NewBuildFormDescriptorParamsWithHTTPClient(client *http.Client) *BuildFormDescriptorParams
NewBuildFormDescriptorParamsWithHTTPClient creates a new BuildFormDescriptorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBuildFormDescriptorParamsWithTimeout ¶
func NewBuildFormDescriptorParamsWithTimeout(timeout time.Duration) *BuildFormDescriptorParams
NewBuildFormDescriptorParamsWithTimeout creates a new BuildFormDescriptorParams object with the default values initialized, and the ability to set a timeout on a request
func (*BuildFormDescriptorParams) SetAccountID ¶
func (o *BuildFormDescriptorParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the build form descriptor params
func (*BuildFormDescriptorParams) SetBody ¶
func (o *BuildFormDescriptorParams) SetBody(body *kbmodel.HostedPaymentPageFields)
SetBody adds the body to the build form descriptor params
func (*BuildFormDescriptorParams) SetContext ¶
func (o *BuildFormDescriptorParams) SetContext(ctx context.Context)
SetContext adds the context to the build form descriptor params
func (*BuildFormDescriptorParams) SetControlPluginName ¶
func (o *BuildFormDescriptorParams) SetControlPluginName(controlPluginName []string)
SetControlPluginName adds the controlPluginName to the build form descriptor params
func (*BuildFormDescriptorParams) SetHTTPClient ¶
func (o *BuildFormDescriptorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the build form descriptor params
func (*BuildFormDescriptorParams) SetPaymentMethodID ¶
func (o *BuildFormDescriptorParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)
SetPaymentMethodID adds the paymentMethodId to the build form descriptor params
func (*BuildFormDescriptorParams) SetPluginProperty ¶
func (o *BuildFormDescriptorParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the build form descriptor params
func (*BuildFormDescriptorParams) SetTimeout ¶
func (o *BuildFormDescriptorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the build form descriptor params
func (*BuildFormDescriptorParams) SetXKillbillComment ¶
func (o *BuildFormDescriptorParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the build form descriptor params
func (*BuildFormDescriptorParams) SetXKillbillCreatedBy ¶
func (o *BuildFormDescriptorParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the build form descriptor params
func (*BuildFormDescriptorParams) SetXKillbillReason ¶
func (o *BuildFormDescriptorParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the build form descriptor params
func (*BuildFormDescriptorParams) WithAccountID ¶
func (o *BuildFormDescriptorParams) WithAccountID(accountID strfmt.UUID) *BuildFormDescriptorParams
WithAccountID adds the accountID to the build form descriptor params
func (*BuildFormDescriptorParams) WithBody ¶
func (o *BuildFormDescriptorParams) WithBody(body *kbmodel.HostedPaymentPageFields) *BuildFormDescriptorParams
WithBody adds the body to the build form descriptor params
func (*BuildFormDescriptorParams) WithContext ¶
func (o *BuildFormDescriptorParams) WithContext(ctx context.Context) *BuildFormDescriptorParams
WithContext adds the context to the build form descriptor params
func (*BuildFormDescriptorParams) WithControlPluginName ¶
func (o *BuildFormDescriptorParams) WithControlPluginName(controlPluginName []string) *BuildFormDescriptorParams
WithControlPluginName adds the controlPluginName to the build form descriptor params
func (*BuildFormDescriptorParams) WithHTTPClient ¶
func (o *BuildFormDescriptorParams) WithHTTPClient(client *http.Client) *BuildFormDescriptorParams
WithHTTPClient adds the HTTPClient to the build form descriptor params
func (*BuildFormDescriptorParams) WithPaymentMethodID ¶
func (o *BuildFormDescriptorParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *BuildFormDescriptorParams
WithPaymentMethodID adds the paymentMethodID to the build form descriptor params
func (*BuildFormDescriptorParams) WithPluginProperty ¶
func (o *BuildFormDescriptorParams) WithPluginProperty(pluginProperty []string) *BuildFormDescriptorParams
WithPluginProperty adds the pluginProperty to the build form descriptor params
func (*BuildFormDescriptorParams) WithTimeout ¶
func (o *BuildFormDescriptorParams) WithTimeout(timeout time.Duration) *BuildFormDescriptorParams
WithTimeout adds the timeout to the build form descriptor params
func (*BuildFormDescriptorParams) WithXKillbillComment ¶
func (o *BuildFormDescriptorParams) WithXKillbillComment(xKillbillComment *string) *BuildFormDescriptorParams
WithXKillbillComment adds the xKillbillComment to the build form descriptor params
func (*BuildFormDescriptorParams) WithXKillbillCreatedBy ¶
func (o *BuildFormDescriptorParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *BuildFormDescriptorParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the build form descriptor params
func (*BuildFormDescriptorParams) WithXKillbillReason ¶
func (o *BuildFormDescriptorParams) WithXKillbillReason(xKillbillReason *string) *BuildFormDescriptorParams
WithXKillbillReason adds the xKillbillReason to the build form descriptor params
func (*BuildFormDescriptorParams) WriteToRequest ¶
func (o *BuildFormDescriptorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BuildFormDescriptorReader ¶
type BuildFormDescriptorReader struct {
// contains filtered or unexported fields
}
BuildFormDescriptorReader is a Reader for the BuildFormDescriptor structure.
func (*BuildFormDescriptorReader) ReadResponse ¶
func (o *BuildFormDescriptorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for payment gateway API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new payment gateway API client.
func (*Client) BuildComboFormDescriptor ¶
func (a *Client) BuildComboFormDescriptor(ctx context.Context, params *BuildComboFormDescriptorParams) (*BuildComboFormDescriptorOK, error)
BuildComboFormDescriptor combos API to generate form data to redirect the customer to the gateway
func (*Client) BuildFormDescriptor ¶
func (a *Client) BuildFormDescriptor(ctx context.Context, params *BuildFormDescriptorParams) (*BuildFormDescriptorOK, error)
BuildFormDescriptor generates form data to redirect the customer to the gateway
func (*Client) ProcessNotification ¶
func (a *Client) ProcessNotification(ctx context.Context, params *ProcessNotificationParams) (*ProcessNotificationOK, error)
ProcessNotification processes a gateway notification
The response is built by the appropriate plugin
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type IPaymentGateway ¶
type IPaymentGateway interface { /* BuildComboFormDescriptor combos API to generate form data to redirect the customer to the gateway */ BuildComboFormDescriptor(ctx context.Context, params *BuildComboFormDescriptorParams) (*BuildComboFormDescriptorOK, error) /* BuildFormDescriptor generates form data to redirect the customer to the gateway */ BuildFormDescriptor(ctx context.Context, params *BuildFormDescriptorParams) (*BuildFormDescriptorOK, error) /* ProcessNotification processes a gateway notification The response is built by the appropriate plugin */ ProcessNotification(ctx context.Context, params *ProcessNotificationParams) (*ProcessNotificationOK, error) }
IPaymentGateway - interface for PaymentGateway client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
type ProcessNotificationOK ¶
type ProcessNotificationOK struct {
HttpResponse runtime.ClientResponse
}
ProcessNotificationOK handles this case with default header values.
Successful
func NewProcessNotificationOK ¶
func NewProcessNotificationOK() *ProcessNotificationOK
NewProcessNotificationOK creates a ProcessNotificationOK with default headers values
func (*ProcessNotificationOK) Error ¶
func (o *ProcessNotificationOK) Error() string
type ProcessNotificationParams ¶
type ProcessNotificationParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*Body*/ Body *string /*ControlPluginName*/ ControlPluginName []string /*PluginName*/ PluginName string /*PluginProperty*/ PluginProperty []string WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
ProcessNotificationParams contains all the parameters to send to the API endpoint for the process notification operation typically these are written to a http.Request
func NewProcessNotificationParams ¶
func NewProcessNotificationParams() *ProcessNotificationParams
NewProcessNotificationParams creates a new ProcessNotificationParams object with the default values initialized.
func NewProcessNotificationParamsWithContext ¶
func NewProcessNotificationParamsWithContext(ctx context.Context) *ProcessNotificationParams
NewProcessNotificationParamsWithContext creates a new ProcessNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewProcessNotificationParamsWithHTTPClient ¶
func NewProcessNotificationParamsWithHTTPClient(client *http.Client) *ProcessNotificationParams
NewProcessNotificationParamsWithHTTPClient creates a new ProcessNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProcessNotificationParamsWithTimeout ¶
func NewProcessNotificationParamsWithTimeout(timeout time.Duration) *ProcessNotificationParams
NewProcessNotificationParamsWithTimeout creates a new ProcessNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProcessNotificationParams) SetBody ¶
func (o *ProcessNotificationParams) SetBody(body *string)
SetBody adds the body to the process notification params
func (*ProcessNotificationParams) SetContext ¶
func (o *ProcessNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the process notification params
func (*ProcessNotificationParams) SetControlPluginName ¶
func (o *ProcessNotificationParams) SetControlPluginName(controlPluginName []string)
SetControlPluginName adds the controlPluginName to the process notification params
func (*ProcessNotificationParams) SetHTTPClient ¶
func (o *ProcessNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the process notification params
func (*ProcessNotificationParams) SetPluginName ¶
func (o *ProcessNotificationParams) SetPluginName(pluginName string)
SetPluginName adds the pluginName to the process notification params
func (*ProcessNotificationParams) SetPluginProperty ¶
func (o *ProcessNotificationParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the process notification params
func (*ProcessNotificationParams) SetTimeout ¶
func (o *ProcessNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the process notification params
func (*ProcessNotificationParams) SetXKillbillComment ¶
func (o *ProcessNotificationParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the process notification params
func (*ProcessNotificationParams) SetXKillbillCreatedBy ¶
func (o *ProcessNotificationParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the process notification params
func (*ProcessNotificationParams) SetXKillbillReason ¶
func (o *ProcessNotificationParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the process notification params
func (*ProcessNotificationParams) WithBody ¶
func (o *ProcessNotificationParams) WithBody(body *string) *ProcessNotificationParams
WithBody adds the body to the process notification params
func (*ProcessNotificationParams) WithContext ¶
func (o *ProcessNotificationParams) WithContext(ctx context.Context) *ProcessNotificationParams
WithContext adds the context to the process notification params
func (*ProcessNotificationParams) WithControlPluginName ¶
func (o *ProcessNotificationParams) WithControlPluginName(controlPluginName []string) *ProcessNotificationParams
WithControlPluginName adds the controlPluginName to the process notification params
func (*ProcessNotificationParams) WithHTTPClient ¶
func (o *ProcessNotificationParams) WithHTTPClient(client *http.Client) *ProcessNotificationParams
WithHTTPClient adds the HTTPClient to the process notification params
func (*ProcessNotificationParams) WithPluginName ¶
func (o *ProcessNotificationParams) WithPluginName(pluginName string) *ProcessNotificationParams
WithPluginName adds the pluginName to the process notification params
func (*ProcessNotificationParams) WithPluginProperty ¶
func (o *ProcessNotificationParams) WithPluginProperty(pluginProperty []string) *ProcessNotificationParams
WithPluginProperty adds the pluginProperty to the process notification params
func (*ProcessNotificationParams) WithTimeout ¶
func (o *ProcessNotificationParams) WithTimeout(timeout time.Duration) *ProcessNotificationParams
WithTimeout adds the timeout to the process notification params
func (*ProcessNotificationParams) WithXKillbillComment ¶
func (o *ProcessNotificationParams) WithXKillbillComment(xKillbillComment *string) *ProcessNotificationParams
WithXKillbillComment adds the xKillbillComment to the process notification params
func (*ProcessNotificationParams) WithXKillbillCreatedBy ¶
func (o *ProcessNotificationParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ProcessNotificationParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the process notification params
func (*ProcessNotificationParams) WithXKillbillReason ¶
func (o *ProcessNotificationParams) WithXKillbillReason(xKillbillReason *string) *ProcessNotificationParams
WithXKillbillReason adds the xKillbillReason to the process notification params
func (*ProcessNotificationParams) WriteToRequest ¶
func (o *ProcessNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProcessNotificationReader ¶
type ProcessNotificationReader struct {
// contains filtered or unexported fields
}
ProcessNotificationReader is a Reader for the ProcessNotification structure.
func (*ProcessNotificationReader) ReadResponse ¶
func (o *ProcessNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.