invoice

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DownloadInvoiceDetailsAPPConstant          = "APP"
	DownloadInvoiceDetailsBUNDLEConstant       = "BUNDLE"
	DownloadInvoiceDetailsCODEConstant         = "CODE"
	DownloadInvoiceDetailsCOINSConstant        = "COINS"
	DownloadInvoiceDetailsEXTENSIONConstant    = "EXTENSION"
	DownloadInvoiceDetailsINGAMEITEMConstant   = "INGAMEITEM"
	DownloadInvoiceDetailsLOOTBOXConstant      = "LOOTBOX"
	DownloadInvoiceDetailsMEDIAConstant        = "MEDIA"
	DownloadInvoiceDetailsOPTIONBOXConstant    = "OPTIONBOX"
	DownloadInvoiceDetailsSEASONConstant       = "SEASON"
	DownloadInvoiceDetailsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in DownloadInvoiceDetailsParams

View Source
const (
	GenerateInvoiceSummaryAPPConstant          = "APP"
	GenerateInvoiceSummaryBUNDLEConstant       = "BUNDLE"
	GenerateInvoiceSummaryCODEConstant         = "CODE"
	GenerateInvoiceSummaryCOINSConstant        = "COINS"
	GenerateInvoiceSummaryEXTENSIONConstant    = "EXTENSION"
	GenerateInvoiceSummaryINGAMEITEMConstant   = "INGAMEITEM"
	GenerateInvoiceSummaryLOOTBOXConstant      = "LOOTBOX"
	GenerateInvoiceSummaryMEDIAConstant        = "MEDIA"
	GenerateInvoiceSummaryOPTIONBOXConstant    = "OPTIONBOX"
	GenerateInvoiceSummarySEASONConstant       = "SEASON"
	GenerateInvoiceSummarySUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in GenerateInvoiceSummaryParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for invoice API

func (*Client) DownloadInvoiceDetails deprecated

func (a *Client) DownloadInvoiceDetails(params *DownloadInvoiceDetailsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadInvoiceDetailsOK, error)

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

DownloadInvoiceDetails download invoice details Download invoice details as a csv file. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)
  • Returns : invoice details csv file

func (*Client) DownloadInvoiceDetailsShort

func (a *Client) DownloadInvoiceDetailsShort(params *DownloadInvoiceDetailsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadInvoiceDetailsOK, error)

DownloadInvoiceDetailsShort download invoice details Download invoice details as a csv file. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)
  • Returns : invoice details csv file

func (*Client) GenerateInvoiceSummary deprecated

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

GenerateInvoiceSummary generate invoice summary Generate invoice summary. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)
  • Returns : query orders

func (*Client) GenerateInvoiceSummaryShort

func (a *Client) GenerateInvoiceSummaryShort(params *GenerateInvoiceSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateInvoiceSummaryOK, error)

GenerateInvoiceSummaryShort generate invoice summary Generate invoice summary. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ORDER", action=2 (READ)
  • Returns : query orders

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DownloadInvoiceDetails(params *DownloadInvoiceDetailsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadInvoiceDetailsOK, error)
	DownloadInvoiceDetailsShort(params *DownloadInvoiceDetailsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadInvoiceDetailsOK, error)
	GenerateInvoiceSummary(params *GenerateInvoiceSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateInvoiceSummaryOK, *GenerateInvoiceSummaryUnprocessableEntity, error)
	GenerateInvoiceSummaryShort(params *GenerateInvoiceSummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateInvoiceSummaryOK, 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 invoice API client.

type DownloadInvoiceDetailsOK

type DownloadInvoiceDetailsOK struct {
	Payload io.Writer
}

DownloadInvoiceDetailsOK handles this case with default header values.

Successful operation

func NewDownloadInvoiceDetailsOK

func NewDownloadInvoiceDetailsOK(writer io.Writer) *DownloadInvoiceDetailsOK

NewDownloadInvoiceDetailsOK creates a DownloadInvoiceDetailsOK with default headers values

func (*DownloadInvoiceDetailsOK) Error

func (o *DownloadInvoiceDetailsOK) Error() string

func (*DownloadInvoiceDetailsOK) GetPayload added in v0.32.0

func (o *DownloadInvoiceDetailsOK) GetPayload() io.Writer

func (*DownloadInvoiceDetailsOK) ToJSONString added in v0.32.0

func (o *DownloadInvoiceDetailsOK) ToJSONString() string

type DownloadInvoiceDetailsParams

type DownloadInvoiceDetailsParams struct {

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

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

	*/
	StartTime string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

DownloadInvoiceDetailsParams contains all the parameters to send to the API endpoint for the download invoice details operation typically these are written to a http.Request

func NewDownloadInvoiceDetailsParams

func NewDownloadInvoiceDetailsParams() *DownloadInvoiceDetailsParams

NewDownloadInvoiceDetailsParams creates a new DownloadInvoiceDetailsParams object with the default values initialized.

func NewDownloadInvoiceDetailsParamsWithContext

func NewDownloadInvoiceDetailsParamsWithContext(ctx context.Context) *DownloadInvoiceDetailsParams

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

func NewDownloadInvoiceDetailsParamsWithHTTPClient

func NewDownloadInvoiceDetailsParamsWithHTTPClient(client *http.Client) *DownloadInvoiceDetailsParams

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

func NewDownloadInvoiceDetailsParamsWithTimeout

func NewDownloadInvoiceDetailsParamsWithTimeout(timeout time.Duration) *DownloadInvoiceDetailsParams

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

func (*DownloadInvoiceDetailsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetContext

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

SetContext adds the context to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetEndTime

func (o *DownloadInvoiceDetailsParams) SetEndTime(endTime string)

SetEndTime adds the endTime to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetFeature

func (o *DownloadInvoiceDetailsParams) SetFeature(feature *string)

SetFeature adds the feature to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetItemID

func (o *DownloadInvoiceDetailsParams) SetItemID(itemID *string)

SetItemID adds the itemId to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetItemType

func (o *DownloadInvoiceDetailsParams) SetItemType(itemType *string)

SetItemType adds the itemType to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetNamespace

func (o *DownloadInvoiceDetailsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetStartTime

func (o *DownloadInvoiceDetailsParams) SetStartTime(startTime string)

SetStartTime adds the startTime to the download invoice details params

func (*DownloadInvoiceDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithContext

WithContext adds the context to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithEndTime

WithEndTime adds the endTime to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithFeature

WithFeature adds the feature to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithItemID

WithItemID adds the itemID to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithItemType

WithItemType adds the itemType to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithNamespace

WithNamespace adds the namespace to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithStartTime

WithStartTime adds the startTime to the download invoice details params

func (*DownloadInvoiceDetailsParams) WithTimeout

WithTimeout adds the timeout to the download invoice details params

func (*DownloadInvoiceDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadInvoiceDetailsReader

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

DownloadInvoiceDetailsReader is a Reader for the DownloadInvoiceDetails structure.

func (*DownloadInvoiceDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateInvoiceSummaryOK

type GenerateInvoiceSummaryOK struct {
	Payload *platformclientmodels.InvoiceSummary
}

GenerateInvoiceSummaryOK handles this case with default header values.

successful operation

func NewGenerateInvoiceSummaryOK

func NewGenerateInvoiceSummaryOK() *GenerateInvoiceSummaryOK

NewGenerateInvoiceSummaryOK creates a GenerateInvoiceSummaryOK with default headers values

func (*GenerateInvoiceSummaryOK) Error

func (o *GenerateInvoiceSummaryOK) Error() string

func (*GenerateInvoiceSummaryOK) GetPayload

func (*GenerateInvoiceSummaryOK) ToJSONString

func (o *GenerateInvoiceSummaryOK) ToJSONString() string

type GenerateInvoiceSummaryParams

type GenerateInvoiceSummaryParams struct {

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

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

	*/
	StartTime string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GenerateInvoiceSummaryParams contains all the parameters to send to the API endpoint for the generate invoice summary operation typically these are written to a http.Request

func NewGenerateInvoiceSummaryParams

func NewGenerateInvoiceSummaryParams() *GenerateInvoiceSummaryParams

NewGenerateInvoiceSummaryParams creates a new GenerateInvoiceSummaryParams object with the default values initialized.

func NewGenerateInvoiceSummaryParamsWithContext

func NewGenerateInvoiceSummaryParamsWithContext(ctx context.Context) *GenerateInvoiceSummaryParams

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

func NewGenerateInvoiceSummaryParamsWithHTTPClient

func NewGenerateInvoiceSummaryParamsWithHTTPClient(client *http.Client) *GenerateInvoiceSummaryParams

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

func NewGenerateInvoiceSummaryParamsWithTimeout

func NewGenerateInvoiceSummaryParamsWithTimeout(timeout time.Duration) *GenerateInvoiceSummaryParams

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

func (*GenerateInvoiceSummaryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetContext

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

SetContext adds the context to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetEndTime

func (o *GenerateInvoiceSummaryParams) SetEndTime(endTime string)

SetEndTime adds the endTime to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetFeature

func (o *GenerateInvoiceSummaryParams) SetFeature(feature *string)

SetFeature adds the feature to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetItemID

func (o *GenerateInvoiceSummaryParams) SetItemID(itemID *string)

SetItemID adds the itemId to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetItemType

func (o *GenerateInvoiceSummaryParams) SetItemType(itemType *string)

SetItemType adds the itemType to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetNamespace

func (o *GenerateInvoiceSummaryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetStartTime

func (o *GenerateInvoiceSummaryParams) SetStartTime(startTime string)

SetStartTime adds the startTime to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) SetTimeout

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

SetTimeout adds the timeout to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithContext

WithContext adds the context to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithEndTime

WithEndTime adds the endTime to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithFeature

WithFeature adds the feature to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithItemID

WithItemID adds the itemID to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithItemType

WithItemType adds the itemType to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithNamespace

WithNamespace adds the namespace to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithStartTime

WithStartTime adds the startTime to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WithTimeout

WithTimeout adds the timeout to the generate invoice summary params

func (*GenerateInvoiceSummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateInvoiceSummaryReader

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

GenerateInvoiceSummaryReader is a Reader for the GenerateInvoiceSummary structure.

func (*GenerateInvoiceSummaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GenerateInvoiceSummaryUnprocessableEntity

type GenerateInvoiceSummaryUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

GenerateInvoiceSummaryUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGenerateInvoiceSummaryUnprocessableEntity

func NewGenerateInvoiceSummaryUnprocessableEntity() *GenerateInvoiceSummaryUnprocessableEntity

NewGenerateInvoiceSummaryUnprocessableEntity creates a GenerateInvoiceSummaryUnprocessableEntity with default headers values

func (*GenerateInvoiceSummaryUnprocessableEntity) Error

func (*GenerateInvoiceSummaryUnprocessableEntity) GetPayload

func (*GenerateInvoiceSummaryUnprocessableEntity) ToJSONString

Jump to

Keyboard shortcuts

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