Help us shape the future of Go! Take the 2026 Go Developer Survey

clawback

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

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

Deprecated: 2025-07-16 - Use QueryIAPClawbackHistoryEventType<EnumValue>Constant instead. Get the enum in QueryIAPClawbackHistoryParams

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

Deprecated: 2025-07-16 - Use QueryIAPClawbackHistoryStatus<EnumValue>Constant instead. Get the enum in QueryIAPClawbackHistoryParams

View Source
const (
	QueryIAPClawbackHistoryEventTypeCHARGEBACKConstant         = "CHARGEBACK"
	QueryIAPClawbackHistoryEventTypeCHARGEBACKREVERSEDConstant = "CHARGEBACK_REVERSED"
	QueryIAPClawbackHistoryEventTypeOTHERConstant              = "OTHER"
	QueryIAPClawbackHistoryEventTypeREFUNDConstant             = "REFUND"
	QueryIAPClawbackHistoryEventTypeREVOKEDConstant            = "REVOKED"
)

Get the enum in QueryIAPClawbackHistoryParams

View Source
const (
	QueryIAPClawbackHistoryStatusFAILConstant    = "FAIL"
	QueryIAPClawbackHistoryStatusIGNOREDConstant = "IGNORED"
	QueryIAPClawbackHistoryStatusINITConstant    = "INIT"
	QueryIAPClawbackHistoryStatusSUCCESSConstant = "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) MockPlayStationStreamEventShort

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

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

func (*Client) MockXblClawbackEventShort

func (a *Client) MockXblClawbackEventShort(params *MockXblClawbackEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockXblClawbackEventResponse, error)

MockXblClawbackEventShort mock sync xbox clawback event. Mock Sync XBox Clawback event.

func (*Client) QueryIAPClawbackHistoryShort

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

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

  • 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 {
	QueryIAPClawbackHistoryShort(params *QueryIAPClawbackHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryIAPClawbackHistoryResponse, error)
	MockPlayStationStreamEventShort(params *MockPlayStationStreamEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockPlayStationStreamEventResponse, error)
	MockXblClawbackEventShort(params *MockXblClawbackEventParams, authInfo runtime.ClientAuthInfoWriter) (*MockXblClawbackEventResponse, 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

type MockPlayStationStreamEventOK struct {
	Payload *platformclientmodels.ClawbackInfo
}

MockPlayStationStreamEventOK handles this case with default header values.

successful operation

func NewMockPlayStationStreamEventOK

func NewMockPlayStationStreamEventOK() *MockPlayStationStreamEventOK

NewMockPlayStationStreamEventOK creates a MockPlayStationStreamEventOK with default headers values

func (*MockPlayStationStreamEventOK) Error

func (*MockPlayStationStreamEventOK) GetPayload

func (*MockPlayStationStreamEventOK) ToJSONString

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

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 MockPlayStationStreamEventResponse

type MockPlayStationStreamEventResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.ClawbackInfo
}

func (*MockPlayStationStreamEventResponse) Unpack

type MockXblClawbackEventOK

type MockXblClawbackEventOK struct {
	Payload *platformclientmodels.ClawbackInfo
}

MockXblClawbackEventOK handles this case with default header values.

successful operation

func NewMockXblClawbackEventOK

func NewMockXblClawbackEventOK() *MockXblClawbackEventOK

NewMockXblClawbackEventOK creates a MockXblClawbackEventOK with default headers values

func (*MockXblClawbackEventOK) Error

func (o *MockXblClawbackEventOK) Error() string

func (*MockXblClawbackEventOK) GetPayload

func (*MockXblClawbackEventOK) ToJSONString

func (o *MockXblClawbackEventOK) ToJSONString() string

type MockXblClawbackEventParams

type MockXblClawbackEventParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.XblClawbackEvent
	/*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
}

MockXblClawbackEventParams contains all the parameters to send to the API endpoint for the mock xbl clawback event operation typically these are written to a http.Request

func NewMockXblClawbackEventParams

func NewMockXblClawbackEventParams() *MockXblClawbackEventParams

NewMockXblClawbackEventParams creates a new MockXblClawbackEventParams object with the default values initialized.

func NewMockXblClawbackEventParamsWithContext

func NewMockXblClawbackEventParamsWithContext(ctx context.Context) *MockXblClawbackEventParams

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

func NewMockXblClawbackEventParamsWithHTTPClient

func NewMockXblClawbackEventParamsWithHTTPClient(client *http.Client) *MockXblClawbackEventParams

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

func NewMockXblClawbackEventParamsWithTimeout

func NewMockXblClawbackEventParamsWithTimeout(timeout time.Duration) *MockXblClawbackEventParams

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

func (*MockXblClawbackEventParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetBody

SetBody adds the body to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetContext

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

SetContext adds the context to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetFlightId

func (o *MockXblClawbackEventParams) SetFlightId(flightId string)

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

func (*MockXblClawbackEventParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetNamespace

func (o *MockXblClawbackEventParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the mock xbl clawback event params

func (*MockXblClawbackEventParams) SetTimeout

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

SetTimeout adds the timeout to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WithBody

WithBody adds the body to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WithContext

WithContext adds the context to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WithNamespace

func (o *MockXblClawbackEventParams) WithNamespace(namespace string) *MockXblClawbackEventParams

WithNamespace adds the namespace to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WithTimeout

WithTimeout adds the timeout to the mock xbl clawback event params

func (*MockXblClawbackEventParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MockXblClawbackEventReader

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

MockXblClawbackEventReader is a Reader for the MockXblClawbackEvent structure.

func (*MockXblClawbackEventReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MockXblClawbackEventResponse

type MockXblClawbackEventResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.ClawbackInfo
}

func (*MockXblClawbackEventResponse) Unpack

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. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	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

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