clawback

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryIAPClawbackHistoryCHARGEBACKConstant         = "CHARGEBACK"
	QueryIAPClawbackHistoryCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED"
	QueryIAPClawbackHistoryOTHERConstant              = "OTHER"
	QueryIAPClawbackHistoryREFUNDConstant             = "REFUND"
)

Get the enum in QueryIAPClawbackHistoryParams

View Source
const (
	QueryIAPClawbackHistoryFAILConstant    = "FAIL"
	QueryIAPClawbackHistoryIGNOREDConstant = "IGNORED"
	QueryIAPClawbackHistoryINITConstant    = "INIT"
	QueryIAPClawbackHistorySUCCESSConstant = "SUCCESS"
)

Get the enum in QueryIAPClawbackHistoryParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for clawback API

func (*Client) MockPlayStationStreamEvent deprecated

func (a *Client) MockPlayStationStreamEvent(params *MockPlayStationStreamEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockPlayStationStreamEventOK, error)

Deprecated: 2022-08-10 - Use MockPlayStationStreamEventShort instead.

MockPlayStationStreamEvent mock sync playstation clawback event. Mock Sync PlayStation Clawback event..

Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:IAP:CLAWBACK, action=1(CREATE)

func (*Client) MockPlayStationStreamEventShort

func (a *Client) MockPlayStationStreamEventShort(params *MockPlayStationStreamEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockPlayStationStreamEventOK, error)

MockPlayStationStreamEventShort mock sync playstation clawback event. Mock Sync PlayStation Clawback event..

Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:IAP:CLAWBACK, action=1(CREATE)

func (*Client) QueryIAPClawbackHistory deprecated

func (a *Client) QueryIAPClawbackHistory(params *QueryIAPClawbackHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryIAPClawbackHistoryOK, error)

Deprecated: 2022-08-10 - Use QueryIAPClawbackHistoryShort instead.

QueryIAPClawbackHistory query clawback history Query clawback history. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:IAP:CLAWBACK, action=2 (READ)
  • Returns : paginated clawback history

func (*Client) QueryIAPClawbackHistoryShort

func (a *Client) QueryIAPClawbackHistoryShort(params *QueryIAPClawbackHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryIAPClawbackHistoryOK, error)

QueryIAPClawbackHistoryShort query clawback history Query clawback history. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:IAP:CLAWBACK, action=2 (READ)
  • Returns : paginated clawback history

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	QueryIAPClawbackHistory(params *QueryIAPClawbackHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryIAPClawbackHistoryOK, error)
	QueryIAPClawbackHistoryShort(params *QueryIAPClawbackHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryIAPClawbackHistoryOK, error)
	MockPlayStationStreamEvent(params *MockPlayStationStreamEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockPlayStationStreamEventOK, error)
	MockPlayStationStreamEventShort(params *MockPlayStationStreamEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockPlayStationStreamEventOK, 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 clawback API client.

type MockPlayStationStreamEventOK added in v0.54.0

type MockPlayStationStreamEventOK struct {
	Payload *platformclientmodels.ClawbackInfo
}

MockPlayStationStreamEventOK handles this case with default header values.

successful operation

func NewMockPlayStationStreamEventOK added in v0.54.0

func NewMockPlayStationStreamEventOK() *MockPlayStationStreamEventOK

NewMockPlayStationStreamEventOK creates a MockPlayStationStreamEventOK with default headers values

func (*MockPlayStationStreamEventOK) Error added in v0.54.0

func (*MockPlayStationStreamEventOK) GetPayload added in v0.63.0

func (*MockPlayStationStreamEventOK) ToJSONString added in v0.63.0

func (o *MockPlayStationStreamEventOK) ToJSONString() string

type MockPlayStationStreamEventParams

type MockPlayStationStreamEventParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.StreamEvent
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

MockPlayStationStreamEventParams contains all the parameters to send to the API endpoint for the mock play station stream event operation typically these are written to a http.Request

func NewMockPlayStationStreamEventParams

func NewMockPlayStationStreamEventParams() *MockPlayStationStreamEventParams

NewMockPlayStationStreamEventParams creates a new MockPlayStationStreamEventParams object with the default values initialized.

func NewMockPlayStationStreamEventParamsWithContext

func NewMockPlayStationStreamEventParamsWithContext(ctx context.Context) *MockPlayStationStreamEventParams

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

func NewMockPlayStationStreamEventParamsWithHTTPClient

func NewMockPlayStationStreamEventParamsWithHTTPClient(client *http.Client) *MockPlayStationStreamEventParams

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

func NewMockPlayStationStreamEventParamsWithTimeout

func NewMockPlayStationStreamEventParamsWithTimeout(timeout time.Duration) *MockPlayStationStreamEventParams

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

func (*MockPlayStationStreamEventParams) SetAuthInfoWriter

func (o *MockPlayStationStreamEventParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetBody

SetBody adds the body to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetContext

SetContext adds the context to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetFlightId added in v0.63.0

func (o *MockPlayStationStreamEventParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*MockPlayStationStreamEventParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetHTTPClientTransport

func (o *MockPlayStationStreamEventParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetNamespace

func (o *MockPlayStationStreamEventParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the mock play station stream event params

func (*MockPlayStationStreamEventParams) SetTimeout

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

SetTimeout adds the timeout to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WithBody

WithBody adds the body to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WithContext

WithContext adds the context to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WithNamespace

WithNamespace adds the namespace to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WithTimeout

WithTimeout adds the timeout to the mock play station stream event params

func (*MockPlayStationStreamEventParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MockPlayStationStreamEventReader

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

MockPlayStationStreamEventReader is a Reader for the MockPlayStationStreamEvent structure.

func (*MockPlayStationStreamEventReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryIAPClawbackHistoryOK

type QueryIAPClawbackHistoryOK struct {
	Payload *platformclientmodels.IAPClawbackPagingSlicedResult
}

QueryIAPClawbackHistoryOK handles this case with default header values.

successful operation

func NewQueryIAPClawbackHistoryOK

func NewQueryIAPClawbackHistoryOK() *QueryIAPClawbackHistoryOK

NewQueryIAPClawbackHistoryOK creates a QueryIAPClawbackHistoryOK with default headers values

func (*QueryIAPClawbackHistoryOK) Error

func (o *QueryIAPClawbackHistoryOK) Error() string

func (*QueryIAPClawbackHistoryOK) GetPayload

func (*QueryIAPClawbackHistoryOK) ToJSONString

func (o *QueryIAPClawbackHistoryOK) ToJSONString() string

type QueryIAPClawbackHistoryParams

type QueryIAPClawbackHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*EndTime
	  end time is exclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	EndTime *string
	/*EventType
	  event type

	*/
	EventType *string
	/*ExternalOrderID
	  third party order id

	*/
	ExternalOrderID *string
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*StartTime
	  start time is inclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	StartTime *string
	/*Status
	  status

	*/
	Status *string
	/*UserID
	  AGS user id

	*/
	UserID *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryIAPClawbackHistoryParams contains all the parameters to send to the API endpoint for the query iap clawback history operation typically these are written to a http.Request

func NewQueryIAPClawbackHistoryParams

func NewQueryIAPClawbackHistoryParams() *QueryIAPClawbackHistoryParams

NewQueryIAPClawbackHistoryParams creates a new QueryIAPClawbackHistoryParams object with the default values initialized.

func NewQueryIAPClawbackHistoryParamsWithContext

func NewQueryIAPClawbackHistoryParamsWithContext(ctx context.Context) *QueryIAPClawbackHistoryParams

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

func NewQueryIAPClawbackHistoryParamsWithHTTPClient

func NewQueryIAPClawbackHistoryParamsWithHTTPClient(client *http.Client) *QueryIAPClawbackHistoryParams

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

func NewQueryIAPClawbackHistoryParamsWithTimeout

func NewQueryIAPClawbackHistoryParamsWithTimeout(timeout time.Duration) *QueryIAPClawbackHistoryParams

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

func (*QueryIAPClawbackHistoryParams) SetAuthInfoWriter

func (o *QueryIAPClawbackHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetContext

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

SetContext adds the context to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetEndTime

func (o *QueryIAPClawbackHistoryParams) SetEndTime(endTime *string)

SetEndTime adds the endTime to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetEventType

func (o *QueryIAPClawbackHistoryParams) SetEventType(eventType *string)

SetEventType adds the eventType to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetExternalOrderID

func (o *QueryIAPClawbackHistoryParams) SetExternalOrderID(externalOrderID *string)

SetExternalOrderID adds the externalOrderId to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetFlightId added in v0.63.0

func (o *QueryIAPClawbackHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryIAPClawbackHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetHTTPClientTransport

func (o *QueryIAPClawbackHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetLimit

func (o *QueryIAPClawbackHistoryParams) SetLimit(limit *int32)

SetLimit adds the limit to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetNamespace

func (o *QueryIAPClawbackHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetOffset

func (o *QueryIAPClawbackHistoryParams) SetOffset(offset *int32)

SetOffset adds the offset to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetStartTime

func (o *QueryIAPClawbackHistoryParams) SetStartTime(startTime *string)

SetStartTime adds the startTime to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetStatus

func (o *QueryIAPClawbackHistoryParams) SetStatus(status *string)

SetStatus adds the status to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) SetUserID

func (o *QueryIAPClawbackHistoryParams) SetUserID(userID *string)

SetUserID adds the userId to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithContext

WithContext adds the context to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithEndTime

WithEndTime adds the endTime to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithEventType

WithEventType adds the eventType to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithExternalOrderID

func (o *QueryIAPClawbackHistoryParams) WithExternalOrderID(externalOrderID *string) *QueryIAPClawbackHistoryParams

WithExternalOrderID adds the externalOrderID to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithLimit

WithLimit adds the limit to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithNamespace

WithNamespace adds the namespace to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithOffset

WithOffset adds the offset to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithStartTime

WithStartTime adds the startTime to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithStatus

WithStatus adds the status to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithTimeout

WithTimeout adds the timeout to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WithUserID

WithUserID adds the userID to the query iap clawback history params

func (*QueryIAPClawbackHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryIAPClawbackHistoryReader

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

QueryIAPClawbackHistoryReader is a Reader for the QueryIAPClawbackHistory structure.

func (*QueryIAPClawbackHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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