Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type VerifyGooglePlayPurchaseDefault
- type VerifyGooglePlayPurchaseOK
- type VerifyGooglePlayPurchaseParams
- func NewVerifyGooglePlayPurchaseParams() *VerifyGooglePlayPurchaseParams
- func NewVerifyGooglePlayPurchaseParamsWithContext(ctx context.Context) *VerifyGooglePlayPurchaseParams
- func NewVerifyGooglePlayPurchaseParamsWithHTTPClient(client *http.Client) *VerifyGooglePlayPurchaseParams
- func NewVerifyGooglePlayPurchaseParamsWithTimeout(timeout time.Duration) *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) SetContext(ctx context.Context)
- func (o *VerifyGooglePlayPurchaseParams) SetDefaults()
- func (o *VerifyGooglePlayPurchaseParams) SetHTTPClient(client *http.Client)
- func (o *VerifyGooglePlayPurchaseParams) SetRequest(request *models.GooglePlayPurchaseVerificationRequest)
- func (o *VerifyGooglePlayPurchaseParams) SetTimeout(timeout time.Duration)
- func (o *VerifyGooglePlayPurchaseParams) WithContext(ctx context.Context) *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) WithDefaults() *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) WithHTTPClient(client *http.Client) *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) WithRequest(request *models.GooglePlayPurchaseVerificationRequest) *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) WithTimeout(timeout time.Duration) *VerifyGooglePlayPurchaseParams
- func (o *VerifyGooglePlayPurchaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyGooglePlayPurchaseReader
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 google API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VerifyGooglePlayPurchase ¶
func (a *Client) VerifyGooglePlayPurchase(params *VerifyGooglePlayPurchaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyGooglePlayPurchaseOK, error)
VerifyGooglePlayPurchase googles play purchase verification service
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { VerifyGooglePlayPurchase(params *VerifyGooglePlayPurchaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyGooglePlayPurchaseOK, 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 google API client.
type VerifyGooglePlayPurchaseDefault ¶
type VerifyGooglePlayPurchaseDefault struct { Payload *models.Error // contains filtered or unexported fields }
VerifyGooglePlayPurchaseDefault describes a response with status code -1, with default header values.
error
func NewVerifyGooglePlayPurchaseDefault ¶
func NewVerifyGooglePlayPurchaseDefault(code int) *VerifyGooglePlayPurchaseDefault
NewVerifyGooglePlayPurchaseDefault creates a VerifyGooglePlayPurchaseDefault with default headers values
func (*VerifyGooglePlayPurchaseDefault) Code ¶
func (o *VerifyGooglePlayPurchaseDefault) Code() int
Code gets the status code for the verify google play purchase default response
func (*VerifyGooglePlayPurchaseDefault) Error ¶
func (o *VerifyGooglePlayPurchaseDefault) Error() string
func (*VerifyGooglePlayPurchaseDefault) GetPayload ¶
func (o *VerifyGooglePlayPurchaseDefault) GetPayload() *models.Error
type VerifyGooglePlayPurchaseOK ¶
type VerifyGooglePlayPurchaseOK struct { }
VerifyGooglePlayPurchaseOK describes a response with status code 200, with default header values.
OK
func NewVerifyGooglePlayPurchaseOK ¶
func NewVerifyGooglePlayPurchaseOK() *VerifyGooglePlayPurchaseOK
NewVerifyGooglePlayPurchaseOK creates a VerifyGooglePlayPurchaseOK with default headers values
func (*VerifyGooglePlayPurchaseOK) Error ¶
func (o *VerifyGooglePlayPurchaseOK) Error() string
type VerifyGooglePlayPurchaseParams ¶
type VerifyGooglePlayPurchaseParams struct { // Request. Request *models.GooglePlayPurchaseVerificationRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VerifyGooglePlayPurchaseParams contains all the parameters to send to the API endpoint
for the verify google play purchase operation. Typically these are written to a http.Request.
func NewVerifyGooglePlayPurchaseParams ¶
func NewVerifyGooglePlayPurchaseParams() *VerifyGooglePlayPurchaseParams
NewVerifyGooglePlayPurchaseParams creates a new VerifyGooglePlayPurchaseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewVerifyGooglePlayPurchaseParamsWithContext ¶
func NewVerifyGooglePlayPurchaseParamsWithContext(ctx context.Context) *VerifyGooglePlayPurchaseParams
NewVerifyGooglePlayPurchaseParamsWithContext creates a new VerifyGooglePlayPurchaseParams object with the ability to set a context for a request.
func NewVerifyGooglePlayPurchaseParamsWithHTTPClient ¶
func NewVerifyGooglePlayPurchaseParamsWithHTTPClient(client *http.Client) *VerifyGooglePlayPurchaseParams
NewVerifyGooglePlayPurchaseParamsWithHTTPClient creates a new VerifyGooglePlayPurchaseParams object with the ability to set a custom HTTPClient for a request.
func NewVerifyGooglePlayPurchaseParamsWithTimeout ¶
func NewVerifyGooglePlayPurchaseParamsWithTimeout(timeout time.Duration) *VerifyGooglePlayPurchaseParams
NewVerifyGooglePlayPurchaseParamsWithTimeout creates a new VerifyGooglePlayPurchaseParams object with the ability to set a timeout on a request.
func (*VerifyGooglePlayPurchaseParams) SetContext ¶
func (o *VerifyGooglePlayPurchaseParams) SetContext(ctx context.Context)
SetContext adds the context to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) SetDefaults ¶
func (o *VerifyGooglePlayPurchaseParams) SetDefaults()
SetDefaults hydrates default values in the verify google play purchase params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyGooglePlayPurchaseParams) SetHTTPClient ¶
func (o *VerifyGooglePlayPurchaseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) SetRequest ¶
func (o *VerifyGooglePlayPurchaseParams) SetRequest(request *models.GooglePlayPurchaseVerificationRequest)
SetRequest adds the request to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) SetTimeout ¶
func (o *VerifyGooglePlayPurchaseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) WithContext ¶
func (o *VerifyGooglePlayPurchaseParams) WithContext(ctx context.Context) *VerifyGooglePlayPurchaseParams
WithContext adds the context to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) WithDefaults ¶
func (o *VerifyGooglePlayPurchaseParams) WithDefaults() *VerifyGooglePlayPurchaseParams
WithDefaults hydrates default values in the verify google play purchase params (not the query body).
All values with no default are reset to their zero value.
func (*VerifyGooglePlayPurchaseParams) WithHTTPClient ¶
func (o *VerifyGooglePlayPurchaseParams) WithHTTPClient(client *http.Client) *VerifyGooglePlayPurchaseParams
WithHTTPClient adds the HTTPClient to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) WithRequest ¶
func (o *VerifyGooglePlayPurchaseParams) WithRequest(request *models.GooglePlayPurchaseVerificationRequest) *VerifyGooglePlayPurchaseParams
WithRequest adds the request to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) WithTimeout ¶
func (o *VerifyGooglePlayPurchaseParams) WithTimeout(timeout time.Duration) *VerifyGooglePlayPurchaseParams
WithTimeout adds the timeout to the verify google play purchase params
func (*VerifyGooglePlayPurchaseParams) WriteToRequest ¶
func (o *VerifyGooglePlayPurchaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VerifyGooglePlayPurchaseReader ¶
type VerifyGooglePlayPurchaseReader struct {
// contains filtered or unexported fields
}
VerifyGooglePlayPurchaseReader is a Reader for the VerifyGooglePlayPurchase structure.
func (*VerifyGooglePlayPurchaseReader) ReadResponse ¶
func (o *VerifyGooglePlayPurchaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.