charging_manager

package
v0.0.0-...-cc7b9bc Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChargingManagerChargeAlipayReturnDefault

type ChargingManagerChargeAlipayReturnDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerChargeAlipayReturnDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerChargeAlipayReturnDefault

func NewChargingManagerChargeAlipayReturnDefault(code int) *ChargingManagerChargeAlipayReturnDefault

NewChargingManagerChargeAlipayReturnDefault creates a ChargingManagerChargeAlipayReturnDefault with default headers values

func (*ChargingManagerChargeAlipayReturnDefault) Code

Code gets the status code for the charging manager charge alipay return default response

func (*ChargingManagerChargeAlipayReturnDefault) Error

func (*ChargingManagerChargeAlipayReturnDefault) GetPayload

func (*ChargingManagerChargeAlipayReturnDefault) IsClientError

IsClientError returns true when this charging manager charge alipay return default response has a 4xx status code

func (*ChargingManagerChargeAlipayReturnDefault) IsCode

IsCode returns true when this charging manager charge alipay return default response a status code equal to that given

func (*ChargingManagerChargeAlipayReturnDefault) IsRedirect

IsRedirect returns true when this charging manager charge alipay return default response has a 3xx status code

func (*ChargingManagerChargeAlipayReturnDefault) IsServerError

IsServerError returns true when this charging manager charge alipay return default response has a 5xx status code

func (*ChargingManagerChargeAlipayReturnDefault) IsSuccess

IsSuccess returns true when this charging manager charge alipay return default response has a 2xx status code

func (*ChargingManagerChargeAlipayReturnDefault) String

type ChargingManagerChargeAlipayReturnOK

type ChargingManagerChargeAlipayReturnOK struct {
	Payload *models.NewbillingChargeAlipayReturnResponse
}

ChargingManagerChargeAlipayReturnOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerChargeAlipayReturnOK

func NewChargingManagerChargeAlipayReturnOK() *ChargingManagerChargeAlipayReturnOK

NewChargingManagerChargeAlipayReturnOK creates a ChargingManagerChargeAlipayReturnOK with default headers values

func (*ChargingManagerChargeAlipayReturnOK) Error

func (*ChargingManagerChargeAlipayReturnOK) GetPayload

func (*ChargingManagerChargeAlipayReturnOK) IsClientError

func (o *ChargingManagerChargeAlipayReturnOK) IsClientError() bool

IsClientError returns true when this charging manager charge alipay return o k response has a 4xx status code

func (*ChargingManagerChargeAlipayReturnOK) IsCode

IsCode returns true when this charging manager charge alipay return o k response a status code equal to that given

func (*ChargingManagerChargeAlipayReturnOK) IsRedirect

func (o *ChargingManagerChargeAlipayReturnOK) IsRedirect() bool

IsRedirect returns true when this charging manager charge alipay return o k response has a 3xx status code

func (*ChargingManagerChargeAlipayReturnOK) IsServerError

func (o *ChargingManagerChargeAlipayReturnOK) IsServerError() bool

IsServerError returns true when this charging manager charge alipay return o k response has a 5xx status code

func (*ChargingManagerChargeAlipayReturnOK) IsSuccess

IsSuccess returns true when this charging manager charge alipay return o k response has a 2xx status code

func (*ChargingManagerChargeAlipayReturnOK) String

type ChargingManagerChargeAlipayReturnParams

type ChargingManagerChargeAlipayReturnParams struct {

	// Body.
	Body *models.NewbillingChargeAlipayReturnRequest

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

ChargingManagerChargeAlipayReturnParams contains all the parameters to send to the API endpoint

for the charging manager charge alipay return operation.

Typically these are written to a http.Request.

func NewChargingManagerChargeAlipayReturnParams

func NewChargingManagerChargeAlipayReturnParams() *ChargingManagerChargeAlipayReturnParams

NewChargingManagerChargeAlipayReturnParams creates a new ChargingManagerChargeAlipayReturnParams 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 NewChargingManagerChargeAlipayReturnParamsWithContext

func NewChargingManagerChargeAlipayReturnParamsWithContext(ctx context.Context) *ChargingManagerChargeAlipayReturnParams

NewChargingManagerChargeAlipayReturnParamsWithContext creates a new ChargingManagerChargeAlipayReturnParams object with the ability to set a context for a request.

func NewChargingManagerChargeAlipayReturnParamsWithHTTPClient

func NewChargingManagerChargeAlipayReturnParamsWithHTTPClient(client *http.Client) *ChargingManagerChargeAlipayReturnParams

NewChargingManagerChargeAlipayReturnParamsWithHTTPClient creates a new ChargingManagerChargeAlipayReturnParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerChargeAlipayReturnParamsWithTimeout

func NewChargingManagerChargeAlipayReturnParamsWithTimeout(timeout time.Duration) *ChargingManagerChargeAlipayReturnParams

NewChargingManagerChargeAlipayReturnParamsWithTimeout creates a new ChargingManagerChargeAlipayReturnParams object with the ability to set a timeout on a request.

func (*ChargingManagerChargeAlipayReturnParams) SetBody

SetBody adds the body to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) SetContext

SetContext adds the context to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) SetDefaults

func (o *ChargingManagerChargeAlipayReturnParams) SetDefaults()

SetDefaults hydrates default values in the charging manager charge alipay return params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerChargeAlipayReturnParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) WithBody

WithBody adds the body to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) WithContext

WithContext adds the context to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) WithDefaults

WithDefaults hydrates default values in the charging manager charge alipay return params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerChargeAlipayReturnParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) WithTimeout

WithTimeout adds the timeout to the charging manager charge alipay return params

func (*ChargingManagerChargeAlipayReturnParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerChargeAlipayReturnReader

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

ChargingManagerChargeAlipayReturnReader is a Reader for the ChargingManagerChargeAlipayReturn structure.

func (*ChargingManagerChargeAlipayReturnReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerCreateChargeDefault

type ChargingManagerCreateChargeDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerCreateChargeDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerCreateChargeDefault

func NewChargingManagerCreateChargeDefault(code int) *ChargingManagerCreateChargeDefault

NewChargingManagerCreateChargeDefault creates a ChargingManagerCreateChargeDefault with default headers values

func (*ChargingManagerCreateChargeDefault) Code

Code gets the status code for the charging manager create charge default response

func (*ChargingManagerCreateChargeDefault) Error

func (*ChargingManagerCreateChargeDefault) GetPayload

func (*ChargingManagerCreateChargeDefault) IsClientError

func (o *ChargingManagerCreateChargeDefault) IsClientError() bool

IsClientError returns true when this charging manager create charge default response has a 4xx status code

func (*ChargingManagerCreateChargeDefault) IsCode

IsCode returns true when this charging manager create charge default response a status code equal to that given

func (*ChargingManagerCreateChargeDefault) IsRedirect

func (o *ChargingManagerCreateChargeDefault) IsRedirect() bool

IsRedirect returns true when this charging manager create charge default response has a 3xx status code

func (*ChargingManagerCreateChargeDefault) IsServerError

func (o *ChargingManagerCreateChargeDefault) IsServerError() bool

IsServerError returns true when this charging manager create charge default response has a 5xx status code

func (*ChargingManagerCreateChargeDefault) IsSuccess

IsSuccess returns true when this charging manager create charge default response has a 2xx status code

func (*ChargingManagerCreateChargeDefault) String

type ChargingManagerCreateChargeOK

type ChargingManagerCreateChargeOK struct {
	Payload *models.NewbillingCreateChargeResponse
}

ChargingManagerCreateChargeOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerCreateChargeOK

func NewChargingManagerCreateChargeOK() *ChargingManagerCreateChargeOK

NewChargingManagerCreateChargeOK creates a ChargingManagerCreateChargeOK with default headers values

func (*ChargingManagerCreateChargeOK) Error

func (*ChargingManagerCreateChargeOK) GetPayload

func (*ChargingManagerCreateChargeOK) IsClientError

func (o *ChargingManagerCreateChargeOK) IsClientError() bool

IsClientError returns true when this charging manager create charge o k response has a 4xx status code

func (*ChargingManagerCreateChargeOK) IsCode

func (o *ChargingManagerCreateChargeOK) IsCode(code int) bool

IsCode returns true when this charging manager create charge o k response a status code equal to that given

func (*ChargingManagerCreateChargeOK) IsRedirect

func (o *ChargingManagerCreateChargeOK) IsRedirect() bool

IsRedirect returns true when this charging manager create charge o k response has a 3xx status code

func (*ChargingManagerCreateChargeOK) IsServerError

func (o *ChargingManagerCreateChargeOK) IsServerError() bool

IsServerError returns true when this charging manager create charge o k response has a 5xx status code

func (*ChargingManagerCreateChargeOK) IsSuccess

func (o *ChargingManagerCreateChargeOK) IsSuccess() bool

IsSuccess returns true when this charging manager create charge o k response has a 2xx status code

func (*ChargingManagerCreateChargeOK) String

type ChargingManagerCreateChargeParams

type ChargingManagerCreateChargeParams struct {

	// Body.
	Body *models.NewbillingCreateChargeRequest

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

ChargingManagerCreateChargeParams contains all the parameters to send to the API endpoint

for the charging manager create charge operation.

Typically these are written to a http.Request.

func NewChargingManagerCreateChargeParams

func NewChargingManagerCreateChargeParams() *ChargingManagerCreateChargeParams

NewChargingManagerCreateChargeParams creates a new ChargingManagerCreateChargeParams 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 NewChargingManagerCreateChargeParamsWithContext

func NewChargingManagerCreateChargeParamsWithContext(ctx context.Context) *ChargingManagerCreateChargeParams

NewChargingManagerCreateChargeParamsWithContext creates a new ChargingManagerCreateChargeParams object with the ability to set a context for a request.

func NewChargingManagerCreateChargeParamsWithHTTPClient

func NewChargingManagerCreateChargeParamsWithHTTPClient(client *http.Client) *ChargingManagerCreateChargeParams

NewChargingManagerCreateChargeParamsWithHTTPClient creates a new ChargingManagerCreateChargeParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerCreateChargeParamsWithTimeout

func NewChargingManagerCreateChargeParamsWithTimeout(timeout time.Duration) *ChargingManagerCreateChargeParams

NewChargingManagerCreateChargeParamsWithTimeout creates a new ChargingManagerCreateChargeParams object with the ability to set a timeout on a request.

func (*ChargingManagerCreateChargeParams) SetBody

SetBody adds the body to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) SetContext

SetContext adds the context to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) SetDefaults

func (o *ChargingManagerCreateChargeParams) SetDefaults()

SetDefaults hydrates default values in the charging manager create charge params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerCreateChargeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) WithBody

WithBody adds the body to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) WithContext

WithContext adds the context to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) WithDefaults

WithDefaults hydrates default values in the charging manager create charge params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerCreateChargeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) WithTimeout

WithTimeout adds the timeout to the charging manager create charge params

func (*ChargingManagerCreateChargeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerCreateChargeReader

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

ChargingManagerCreateChargeReader is a Reader for the ChargingManagerCreateCharge structure.

func (*ChargingManagerCreateChargeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerCreateRechargeDefault

type ChargingManagerCreateRechargeDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerCreateRechargeDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerCreateRechargeDefault

func NewChargingManagerCreateRechargeDefault(code int) *ChargingManagerCreateRechargeDefault

NewChargingManagerCreateRechargeDefault creates a ChargingManagerCreateRechargeDefault with default headers values

func (*ChargingManagerCreateRechargeDefault) Code

Code gets the status code for the charging manager create recharge default response

func (*ChargingManagerCreateRechargeDefault) Error

func (*ChargingManagerCreateRechargeDefault) GetPayload

func (*ChargingManagerCreateRechargeDefault) IsClientError

func (o *ChargingManagerCreateRechargeDefault) IsClientError() bool

IsClientError returns true when this charging manager create recharge default response has a 4xx status code

func (*ChargingManagerCreateRechargeDefault) IsCode

IsCode returns true when this charging manager create recharge default response a status code equal to that given

func (*ChargingManagerCreateRechargeDefault) IsRedirect

IsRedirect returns true when this charging manager create recharge default response has a 3xx status code

func (*ChargingManagerCreateRechargeDefault) IsServerError

func (o *ChargingManagerCreateRechargeDefault) IsServerError() bool

IsServerError returns true when this charging manager create recharge default response has a 5xx status code

func (*ChargingManagerCreateRechargeDefault) IsSuccess

IsSuccess returns true when this charging manager create recharge default response has a 2xx status code

func (*ChargingManagerCreateRechargeDefault) String

type ChargingManagerCreateRechargeOK

type ChargingManagerCreateRechargeOK struct {
	Payload *models.NewbillingCreateRechargeResponse
}

ChargingManagerCreateRechargeOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerCreateRechargeOK

func NewChargingManagerCreateRechargeOK() *ChargingManagerCreateRechargeOK

NewChargingManagerCreateRechargeOK creates a ChargingManagerCreateRechargeOK with default headers values

func (*ChargingManagerCreateRechargeOK) Error

func (*ChargingManagerCreateRechargeOK) GetPayload

func (*ChargingManagerCreateRechargeOK) IsClientError

func (o *ChargingManagerCreateRechargeOK) IsClientError() bool

IsClientError returns true when this charging manager create recharge o k response has a 4xx status code

func (*ChargingManagerCreateRechargeOK) IsCode

func (o *ChargingManagerCreateRechargeOK) IsCode(code int) bool

IsCode returns true when this charging manager create recharge o k response a status code equal to that given

func (*ChargingManagerCreateRechargeOK) IsRedirect

func (o *ChargingManagerCreateRechargeOK) IsRedirect() bool

IsRedirect returns true when this charging manager create recharge o k response has a 3xx status code

func (*ChargingManagerCreateRechargeOK) IsServerError

func (o *ChargingManagerCreateRechargeOK) IsServerError() bool

IsServerError returns true when this charging manager create recharge o k response has a 5xx status code

func (*ChargingManagerCreateRechargeOK) IsSuccess

func (o *ChargingManagerCreateRechargeOK) IsSuccess() bool

IsSuccess returns true when this charging manager create recharge o k response has a 2xx status code

func (*ChargingManagerCreateRechargeOK) String

type ChargingManagerCreateRechargeParams

type ChargingManagerCreateRechargeParams struct {

	// Body.
	Body *models.NewbillingCreateRechargeRequest

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

ChargingManagerCreateRechargeParams contains all the parameters to send to the API endpoint

for the charging manager create recharge operation.

Typically these are written to a http.Request.

func NewChargingManagerCreateRechargeParams

func NewChargingManagerCreateRechargeParams() *ChargingManagerCreateRechargeParams

NewChargingManagerCreateRechargeParams creates a new ChargingManagerCreateRechargeParams 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 NewChargingManagerCreateRechargeParamsWithContext

func NewChargingManagerCreateRechargeParamsWithContext(ctx context.Context) *ChargingManagerCreateRechargeParams

NewChargingManagerCreateRechargeParamsWithContext creates a new ChargingManagerCreateRechargeParams object with the ability to set a context for a request.

func NewChargingManagerCreateRechargeParamsWithHTTPClient

func NewChargingManagerCreateRechargeParamsWithHTTPClient(client *http.Client) *ChargingManagerCreateRechargeParams

NewChargingManagerCreateRechargeParamsWithHTTPClient creates a new ChargingManagerCreateRechargeParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerCreateRechargeParamsWithTimeout

func NewChargingManagerCreateRechargeParamsWithTimeout(timeout time.Duration) *ChargingManagerCreateRechargeParams

NewChargingManagerCreateRechargeParamsWithTimeout creates a new ChargingManagerCreateRechargeParams object with the ability to set a timeout on a request.

func (*ChargingManagerCreateRechargeParams) SetBody

SetBody adds the body to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) SetContext

SetContext adds the context to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) SetDefaults

func (o *ChargingManagerCreateRechargeParams) SetDefaults()

SetDefaults hydrates default values in the charging manager create recharge params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerCreateRechargeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) WithBody

WithBody adds the body to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) WithContext

WithContext adds the context to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) WithDefaults

WithDefaults hydrates default values in the charging manager create recharge params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerCreateRechargeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) WithTimeout

WithTimeout adds the timeout to the charging manager create recharge params

func (*ChargingManagerCreateRechargeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerCreateRechargeReader

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

ChargingManagerCreateRechargeReader is a Reader for the ChargingManagerCreateRecharge structure.

func (*ChargingManagerCreateRechargeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerGetChargeQrcodeDefault

type ChargingManagerGetChargeQrcodeDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerGetChargeQrcodeDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerGetChargeQrcodeDefault

func NewChargingManagerGetChargeQrcodeDefault(code int) *ChargingManagerGetChargeQrcodeDefault

NewChargingManagerGetChargeQrcodeDefault creates a ChargingManagerGetChargeQrcodeDefault with default headers values

func (*ChargingManagerGetChargeQrcodeDefault) Code

Code gets the status code for the charging manager get charge qrcode default response

func (*ChargingManagerGetChargeQrcodeDefault) Error

func (*ChargingManagerGetChargeQrcodeDefault) GetPayload

func (*ChargingManagerGetChargeQrcodeDefault) IsClientError

func (o *ChargingManagerGetChargeQrcodeDefault) IsClientError() bool

IsClientError returns true when this charging manager get charge qrcode default response has a 4xx status code

func (*ChargingManagerGetChargeQrcodeDefault) IsCode

IsCode returns true when this charging manager get charge qrcode default response a status code equal to that given

func (*ChargingManagerGetChargeQrcodeDefault) IsRedirect

IsRedirect returns true when this charging manager get charge qrcode default response has a 3xx status code

func (*ChargingManagerGetChargeQrcodeDefault) IsServerError

func (o *ChargingManagerGetChargeQrcodeDefault) IsServerError() bool

IsServerError returns true when this charging manager get charge qrcode default response has a 5xx status code

func (*ChargingManagerGetChargeQrcodeDefault) IsSuccess

IsSuccess returns true when this charging manager get charge qrcode default response has a 2xx status code

func (*ChargingManagerGetChargeQrcodeDefault) String

type ChargingManagerGetChargeQrcodeOK

type ChargingManagerGetChargeQrcodeOK struct {
	Payload *models.NewbillingGetChargeQrcodeResponse
}

ChargingManagerGetChargeQrcodeOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerGetChargeQrcodeOK

func NewChargingManagerGetChargeQrcodeOK() *ChargingManagerGetChargeQrcodeOK

NewChargingManagerGetChargeQrcodeOK creates a ChargingManagerGetChargeQrcodeOK with default headers values

func (*ChargingManagerGetChargeQrcodeOK) Error

func (*ChargingManagerGetChargeQrcodeOK) GetPayload

func (*ChargingManagerGetChargeQrcodeOK) IsClientError

func (o *ChargingManagerGetChargeQrcodeOK) IsClientError() bool

IsClientError returns true when this charging manager get charge qrcode o k response has a 4xx status code

func (*ChargingManagerGetChargeQrcodeOK) IsCode

func (o *ChargingManagerGetChargeQrcodeOK) IsCode(code int) bool

IsCode returns true when this charging manager get charge qrcode o k response a status code equal to that given

func (*ChargingManagerGetChargeQrcodeOK) IsRedirect

func (o *ChargingManagerGetChargeQrcodeOK) IsRedirect() bool

IsRedirect returns true when this charging manager get charge qrcode o k response has a 3xx status code

func (*ChargingManagerGetChargeQrcodeOK) IsServerError

func (o *ChargingManagerGetChargeQrcodeOK) IsServerError() bool

IsServerError returns true when this charging manager get charge qrcode o k response has a 5xx status code

func (*ChargingManagerGetChargeQrcodeOK) IsSuccess

func (o *ChargingManagerGetChargeQrcodeOK) IsSuccess() bool

IsSuccess returns true when this charging manager get charge qrcode o k response has a 2xx status code

func (*ChargingManagerGetChargeQrcodeOK) String

type ChargingManagerGetChargeQrcodeParams

type ChargingManagerGetChargeQrcodeParams struct {

	/* AccessSysID.

	   接入系统ID.
	*/
	AccessSysID *string

	/* BillID.

	   账单ID.
	*/
	BillID *string

	/* ChargeAmount.

	   支付金额.

	   Format: float
	*/
	ChargeAmount *float32

	/* ChargeChannel.

	   支付渠道- 余额、直付、外部.
	*/
	ChargeChannel *string

	/* CreatedBy.

	   支付记录创建人.
	*/
	CreatedBy *string

	/* CurrencyCode.

	   支付货币单位.
	*/
	CurrencyCode *string

	// PassbackParams.
	PassbackParams *string

	// ProdInstIDExt.
	ProdInstIDExt *string

	/* Remarks.

	   备注.
	*/
	Remarks *string

	/* UserID.

	   用户ID.
	*/
	UserID *string

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

ChargingManagerGetChargeQrcodeParams contains all the parameters to send to the API endpoint

for the charging manager get charge qrcode operation.

Typically these are written to a http.Request.

func NewChargingManagerGetChargeQrcodeParams

func NewChargingManagerGetChargeQrcodeParams() *ChargingManagerGetChargeQrcodeParams

NewChargingManagerGetChargeQrcodeParams creates a new ChargingManagerGetChargeQrcodeParams 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 NewChargingManagerGetChargeQrcodeParamsWithContext

func NewChargingManagerGetChargeQrcodeParamsWithContext(ctx context.Context) *ChargingManagerGetChargeQrcodeParams

NewChargingManagerGetChargeQrcodeParamsWithContext creates a new ChargingManagerGetChargeQrcodeParams object with the ability to set a context for a request.

func NewChargingManagerGetChargeQrcodeParamsWithHTTPClient

func NewChargingManagerGetChargeQrcodeParamsWithHTTPClient(client *http.Client) *ChargingManagerGetChargeQrcodeParams

NewChargingManagerGetChargeQrcodeParamsWithHTTPClient creates a new ChargingManagerGetChargeQrcodeParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerGetChargeQrcodeParamsWithTimeout

func NewChargingManagerGetChargeQrcodeParamsWithTimeout(timeout time.Duration) *ChargingManagerGetChargeQrcodeParams

NewChargingManagerGetChargeQrcodeParamsWithTimeout creates a new ChargingManagerGetChargeQrcodeParams object with the ability to set a timeout on a request.

func (*ChargingManagerGetChargeQrcodeParams) SetAccessSysID

func (o *ChargingManagerGetChargeQrcodeParams) SetAccessSysID(accessSysID *string)

SetAccessSysID adds the accessSysId to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetBillID

func (o *ChargingManagerGetChargeQrcodeParams) SetBillID(billID *string)

SetBillID adds the billId to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetChargeAmount

func (o *ChargingManagerGetChargeQrcodeParams) SetChargeAmount(chargeAmount *float32)

SetChargeAmount adds the chargeAmount to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetChargeChannel

func (o *ChargingManagerGetChargeQrcodeParams) SetChargeChannel(chargeChannel *string)

SetChargeChannel adds the chargeChannel to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetContext

SetContext adds the context to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetCreatedBy

func (o *ChargingManagerGetChargeQrcodeParams) SetCreatedBy(createdBy *string)

SetCreatedBy adds the createdBy to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetCurrencyCode

func (o *ChargingManagerGetChargeQrcodeParams) SetCurrencyCode(currencyCode *string)

SetCurrencyCode adds the currencyCode to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetDefaults

func (o *ChargingManagerGetChargeQrcodeParams) SetDefaults()

SetDefaults hydrates default values in the charging manager get charge qrcode params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerGetChargeQrcodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetPassbackParams

func (o *ChargingManagerGetChargeQrcodeParams) SetPassbackParams(passbackParams *string)

SetPassbackParams adds the passbackParams to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetProdInstIDExt

func (o *ChargingManagerGetChargeQrcodeParams) SetProdInstIDExt(prodInstIDExt *string)

SetProdInstIDExt adds the prodInstIdExt to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetRemarks

func (o *ChargingManagerGetChargeQrcodeParams) SetRemarks(remarks *string)

SetRemarks adds the remarks to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) SetUserID

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

SetUserID adds the userId to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithAccessSysID

WithAccessSysID adds the accessSysID to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithBillID

WithBillID adds the billID to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithChargeAmount

WithChargeAmount adds the chargeAmount to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithChargeChannel

WithChargeChannel adds the chargeChannel to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithContext

WithContext adds the context to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithCreatedBy

WithCreatedBy adds the createdBy to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithCurrencyCode

WithCurrencyCode adds the currencyCode to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithDefaults

WithDefaults hydrates default values in the charging manager get charge qrcode params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerGetChargeQrcodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithPassbackParams

WithPassbackParams adds the passbackParams to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithProdInstIDExt

WithProdInstIDExt adds the prodInstIDExt to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithRemarks

WithRemarks adds the remarks to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithTimeout

WithTimeout adds the timeout to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WithUserID

WithUserID adds the userID to the charging manager get charge qrcode params

func (*ChargingManagerGetChargeQrcodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerGetChargeQrcodeReader

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

ChargingManagerGetChargeQrcodeReader is a Reader for the ChargingManagerGetChargeQrcode structure.

func (*ChargingManagerGetChargeQrcodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerGetQrcodeDefault

type ChargingManagerGetQrcodeDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerGetQrcodeDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerGetQrcodeDefault

func NewChargingManagerGetQrcodeDefault(code int) *ChargingManagerGetQrcodeDefault

NewChargingManagerGetQrcodeDefault creates a ChargingManagerGetQrcodeDefault with default headers values

func (*ChargingManagerGetQrcodeDefault) Code

Code gets the status code for the charging manager get qrcode default response

func (*ChargingManagerGetQrcodeDefault) Error

func (*ChargingManagerGetQrcodeDefault) GetPayload

func (*ChargingManagerGetQrcodeDefault) IsClientError

func (o *ChargingManagerGetQrcodeDefault) IsClientError() bool

IsClientError returns true when this charging manager get qrcode default response has a 4xx status code

func (*ChargingManagerGetQrcodeDefault) IsCode

func (o *ChargingManagerGetQrcodeDefault) IsCode(code int) bool

IsCode returns true when this charging manager get qrcode default response a status code equal to that given

func (*ChargingManagerGetQrcodeDefault) IsRedirect

func (o *ChargingManagerGetQrcodeDefault) IsRedirect() bool

IsRedirect returns true when this charging manager get qrcode default response has a 3xx status code

func (*ChargingManagerGetQrcodeDefault) IsServerError

func (o *ChargingManagerGetQrcodeDefault) IsServerError() bool

IsServerError returns true when this charging manager get qrcode default response has a 5xx status code

func (*ChargingManagerGetQrcodeDefault) IsSuccess

func (o *ChargingManagerGetQrcodeDefault) IsSuccess() bool

IsSuccess returns true when this charging manager get qrcode default response has a 2xx status code

func (*ChargingManagerGetQrcodeDefault) String

type ChargingManagerGetQrcodeOK

type ChargingManagerGetQrcodeOK struct {
	Payload *models.NewbillingGetQrcodeResponse
}

ChargingManagerGetQrcodeOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerGetQrcodeOK

func NewChargingManagerGetQrcodeOK() *ChargingManagerGetQrcodeOK

NewChargingManagerGetQrcodeOK creates a ChargingManagerGetQrcodeOK with default headers values

func (*ChargingManagerGetQrcodeOK) Error

func (*ChargingManagerGetQrcodeOK) GetPayload

func (*ChargingManagerGetQrcodeOK) IsClientError

func (o *ChargingManagerGetQrcodeOK) IsClientError() bool

IsClientError returns true when this charging manager get qrcode o k response has a 4xx status code

func (*ChargingManagerGetQrcodeOK) IsCode

func (o *ChargingManagerGetQrcodeOK) IsCode(code int) bool

IsCode returns true when this charging manager get qrcode o k response a status code equal to that given

func (*ChargingManagerGetQrcodeOK) IsRedirect

func (o *ChargingManagerGetQrcodeOK) IsRedirect() bool

IsRedirect returns true when this charging manager get qrcode o k response has a 3xx status code

func (*ChargingManagerGetQrcodeOK) IsServerError

func (o *ChargingManagerGetQrcodeOK) IsServerError() bool

IsServerError returns true when this charging manager get qrcode o k response has a 5xx status code

func (*ChargingManagerGetQrcodeOK) IsSuccess

func (o *ChargingManagerGetQrcodeOK) IsSuccess() bool

IsSuccess returns true when this charging manager get qrcode o k response has a 2xx status code

func (*ChargingManagerGetQrcodeOK) String

func (o *ChargingManagerGetQrcodeOK) String() string

type ChargingManagerGetQrcodeParams

type ChargingManagerGetQrcodeParams struct {

	/* ChargeAmount.

	   支付金额.

	   Format: float
	*/
	ChargeAmount *float32

	/* ChargeChannel.

	   支付渠道- wx ali.
	*/
	ChargeChannel *string

	/* CurrencyCode.

	   支付货币单位.
	*/
	CurrencyCode *string

	/* CustomerID.

	   客户ID.
	*/
	CustomerID *string

	/* OrderID.

	   newbilling的order id,充值时允许为空,支付时不允许为空.
	*/
	OrderID *string

	/* PassbackParams.

	   passback params.
	*/
	PassbackParams *string

	/* PayType.

	   付款类型- charging 支付,recharge 充值.
	*/
	PayType *string

	/* Remarks.

	   备注.
	*/
	Remarks *string

	/* ReturnURL.

	   支付成功后的跳转地址,允许为空,newbilling提供默认跳转地址.
	*/
	ReturnURL *string

	/* Target.

	   二维码展示形式 target: new,新开的支付宝的页面展示二维码,current, 在当前页面展示二维码.
	*/
	Target *string

	/* TradeName.

	   交易商品名称- 比如充值2000元、购买主机.
	*/
	TradeName *string

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

ChargingManagerGetQrcodeParams contains all the parameters to send to the API endpoint

for the charging manager get qrcode operation.

Typically these are written to a http.Request.

func NewChargingManagerGetQrcodeParams

func NewChargingManagerGetQrcodeParams() *ChargingManagerGetQrcodeParams

NewChargingManagerGetQrcodeParams creates a new ChargingManagerGetQrcodeParams 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 NewChargingManagerGetQrcodeParamsWithContext

func NewChargingManagerGetQrcodeParamsWithContext(ctx context.Context) *ChargingManagerGetQrcodeParams

NewChargingManagerGetQrcodeParamsWithContext creates a new ChargingManagerGetQrcodeParams object with the ability to set a context for a request.

func NewChargingManagerGetQrcodeParamsWithHTTPClient

func NewChargingManagerGetQrcodeParamsWithHTTPClient(client *http.Client) *ChargingManagerGetQrcodeParams

NewChargingManagerGetQrcodeParamsWithHTTPClient creates a new ChargingManagerGetQrcodeParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerGetQrcodeParamsWithTimeout

func NewChargingManagerGetQrcodeParamsWithTimeout(timeout time.Duration) *ChargingManagerGetQrcodeParams

NewChargingManagerGetQrcodeParamsWithTimeout creates a new ChargingManagerGetQrcodeParams object with the ability to set a timeout on a request.

func (*ChargingManagerGetQrcodeParams) SetChargeAmount

func (o *ChargingManagerGetQrcodeParams) SetChargeAmount(chargeAmount *float32)

SetChargeAmount adds the chargeAmount to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetChargeChannel

func (o *ChargingManagerGetQrcodeParams) SetChargeChannel(chargeChannel *string)

SetChargeChannel adds the chargeChannel to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetContext

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

SetContext adds the context to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetCurrencyCode

func (o *ChargingManagerGetQrcodeParams) SetCurrencyCode(currencyCode *string)

SetCurrencyCode adds the currencyCode to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetCustomerID

func (o *ChargingManagerGetQrcodeParams) SetCustomerID(customerID *string)

SetCustomerID adds the customerId to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetDefaults

func (o *ChargingManagerGetQrcodeParams) SetDefaults()

SetDefaults hydrates default values in the charging manager get qrcode params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerGetQrcodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetOrderID

func (o *ChargingManagerGetQrcodeParams) SetOrderID(orderID *string)

SetOrderID adds the orderId to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetPassbackParams

func (o *ChargingManagerGetQrcodeParams) SetPassbackParams(passbackParams *string)

SetPassbackParams adds the passbackParams to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetPayType

func (o *ChargingManagerGetQrcodeParams) SetPayType(payType *string)

SetPayType adds the payType to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetRemarks

func (o *ChargingManagerGetQrcodeParams) SetRemarks(remarks *string)

SetRemarks adds the remarks to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetReturnURL

func (o *ChargingManagerGetQrcodeParams) SetReturnURL(returnURL *string)

SetReturnURL adds the returnUrl to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetTarget

func (o *ChargingManagerGetQrcodeParams) SetTarget(target *string)

SetTarget adds the target to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) SetTradeName

func (o *ChargingManagerGetQrcodeParams) SetTradeName(tradeName *string)

SetTradeName adds the tradeName to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithChargeAmount

func (o *ChargingManagerGetQrcodeParams) WithChargeAmount(chargeAmount *float32) *ChargingManagerGetQrcodeParams

WithChargeAmount adds the chargeAmount to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithChargeChannel

func (o *ChargingManagerGetQrcodeParams) WithChargeChannel(chargeChannel *string) *ChargingManagerGetQrcodeParams

WithChargeChannel adds the chargeChannel to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithContext

WithContext adds the context to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithCurrencyCode

func (o *ChargingManagerGetQrcodeParams) WithCurrencyCode(currencyCode *string) *ChargingManagerGetQrcodeParams

WithCurrencyCode adds the currencyCode to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithCustomerID

WithCustomerID adds the customerID to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithDefaults

WithDefaults hydrates default values in the charging manager get qrcode params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerGetQrcodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithOrderID

WithOrderID adds the orderID to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithPassbackParams

func (o *ChargingManagerGetQrcodeParams) WithPassbackParams(passbackParams *string) *ChargingManagerGetQrcodeParams

WithPassbackParams adds the passbackParams to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithPayType

WithPayType adds the payType to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithRemarks

WithRemarks adds the remarks to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithReturnURL

WithReturnURL adds the returnURL to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithTarget

WithTarget adds the target to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithTimeout

WithTimeout adds the timeout to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WithTradeName

WithTradeName adds the tradeName to the charging manager get qrcode params

func (*ChargingManagerGetQrcodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerGetQrcodeReader

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

ChargingManagerGetQrcodeReader is a Reader for the ChargingManagerGetQrcode structure.

func (*ChargingManagerGetQrcodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerListChargesDefault

type ChargingManagerListChargesDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerListChargesDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerListChargesDefault

func NewChargingManagerListChargesDefault(code int) *ChargingManagerListChargesDefault

NewChargingManagerListChargesDefault creates a ChargingManagerListChargesDefault with default headers values

func (*ChargingManagerListChargesDefault) Code

Code gets the status code for the charging manager list charges default response

func (*ChargingManagerListChargesDefault) Error

func (*ChargingManagerListChargesDefault) GetPayload

func (*ChargingManagerListChargesDefault) IsClientError

func (o *ChargingManagerListChargesDefault) IsClientError() bool

IsClientError returns true when this charging manager list charges default response has a 4xx status code

func (*ChargingManagerListChargesDefault) IsCode

func (o *ChargingManagerListChargesDefault) IsCode(code int) bool

IsCode returns true when this charging manager list charges default response a status code equal to that given

func (*ChargingManagerListChargesDefault) IsRedirect

func (o *ChargingManagerListChargesDefault) IsRedirect() bool

IsRedirect returns true when this charging manager list charges default response has a 3xx status code

func (*ChargingManagerListChargesDefault) IsServerError

func (o *ChargingManagerListChargesDefault) IsServerError() bool

IsServerError returns true when this charging manager list charges default response has a 5xx status code

func (*ChargingManagerListChargesDefault) IsSuccess

func (o *ChargingManagerListChargesDefault) IsSuccess() bool

IsSuccess returns true when this charging manager list charges default response has a 2xx status code

func (*ChargingManagerListChargesDefault) String

type ChargingManagerListChargesOK

type ChargingManagerListChargesOK struct {
	Payload *models.NewbillingListChargesResponse
}

ChargingManagerListChargesOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerListChargesOK

func NewChargingManagerListChargesOK() *ChargingManagerListChargesOK

NewChargingManagerListChargesOK creates a ChargingManagerListChargesOK with default headers values

func (*ChargingManagerListChargesOK) Error

func (*ChargingManagerListChargesOK) GetPayload

func (*ChargingManagerListChargesOK) IsClientError

func (o *ChargingManagerListChargesOK) IsClientError() bool

IsClientError returns true when this charging manager list charges o k response has a 4xx status code

func (*ChargingManagerListChargesOK) IsCode

func (o *ChargingManagerListChargesOK) IsCode(code int) bool

IsCode returns true when this charging manager list charges o k response a status code equal to that given

func (*ChargingManagerListChargesOK) IsRedirect

func (o *ChargingManagerListChargesOK) IsRedirect() bool

IsRedirect returns true when this charging manager list charges o k response has a 3xx status code

func (*ChargingManagerListChargesOK) IsServerError

func (o *ChargingManagerListChargesOK) IsServerError() bool

IsServerError returns true when this charging manager list charges o k response has a 5xx status code

func (*ChargingManagerListChargesOK) IsSuccess

func (o *ChargingManagerListChargesOK) IsSuccess() bool

IsSuccess returns true when this charging manager list charges o k response has a 2xx status code

func (*ChargingManagerListChargesOK) String

type ChargingManagerListChargesParams

type ChargingManagerListChargesParams struct {

	// ChargeStatus.
	ChargeStatus []string

	// ChargeTimeMax.
	//
	// Format: date-time
	ChargeTimeMax *strfmt.DateTime

	// ChargeTimeMin.
	//
	// Format: date-time
	ChargeTimeMin *strfmt.DateTime

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* PayType.

	   支付类型:charging  支付,recharge 充值.
	*/
	PayType []string

	/* ProdID.

	   prod_id.
	*/
	ProdID []string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	/* UserID.

	   客户ID.
	*/
	UserID []string

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

ChargingManagerListChargesParams contains all the parameters to send to the API endpoint

for the charging manager list charges operation.

Typically these are written to a http.Request.

func NewChargingManagerListChargesParams

func NewChargingManagerListChargesParams() *ChargingManagerListChargesParams

NewChargingManagerListChargesParams creates a new ChargingManagerListChargesParams 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 NewChargingManagerListChargesParamsWithContext

func NewChargingManagerListChargesParamsWithContext(ctx context.Context) *ChargingManagerListChargesParams

NewChargingManagerListChargesParamsWithContext creates a new ChargingManagerListChargesParams object with the ability to set a context for a request.

func NewChargingManagerListChargesParamsWithHTTPClient

func NewChargingManagerListChargesParamsWithHTTPClient(client *http.Client) *ChargingManagerListChargesParams

NewChargingManagerListChargesParamsWithHTTPClient creates a new ChargingManagerListChargesParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerListChargesParamsWithTimeout

func NewChargingManagerListChargesParamsWithTimeout(timeout time.Duration) *ChargingManagerListChargesParams

NewChargingManagerListChargesParamsWithTimeout creates a new ChargingManagerListChargesParams object with the ability to set a timeout on a request.

func (*ChargingManagerListChargesParams) SetChargeStatus

func (o *ChargingManagerListChargesParams) SetChargeStatus(chargeStatus []string)

SetChargeStatus adds the chargeStatus to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetChargeTimeMax

func (o *ChargingManagerListChargesParams) SetChargeTimeMax(chargeTimeMax *strfmt.DateTime)

SetChargeTimeMax adds the chargeTimeMax to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetChargeTimeMin

func (o *ChargingManagerListChargesParams) SetChargeTimeMin(chargeTimeMin *strfmt.DateTime)

SetChargeTimeMin adds the chargeTimeMin to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetContext

SetContext adds the context to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetDefaults

func (o *ChargingManagerListChargesParams) SetDefaults()

SetDefaults hydrates default values in the charging manager list charges params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerListChargesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetLimit

func (o *ChargingManagerListChargesParams) SetLimit(limit *string)

SetLimit adds the limit to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetOffset

func (o *ChargingManagerListChargesParams) SetOffset(offset *string)

SetOffset adds the offset to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetPayType

func (o *ChargingManagerListChargesParams) SetPayType(payType []string)

SetPayType adds the payType to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetProdID

func (o *ChargingManagerListChargesParams) SetProdID(prodID []string)

SetProdID adds the prodId to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetReverse

func (o *ChargingManagerListChargesParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetSearchWord

func (o *ChargingManagerListChargesParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetSortKey

func (o *ChargingManagerListChargesParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager list charges params

func (*ChargingManagerListChargesParams) SetUserID

func (o *ChargingManagerListChargesParams) SetUserID(userID []string)

SetUserID adds the userId to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithChargeStatus

func (o *ChargingManagerListChargesParams) WithChargeStatus(chargeStatus []string) *ChargingManagerListChargesParams

WithChargeStatus adds the chargeStatus to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithChargeTimeMax

WithChargeTimeMax adds the chargeTimeMax to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithChargeTimeMin

WithChargeTimeMin adds the chargeTimeMin to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithContext

WithContext adds the context to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithDefaults

WithDefaults hydrates default values in the charging manager list charges params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerListChargesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithLimit

WithLimit adds the limit to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithOffset

WithOffset adds the offset to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithPayType

WithPayType adds the payType to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithProdID

WithProdID adds the prodID to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithReverse

WithReverse adds the reverse to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithSearchWord

WithSearchWord adds the searchWord to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithSortKey

WithSortKey adds the sortKey to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithTimeout

WithTimeout adds the timeout to the charging manager list charges params

func (*ChargingManagerListChargesParams) WithUserID

WithUserID adds the userID to the charging manager list charges params

func (*ChargingManagerListChargesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerListChargesReader

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

ChargingManagerListChargesReader is a Reader for the ChargingManagerListCharges structure.

func (*ChargingManagerListChargesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChargingManagerPaymentCallbackDefault

type ChargingManagerPaymentCallbackDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

ChargingManagerPaymentCallbackDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewChargingManagerPaymentCallbackDefault

func NewChargingManagerPaymentCallbackDefault(code int) *ChargingManagerPaymentCallbackDefault

NewChargingManagerPaymentCallbackDefault creates a ChargingManagerPaymentCallbackDefault with default headers values

func (*ChargingManagerPaymentCallbackDefault) Code

Code gets the status code for the charging manager payment callback default response

func (*ChargingManagerPaymentCallbackDefault) Error

func (*ChargingManagerPaymentCallbackDefault) GetPayload

func (*ChargingManagerPaymentCallbackDefault) IsClientError

func (o *ChargingManagerPaymentCallbackDefault) IsClientError() bool

IsClientError returns true when this charging manager payment callback default response has a 4xx status code

func (*ChargingManagerPaymentCallbackDefault) IsCode

IsCode returns true when this charging manager payment callback default response a status code equal to that given

func (*ChargingManagerPaymentCallbackDefault) IsRedirect

IsRedirect returns true when this charging manager payment callback default response has a 3xx status code

func (*ChargingManagerPaymentCallbackDefault) IsServerError

func (o *ChargingManagerPaymentCallbackDefault) IsServerError() bool

IsServerError returns true when this charging manager payment callback default response has a 5xx status code

func (*ChargingManagerPaymentCallbackDefault) IsSuccess

IsSuccess returns true when this charging manager payment callback default response has a 2xx status code

func (*ChargingManagerPaymentCallbackDefault) String

type ChargingManagerPaymentCallbackOK

type ChargingManagerPaymentCallbackOK struct {
	Payload *models.NewbillingPaymentCallbackResponse
}

ChargingManagerPaymentCallbackOK describes a response with status code 200, with default header values.

A successful response.

func NewChargingManagerPaymentCallbackOK

func NewChargingManagerPaymentCallbackOK() *ChargingManagerPaymentCallbackOK

NewChargingManagerPaymentCallbackOK creates a ChargingManagerPaymentCallbackOK with default headers values

func (*ChargingManagerPaymentCallbackOK) Error

func (*ChargingManagerPaymentCallbackOK) GetPayload

func (*ChargingManagerPaymentCallbackOK) IsClientError

func (o *ChargingManagerPaymentCallbackOK) IsClientError() bool

IsClientError returns true when this charging manager payment callback o k response has a 4xx status code

func (*ChargingManagerPaymentCallbackOK) IsCode

func (o *ChargingManagerPaymentCallbackOK) IsCode(code int) bool

IsCode returns true when this charging manager payment callback o k response a status code equal to that given

func (*ChargingManagerPaymentCallbackOK) IsRedirect

func (o *ChargingManagerPaymentCallbackOK) IsRedirect() bool

IsRedirect returns true when this charging manager payment callback o k response has a 3xx status code

func (*ChargingManagerPaymentCallbackOK) IsServerError

func (o *ChargingManagerPaymentCallbackOK) IsServerError() bool

IsServerError returns true when this charging manager payment callback o k response has a 5xx status code

func (*ChargingManagerPaymentCallbackOK) IsSuccess

func (o *ChargingManagerPaymentCallbackOK) IsSuccess() bool

IsSuccess returns true when this charging manager payment callback o k response has a 2xx status code

func (*ChargingManagerPaymentCallbackOK) String

type ChargingManagerPaymentCallbackParams

type ChargingManagerPaymentCallbackParams struct {

	// Body.
	Body *models.NewbillingPaymentCallbackRequest

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

ChargingManagerPaymentCallbackParams contains all the parameters to send to the API endpoint

for the charging manager payment callback operation.

Typically these are written to a http.Request.

func NewChargingManagerPaymentCallbackParams

func NewChargingManagerPaymentCallbackParams() *ChargingManagerPaymentCallbackParams

NewChargingManagerPaymentCallbackParams creates a new ChargingManagerPaymentCallbackParams 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 NewChargingManagerPaymentCallbackParamsWithContext

func NewChargingManagerPaymentCallbackParamsWithContext(ctx context.Context) *ChargingManagerPaymentCallbackParams

NewChargingManagerPaymentCallbackParamsWithContext creates a new ChargingManagerPaymentCallbackParams object with the ability to set a context for a request.

func NewChargingManagerPaymentCallbackParamsWithHTTPClient

func NewChargingManagerPaymentCallbackParamsWithHTTPClient(client *http.Client) *ChargingManagerPaymentCallbackParams

NewChargingManagerPaymentCallbackParamsWithHTTPClient creates a new ChargingManagerPaymentCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewChargingManagerPaymentCallbackParamsWithTimeout

func NewChargingManagerPaymentCallbackParamsWithTimeout(timeout time.Duration) *ChargingManagerPaymentCallbackParams

NewChargingManagerPaymentCallbackParamsWithTimeout creates a new ChargingManagerPaymentCallbackParams object with the ability to set a timeout on a request.

func (*ChargingManagerPaymentCallbackParams) SetBody

SetBody adds the body to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) SetContext

SetContext adds the context to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) SetDefaults

func (o *ChargingManagerPaymentCallbackParams) SetDefaults()

SetDefaults hydrates default values in the charging manager payment callback params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerPaymentCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) WithBody

WithBody adds the body to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) WithContext

WithContext adds the context to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) WithDefaults

WithDefaults hydrates default values in the charging manager payment callback params (not the query body).

All values with no default are reset to their zero value.

func (*ChargingManagerPaymentCallbackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) WithTimeout

WithTimeout adds the timeout to the charging manager payment callback params

func (*ChargingManagerPaymentCallbackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChargingManagerPaymentCallbackReader

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

ChargingManagerPaymentCallbackReader is a Reader for the ChargingManagerPaymentCallback structure.

func (*ChargingManagerPaymentCallbackReader) ReadResponse

func (o *ChargingManagerPaymentCallbackReader) 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 charging manager API

func (*Client) ChargingManagerChargeAlipayReturn

func (a *Client) ChargingManagerChargeAlipayReturn(params *ChargingManagerChargeAlipayReturnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerChargeAlipayReturnOK, error)

ChargingManagerChargeAlipayReturn 接收支付宝回调s 为anybox包装的接口

func (*Client) ChargingManagerCreateCharge

func (a *Client) ChargingManagerCreateCharge(params *ChargingManagerCreateChargeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerCreateChargeOK, error)

ChargingManagerCreateCharge 扣费记录s 创建

func (*Client) ChargingManagerCreateRecharge

func (a *Client) ChargingManagerCreateRecharge(params *ChargingManagerCreateRechargeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerCreateRechargeOK, error)

ChargingManagerCreateRecharge ns b内部接口 pitrixpay回调 充值记录 创建

func (*Client) ChargingManagerGetChargeQrcode

func (a *Client) ChargingManagerGetChargeQrcode(params *ChargingManagerGetChargeQrcodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerGetChargeQrcodeOK, error)

ChargingManagerGetChargeQrcode 获取支付宝支付二维码s 为anybox包装的接口

func (*Client) ChargingManagerGetQrcode

func (a *Client) ChargingManagerGetQrcode(params *ChargingManagerGetQrcodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerGetQrcodeOK, error)

ChargingManagerGetQrcode 获取支付二维码s

func (*Client) ChargingManagerListCharges

func (a *Client) ChargingManagerListCharges(params *ChargingManagerListChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerListChargesOK, error)

ChargingManagerListCharges 查询支付列表s

func (*Client) ChargingManagerPaymentCallback

func (a *Client) ChargingManagerPaymentCallback(params *ChargingManagerPaymentCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerPaymentCallbackOK, error)

ChargingManagerPaymentCallback 支付回调s

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ChargingManagerChargeAlipayReturn(params *ChargingManagerChargeAlipayReturnParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerChargeAlipayReturnOK, error)

	ChargingManagerCreateCharge(params *ChargingManagerCreateChargeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerCreateChargeOK, error)

	ChargingManagerCreateRecharge(params *ChargingManagerCreateRechargeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerCreateRechargeOK, error)

	ChargingManagerGetChargeQrcode(params *ChargingManagerGetChargeQrcodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerGetChargeQrcodeOK, error)

	ChargingManagerGetQrcode(params *ChargingManagerGetQrcodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerGetQrcodeOK, error)

	ChargingManagerListCharges(params *ChargingManagerListChargesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerListChargesOK, error)

	ChargingManagerPaymentCallback(params *ChargingManagerPaymentCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChargingManagerPaymentCallbackOK, 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 charging manager API client.

Jump to

Keyboard shortcuts

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