Documentation ¶
Index ¶
- type ChargingManagerChargeAlipayReturnDefault
- func (o *ChargingManagerChargeAlipayReturnDefault) Code() int
- func (o *ChargingManagerChargeAlipayReturnDefault) Error() string
- func (o *ChargingManagerChargeAlipayReturnDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerChargeAlipayReturnDefault) IsClientError() bool
- func (o *ChargingManagerChargeAlipayReturnDefault) IsCode(code int) bool
- func (o *ChargingManagerChargeAlipayReturnDefault) IsRedirect() bool
- func (o *ChargingManagerChargeAlipayReturnDefault) IsServerError() bool
- func (o *ChargingManagerChargeAlipayReturnDefault) IsSuccess() bool
- func (o *ChargingManagerChargeAlipayReturnDefault) String() string
- type ChargingManagerChargeAlipayReturnOK
- func (o *ChargingManagerChargeAlipayReturnOK) Error() string
- func (o *ChargingManagerChargeAlipayReturnOK) GetPayload() *models.NewbillingChargeAlipayReturnResponse
- func (o *ChargingManagerChargeAlipayReturnOK) IsClientError() bool
- func (o *ChargingManagerChargeAlipayReturnOK) IsCode(code int) bool
- func (o *ChargingManagerChargeAlipayReturnOK) IsRedirect() bool
- func (o *ChargingManagerChargeAlipayReturnOK) IsServerError() bool
- func (o *ChargingManagerChargeAlipayReturnOK) IsSuccess() bool
- func (o *ChargingManagerChargeAlipayReturnOK) String() string
- type ChargingManagerChargeAlipayReturnParams
- func NewChargingManagerChargeAlipayReturnParams() *ChargingManagerChargeAlipayReturnParams
- func NewChargingManagerChargeAlipayReturnParamsWithContext(ctx context.Context) *ChargingManagerChargeAlipayReturnParams
- func NewChargingManagerChargeAlipayReturnParamsWithHTTPClient(client *http.Client) *ChargingManagerChargeAlipayReturnParams
- func NewChargingManagerChargeAlipayReturnParamsWithTimeout(timeout time.Duration) *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) SetBody(body *models.NewbillingChargeAlipayReturnRequest)
- func (o *ChargingManagerChargeAlipayReturnParams) SetContext(ctx context.Context)
- func (o *ChargingManagerChargeAlipayReturnParams) SetDefaults()
- func (o *ChargingManagerChargeAlipayReturnParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerChargeAlipayReturnParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerChargeAlipayReturnParams) WithBody(body *models.NewbillingChargeAlipayReturnRequest) *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) WithContext(ctx context.Context) *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) WithDefaults() *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) WithHTTPClient(client *http.Client) *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) WithTimeout(timeout time.Duration) *ChargingManagerChargeAlipayReturnParams
- func (o *ChargingManagerChargeAlipayReturnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerChargeAlipayReturnReader
- type ChargingManagerCreateChargeDefault
- func (o *ChargingManagerCreateChargeDefault) Code() int
- func (o *ChargingManagerCreateChargeDefault) Error() string
- func (o *ChargingManagerCreateChargeDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerCreateChargeDefault) IsClientError() bool
- func (o *ChargingManagerCreateChargeDefault) IsCode(code int) bool
- func (o *ChargingManagerCreateChargeDefault) IsRedirect() bool
- func (o *ChargingManagerCreateChargeDefault) IsServerError() bool
- func (o *ChargingManagerCreateChargeDefault) IsSuccess() bool
- func (o *ChargingManagerCreateChargeDefault) String() string
- type ChargingManagerCreateChargeOK
- func (o *ChargingManagerCreateChargeOK) Error() string
- func (o *ChargingManagerCreateChargeOK) GetPayload() *models.NewbillingCreateChargeResponse
- func (o *ChargingManagerCreateChargeOK) IsClientError() bool
- func (o *ChargingManagerCreateChargeOK) IsCode(code int) bool
- func (o *ChargingManagerCreateChargeOK) IsRedirect() bool
- func (o *ChargingManagerCreateChargeOK) IsServerError() bool
- func (o *ChargingManagerCreateChargeOK) IsSuccess() bool
- func (o *ChargingManagerCreateChargeOK) String() string
- type ChargingManagerCreateChargeParams
- func NewChargingManagerCreateChargeParams() *ChargingManagerCreateChargeParams
- func NewChargingManagerCreateChargeParamsWithContext(ctx context.Context) *ChargingManagerCreateChargeParams
- func NewChargingManagerCreateChargeParamsWithHTTPClient(client *http.Client) *ChargingManagerCreateChargeParams
- func NewChargingManagerCreateChargeParamsWithTimeout(timeout time.Duration) *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) SetBody(body *models.NewbillingCreateChargeRequest)
- func (o *ChargingManagerCreateChargeParams) SetContext(ctx context.Context)
- func (o *ChargingManagerCreateChargeParams) SetDefaults()
- func (o *ChargingManagerCreateChargeParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerCreateChargeParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerCreateChargeParams) WithBody(body *models.NewbillingCreateChargeRequest) *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) WithContext(ctx context.Context) *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) WithDefaults() *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) WithHTTPClient(client *http.Client) *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) WithTimeout(timeout time.Duration) *ChargingManagerCreateChargeParams
- func (o *ChargingManagerCreateChargeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerCreateChargeReader
- type ChargingManagerCreateRechargeDefault
- func (o *ChargingManagerCreateRechargeDefault) Code() int
- func (o *ChargingManagerCreateRechargeDefault) Error() string
- func (o *ChargingManagerCreateRechargeDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerCreateRechargeDefault) IsClientError() bool
- func (o *ChargingManagerCreateRechargeDefault) IsCode(code int) bool
- func (o *ChargingManagerCreateRechargeDefault) IsRedirect() bool
- func (o *ChargingManagerCreateRechargeDefault) IsServerError() bool
- func (o *ChargingManagerCreateRechargeDefault) IsSuccess() bool
- func (o *ChargingManagerCreateRechargeDefault) String() string
- type ChargingManagerCreateRechargeOK
- func (o *ChargingManagerCreateRechargeOK) Error() string
- func (o *ChargingManagerCreateRechargeOK) GetPayload() *models.NewbillingCreateRechargeResponse
- func (o *ChargingManagerCreateRechargeOK) IsClientError() bool
- func (o *ChargingManagerCreateRechargeOK) IsCode(code int) bool
- func (o *ChargingManagerCreateRechargeOK) IsRedirect() bool
- func (o *ChargingManagerCreateRechargeOK) IsServerError() bool
- func (o *ChargingManagerCreateRechargeOK) IsSuccess() bool
- func (o *ChargingManagerCreateRechargeOK) String() string
- type ChargingManagerCreateRechargeParams
- func NewChargingManagerCreateRechargeParams() *ChargingManagerCreateRechargeParams
- func NewChargingManagerCreateRechargeParamsWithContext(ctx context.Context) *ChargingManagerCreateRechargeParams
- func NewChargingManagerCreateRechargeParamsWithHTTPClient(client *http.Client) *ChargingManagerCreateRechargeParams
- func NewChargingManagerCreateRechargeParamsWithTimeout(timeout time.Duration) *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) SetBody(body *models.NewbillingCreateRechargeRequest)
- func (o *ChargingManagerCreateRechargeParams) SetContext(ctx context.Context)
- func (o *ChargingManagerCreateRechargeParams) SetDefaults()
- func (o *ChargingManagerCreateRechargeParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerCreateRechargeParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerCreateRechargeParams) WithBody(body *models.NewbillingCreateRechargeRequest) *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) WithContext(ctx context.Context) *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) WithDefaults() *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) WithHTTPClient(client *http.Client) *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) WithTimeout(timeout time.Duration) *ChargingManagerCreateRechargeParams
- func (o *ChargingManagerCreateRechargeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerCreateRechargeReader
- type ChargingManagerGetChargeQrcodeDefault
- func (o *ChargingManagerGetChargeQrcodeDefault) Code() int
- func (o *ChargingManagerGetChargeQrcodeDefault) Error() string
- func (o *ChargingManagerGetChargeQrcodeDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerGetChargeQrcodeDefault) IsClientError() bool
- func (o *ChargingManagerGetChargeQrcodeDefault) IsCode(code int) bool
- func (o *ChargingManagerGetChargeQrcodeDefault) IsRedirect() bool
- func (o *ChargingManagerGetChargeQrcodeDefault) IsServerError() bool
- func (o *ChargingManagerGetChargeQrcodeDefault) IsSuccess() bool
- func (o *ChargingManagerGetChargeQrcodeDefault) String() string
- type ChargingManagerGetChargeQrcodeOK
- func (o *ChargingManagerGetChargeQrcodeOK) Error() string
- func (o *ChargingManagerGetChargeQrcodeOK) GetPayload() *models.NewbillingGetChargeQrcodeResponse
- func (o *ChargingManagerGetChargeQrcodeOK) IsClientError() bool
- func (o *ChargingManagerGetChargeQrcodeOK) IsCode(code int) bool
- func (o *ChargingManagerGetChargeQrcodeOK) IsRedirect() bool
- func (o *ChargingManagerGetChargeQrcodeOK) IsServerError() bool
- func (o *ChargingManagerGetChargeQrcodeOK) IsSuccess() bool
- func (o *ChargingManagerGetChargeQrcodeOK) String() string
- type ChargingManagerGetChargeQrcodeParams
- func NewChargingManagerGetChargeQrcodeParams() *ChargingManagerGetChargeQrcodeParams
- func NewChargingManagerGetChargeQrcodeParamsWithContext(ctx context.Context) *ChargingManagerGetChargeQrcodeParams
- func NewChargingManagerGetChargeQrcodeParamsWithHTTPClient(client *http.Client) *ChargingManagerGetChargeQrcodeParams
- func NewChargingManagerGetChargeQrcodeParamsWithTimeout(timeout time.Duration) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) SetAccessSysID(accessSysID *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetBillID(billID *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetChargeAmount(chargeAmount *float32)
- func (o *ChargingManagerGetChargeQrcodeParams) SetChargeChannel(chargeChannel *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetContext(ctx context.Context)
- func (o *ChargingManagerGetChargeQrcodeParams) SetCreatedBy(createdBy *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetCurrencyCode(currencyCode *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetDefaults()
- func (o *ChargingManagerGetChargeQrcodeParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerGetChargeQrcodeParams) SetPassbackParams(passbackParams *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetProdInstIDExt(prodInstIDExt *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetRemarks(remarks *string)
- func (o *ChargingManagerGetChargeQrcodeParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerGetChargeQrcodeParams) SetUserID(userID *string)
- func (o *ChargingManagerGetChargeQrcodeParams) WithAccessSysID(accessSysID *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithBillID(billID *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithChargeAmount(chargeAmount *float32) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithChargeChannel(chargeChannel *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithContext(ctx context.Context) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithCreatedBy(createdBy *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithCurrencyCode(currencyCode *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithDefaults() *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithHTTPClient(client *http.Client) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithPassbackParams(passbackParams *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithProdInstIDExt(prodInstIDExt *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithRemarks(remarks *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithTimeout(timeout time.Duration) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WithUserID(userID *string) *ChargingManagerGetChargeQrcodeParams
- func (o *ChargingManagerGetChargeQrcodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerGetChargeQrcodeReader
- type ChargingManagerGetQrcodeDefault
- func (o *ChargingManagerGetQrcodeDefault) Code() int
- func (o *ChargingManagerGetQrcodeDefault) Error() string
- func (o *ChargingManagerGetQrcodeDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerGetQrcodeDefault) IsClientError() bool
- func (o *ChargingManagerGetQrcodeDefault) IsCode(code int) bool
- func (o *ChargingManagerGetQrcodeDefault) IsRedirect() bool
- func (o *ChargingManagerGetQrcodeDefault) IsServerError() bool
- func (o *ChargingManagerGetQrcodeDefault) IsSuccess() bool
- func (o *ChargingManagerGetQrcodeDefault) String() string
- type ChargingManagerGetQrcodeOK
- func (o *ChargingManagerGetQrcodeOK) Error() string
- func (o *ChargingManagerGetQrcodeOK) GetPayload() *models.NewbillingGetQrcodeResponse
- func (o *ChargingManagerGetQrcodeOK) IsClientError() bool
- func (o *ChargingManagerGetQrcodeOK) IsCode(code int) bool
- func (o *ChargingManagerGetQrcodeOK) IsRedirect() bool
- func (o *ChargingManagerGetQrcodeOK) IsServerError() bool
- func (o *ChargingManagerGetQrcodeOK) IsSuccess() bool
- func (o *ChargingManagerGetQrcodeOK) String() string
- type ChargingManagerGetQrcodeParams
- func NewChargingManagerGetQrcodeParams() *ChargingManagerGetQrcodeParams
- func NewChargingManagerGetQrcodeParamsWithContext(ctx context.Context) *ChargingManagerGetQrcodeParams
- func NewChargingManagerGetQrcodeParamsWithHTTPClient(client *http.Client) *ChargingManagerGetQrcodeParams
- func NewChargingManagerGetQrcodeParamsWithTimeout(timeout time.Duration) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) SetChargeAmount(chargeAmount *float32)
- func (o *ChargingManagerGetQrcodeParams) SetChargeChannel(chargeChannel *string)
- func (o *ChargingManagerGetQrcodeParams) SetContext(ctx context.Context)
- func (o *ChargingManagerGetQrcodeParams) SetCurrencyCode(currencyCode *string)
- func (o *ChargingManagerGetQrcodeParams) SetCustomerID(customerID *string)
- func (o *ChargingManagerGetQrcodeParams) SetDefaults()
- func (o *ChargingManagerGetQrcodeParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerGetQrcodeParams) SetOrderID(orderID *string)
- func (o *ChargingManagerGetQrcodeParams) SetPassbackParams(passbackParams *string)
- func (o *ChargingManagerGetQrcodeParams) SetPayType(payType *string)
- func (o *ChargingManagerGetQrcodeParams) SetRemarks(remarks *string)
- func (o *ChargingManagerGetQrcodeParams) SetReturnURL(returnURL *string)
- func (o *ChargingManagerGetQrcodeParams) SetTarget(target *string)
- func (o *ChargingManagerGetQrcodeParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerGetQrcodeParams) SetTradeName(tradeName *string)
- func (o *ChargingManagerGetQrcodeParams) WithChargeAmount(chargeAmount *float32) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithChargeChannel(chargeChannel *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithContext(ctx context.Context) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithCurrencyCode(currencyCode *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithCustomerID(customerID *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithDefaults() *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithHTTPClient(client *http.Client) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithOrderID(orderID *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithPassbackParams(passbackParams *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithPayType(payType *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithRemarks(remarks *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithReturnURL(returnURL *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithTarget(target *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithTimeout(timeout time.Duration) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WithTradeName(tradeName *string) *ChargingManagerGetQrcodeParams
- func (o *ChargingManagerGetQrcodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerGetQrcodeReader
- type ChargingManagerListChargesDefault
- func (o *ChargingManagerListChargesDefault) Code() int
- func (o *ChargingManagerListChargesDefault) Error() string
- func (o *ChargingManagerListChargesDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerListChargesDefault) IsClientError() bool
- func (o *ChargingManagerListChargesDefault) IsCode(code int) bool
- func (o *ChargingManagerListChargesDefault) IsRedirect() bool
- func (o *ChargingManagerListChargesDefault) IsServerError() bool
- func (o *ChargingManagerListChargesDefault) IsSuccess() bool
- func (o *ChargingManagerListChargesDefault) String() string
- type ChargingManagerListChargesOK
- func (o *ChargingManagerListChargesOK) Error() string
- func (o *ChargingManagerListChargesOK) GetPayload() *models.NewbillingListChargesResponse
- func (o *ChargingManagerListChargesOK) IsClientError() bool
- func (o *ChargingManagerListChargesOK) IsCode(code int) bool
- func (o *ChargingManagerListChargesOK) IsRedirect() bool
- func (o *ChargingManagerListChargesOK) IsServerError() bool
- func (o *ChargingManagerListChargesOK) IsSuccess() bool
- func (o *ChargingManagerListChargesOK) String() string
- type ChargingManagerListChargesParams
- func NewChargingManagerListChargesParams() *ChargingManagerListChargesParams
- func NewChargingManagerListChargesParamsWithContext(ctx context.Context) *ChargingManagerListChargesParams
- func NewChargingManagerListChargesParamsWithHTTPClient(client *http.Client) *ChargingManagerListChargesParams
- func NewChargingManagerListChargesParamsWithTimeout(timeout time.Duration) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) SetChargeStatus(chargeStatus []string)
- func (o *ChargingManagerListChargesParams) SetChargeTimeMax(chargeTimeMax *strfmt.DateTime)
- func (o *ChargingManagerListChargesParams) SetChargeTimeMin(chargeTimeMin *strfmt.DateTime)
- func (o *ChargingManagerListChargesParams) SetContext(ctx context.Context)
- func (o *ChargingManagerListChargesParams) SetDefaults()
- func (o *ChargingManagerListChargesParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerListChargesParams) SetLimit(limit *string)
- func (o *ChargingManagerListChargesParams) SetOffset(offset *string)
- func (o *ChargingManagerListChargesParams) SetPayType(payType []string)
- func (o *ChargingManagerListChargesParams) SetProdID(prodID []string)
- func (o *ChargingManagerListChargesParams) SetReverse(reverse *bool)
- func (o *ChargingManagerListChargesParams) SetSearchWord(searchWord *string)
- func (o *ChargingManagerListChargesParams) SetSortKey(sortKey *string)
- func (o *ChargingManagerListChargesParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerListChargesParams) SetUserID(userID []string)
- func (o *ChargingManagerListChargesParams) WithChargeStatus(chargeStatus []string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithChargeTimeMax(chargeTimeMax *strfmt.DateTime) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithChargeTimeMin(chargeTimeMin *strfmt.DateTime) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithContext(ctx context.Context) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithDefaults() *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithHTTPClient(client *http.Client) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithLimit(limit *string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithOffset(offset *string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithPayType(payType []string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithProdID(prodID []string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithReverse(reverse *bool) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithSearchWord(searchWord *string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithSortKey(sortKey *string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithTimeout(timeout time.Duration) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WithUserID(userID []string) *ChargingManagerListChargesParams
- func (o *ChargingManagerListChargesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerListChargesReader
- type ChargingManagerPaymentCallbackDefault
- func (o *ChargingManagerPaymentCallbackDefault) Code() int
- func (o *ChargingManagerPaymentCallbackDefault) Error() string
- func (o *ChargingManagerPaymentCallbackDefault) GetPayload() *models.RuntimeError
- func (o *ChargingManagerPaymentCallbackDefault) IsClientError() bool
- func (o *ChargingManagerPaymentCallbackDefault) IsCode(code int) bool
- func (o *ChargingManagerPaymentCallbackDefault) IsRedirect() bool
- func (o *ChargingManagerPaymentCallbackDefault) IsServerError() bool
- func (o *ChargingManagerPaymentCallbackDefault) IsSuccess() bool
- func (o *ChargingManagerPaymentCallbackDefault) String() string
- type ChargingManagerPaymentCallbackOK
- func (o *ChargingManagerPaymentCallbackOK) Error() string
- func (o *ChargingManagerPaymentCallbackOK) GetPayload() *models.NewbillingPaymentCallbackResponse
- func (o *ChargingManagerPaymentCallbackOK) IsClientError() bool
- func (o *ChargingManagerPaymentCallbackOK) IsCode(code int) bool
- func (o *ChargingManagerPaymentCallbackOK) IsRedirect() bool
- func (o *ChargingManagerPaymentCallbackOK) IsServerError() bool
- func (o *ChargingManagerPaymentCallbackOK) IsSuccess() bool
- func (o *ChargingManagerPaymentCallbackOK) String() string
- type ChargingManagerPaymentCallbackParams
- func NewChargingManagerPaymentCallbackParams() *ChargingManagerPaymentCallbackParams
- func NewChargingManagerPaymentCallbackParamsWithContext(ctx context.Context) *ChargingManagerPaymentCallbackParams
- func NewChargingManagerPaymentCallbackParamsWithHTTPClient(client *http.Client) *ChargingManagerPaymentCallbackParams
- func NewChargingManagerPaymentCallbackParamsWithTimeout(timeout time.Duration) *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) SetBody(body *models.NewbillingPaymentCallbackRequest)
- func (o *ChargingManagerPaymentCallbackParams) SetContext(ctx context.Context)
- func (o *ChargingManagerPaymentCallbackParams) SetDefaults()
- func (o *ChargingManagerPaymentCallbackParams) SetHTTPClient(client *http.Client)
- func (o *ChargingManagerPaymentCallbackParams) SetTimeout(timeout time.Duration)
- func (o *ChargingManagerPaymentCallbackParams) WithBody(body *models.NewbillingPaymentCallbackRequest) *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) WithContext(ctx context.Context) *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) WithDefaults() *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) WithHTTPClient(client *http.Client) *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) WithTimeout(timeout time.Duration) *ChargingManagerPaymentCallbackParams
- func (o *ChargingManagerPaymentCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChargingManagerPaymentCallbackReader
- type Client
- func (a *Client) ChargingManagerChargeAlipayReturn(params *ChargingManagerChargeAlipayReturnParams, ...) (*ChargingManagerChargeAlipayReturnOK, error)
- func (a *Client) ChargingManagerCreateCharge(params *ChargingManagerCreateChargeParams, ...) (*ChargingManagerCreateChargeOK, error)
- func (a *Client) ChargingManagerCreateRecharge(params *ChargingManagerCreateRechargeParams, ...) (*ChargingManagerCreateRechargeOK, error)
- func (a *Client) ChargingManagerGetChargeQrcode(params *ChargingManagerGetChargeQrcodeParams, ...) (*ChargingManagerGetChargeQrcodeOK, error)
- func (a *Client) ChargingManagerGetQrcode(params *ChargingManagerGetQrcodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ChargingManagerGetQrcodeOK, error)
- func (a *Client) ChargingManagerListCharges(params *ChargingManagerListChargesParams, ...) (*ChargingManagerListChargesOK, error)
- func (a *Client) ChargingManagerPaymentCallback(params *ChargingManagerPaymentCallbackParams, ...) (*ChargingManagerPaymentCallbackOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
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 ¶
func (o *ChargingManagerChargeAlipayReturnDefault) Code() int
Code gets the status code for the charging manager charge alipay return default response
func (*ChargingManagerChargeAlipayReturnDefault) Error ¶
func (o *ChargingManagerChargeAlipayReturnDefault) Error() string
func (*ChargingManagerChargeAlipayReturnDefault) GetPayload ¶
func (o *ChargingManagerChargeAlipayReturnDefault) GetPayload() *models.RuntimeError
func (*ChargingManagerChargeAlipayReturnDefault) IsClientError ¶
func (o *ChargingManagerChargeAlipayReturnDefault) IsClientError() bool
IsClientError returns true when this charging manager charge alipay return default response has a 4xx status code
func (*ChargingManagerChargeAlipayReturnDefault) IsCode ¶
func (o *ChargingManagerChargeAlipayReturnDefault) IsCode(code int) bool
IsCode returns true when this charging manager charge alipay return default response a status code equal to that given
func (*ChargingManagerChargeAlipayReturnDefault) IsRedirect ¶
func (o *ChargingManagerChargeAlipayReturnDefault) IsRedirect() bool
IsRedirect returns true when this charging manager charge alipay return default response has a 3xx status code
func (*ChargingManagerChargeAlipayReturnDefault) IsServerError ¶
func (o *ChargingManagerChargeAlipayReturnDefault) IsServerError() bool
IsServerError returns true when this charging manager charge alipay return default response has a 5xx status code
func (*ChargingManagerChargeAlipayReturnDefault) IsSuccess ¶
func (o *ChargingManagerChargeAlipayReturnDefault) IsSuccess() bool
IsSuccess returns true when this charging manager charge alipay return default response has a 2xx status code
func (*ChargingManagerChargeAlipayReturnDefault) String ¶
func (o *ChargingManagerChargeAlipayReturnDefault) String() 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 (o *ChargingManagerChargeAlipayReturnOK) Error() string
func (*ChargingManagerChargeAlipayReturnOK) GetPayload ¶
func (o *ChargingManagerChargeAlipayReturnOK) GetPayload() *models.NewbillingChargeAlipayReturnResponse
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 ¶
func (o *ChargingManagerChargeAlipayReturnOK) IsCode(code int) bool
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 ¶
func (o *ChargingManagerChargeAlipayReturnOK) IsSuccess() bool
IsSuccess returns true when this charging manager charge alipay return o k response has a 2xx status code
func (*ChargingManagerChargeAlipayReturnOK) String ¶
func (o *ChargingManagerChargeAlipayReturnOK) String() 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 ¶
func (o *ChargingManagerChargeAlipayReturnParams) SetBody(body *models.NewbillingChargeAlipayReturnRequest)
SetBody adds the body to the charging manager charge alipay return params
func (*ChargingManagerChargeAlipayReturnParams) SetContext ¶
func (o *ChargingManagerChargeAlipayReturnParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerChargeAlipayReturnParams) WithBody(body *models.NewbillingChargeAlipayReturnRequest) *ChargingManagerChargeAlipayReturnParams
WithBody adds the body to the charging manager charge alipay return params
func (*ChargingManagerChargeAlipayReturnParams) WithContext ¶
func (o *ChargingManagerChargeAlipayReturnParams) WithContext(ctx context.Context) *ChargingManagerChargeAlipayReturnParams
WithContext adds the context to the charging manager charge alipay return params
func (*ChargingManagerChargeAlipayReturnParams) WithDefaults ¶
func (o *ChargingManagerChargeAlipayReturnParams) WithDefaults() *ChargingManagerChargeAlipayReturnParams
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 ¶
func (o *ChargingManagerChargeAlipayReturnParams) WithHTTPClient(client *http.Client) *ChargingManagerChargeAlipayReturnParams
WithHTTPClient adds the HTTPClient to the charging manager charge alipay return params
func (*ChargingManagerChargeAlipayReturnParams) WithTimeout ¶
func (o *ChargingManagerChargeAlipayReturnParams) WithTimeout(timeout time.Duration) *ChargingManagerChargeAlipayReturnParams
WithTimeout adds the timeout to the charging manager charge alipay return params
func (*ChargingManagerChargeAlipayReturnParams) WriteToRequest ¶
func (o *ChargingManagerChargeAlipayReturnParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerCreateChargeDefault) Code() int
Code gets the status code for the charging manager create charge default response
func (*ChargingManagerCreateChargeDefault) Error ¶
func (o *ChargingManagerCreateChargeDefault) Error() string
func (*ChargingManagerCreateChargeDefault) GetPayload ¶
func (o *ChargingManagerCreateChargeDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerCreateChargeDefault) IsCode(code int) bool
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 ¶
func (o *ChargingManagerCreateChargeDefault) IsSuccess() bool
IsSuccess returns true when this charging manager create charge default response has a 2xx status code
func (*ChargingManagerCreateChargeDefault) String ¶
func (o *ChargingManagerCreateChargeDefault) String() 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 (o *ChargingManagerCreateChargeOK) Error() string
func (*ChargingManagerCreateChargeOK) GetPayload ¶
func (o *ChargingManagerCreateChargeOK) GetPayload() *models.NewbillingCreateChargeResponse
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 ¶
func (o *ChargingManagerCreateChargeOK) String() 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 ¶
func (o *ChargingManagerCreateChargeParams) SetBody(body *models.NewbillingCreateChargeRequest)
SetBody adds the body to the charging manager create charge params
func (*ChargingManagerCreateChargeParams) SetContext ¶
func (o *ChargingManagerCreateChargeParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerCreateChargeParams) WithBody(body *models.NewbillingCreateChargeRequest) *ChargingManagerCreateChargeParams
WithBody adds the body to the charging manager create charge params
func (*ChargingManagerCreateChargeParams) WithContext ¶
func (o *ChargingManagerCreateChargeParams) WithContext(ctx context.Context) *ChargingManagerCreateChargeParams
WithContext adds the context to the charging manager create charge params
func (*ChargingManagerCreateChargeParams) WithDefaults ¶
func (o *ChargingManagerCreateChargeParams) WithDefaults() *ChargingManagerCreateChargeParams
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 ¶
func (o *ChargingManagerCreateChargeParams) WithHTTPClient(client *http.Client) *ChargingManagerCreateChargeParams
WithHTTPClient adds the HTTPClient to the charging manager create charge params
func (*ChargingManagerCreateChargeParams) WithTimeout ¶
func (o *ChargingManagerCreateChargeParams) WithTimeout(timeout time.Duration) *ChargingManagerCreateChargeParams
WithTimeout adds the timeout to the charging manager create charge params
func (*ChargingManagerCreateChargeParams) WriteToRequest ¶
func (o *ChargingManagerCreateChargeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerCreateRechargeDefault) Code() int
Code gets the status code for the charging manager create recharge default response
func (*ChargingManagerCreateRechargeDefault) Error ¶
func (o *ChargingManagerCreateRechargeDefault) Error() string
func (*ChargingManagerCreateRechargeDefault) GetPayload ¶
func (o *ChargingManagerCreateRechargeDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerCreateRechargeDefault) IsCode(code int) bool
IsCode returns true when this charging manager create recharge default response a status code equal to that given
func (*ChargingManagerCreateRechargeDefault) IsRedirect ¶
func (o *ChargingManagerCreateRechargeDefault) IsRedirect() bool
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 ¶
func (o *ChargingManagerCreateRechargeDefault) IsSuccess() bool
IsSuccess returns true when this charging manager create recharge default response has a 2xx status code
func (*ChargingManagerCreateRechargeDefault) String ¶
func (o *ChargingManagerCreateRechargeDefault) String() 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 (o *ChargingManagerCreateRechargeOK) Error() string
func (*ChargingManagerCreateRechargeOK) GetPayload ¶
func (o *ChargingManagerCreateRechargeOK) GetPayload() *models.NewbillingCreateRechargeResponse
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 ¶
func (o *ChargingManagerCreateRechargeOK) String() 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 ¶
func (o *ChargingManagerCreateRechargeParams) SetBody(body *models.NewbillingCreateRechargeRequest)
SetBody adds the body to the charging manager create recharge params
func (*ChargingManagerCreateRechargeParams) SetContext ¶
func (o *ChargingManagerCreateRechargeParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerCreateRechargeParams) WithBody(body *models.NewbillingCreateRechargeRequest) *ChargingManagerCreateRechargeParams
WithBody adds the body to the charging manager create recharge params
func (*ChargingManagerCreateRechargeParams) WithContext ¶
func (o *ChargingManagerCreateRechargeParams) WithContext(ctx context.Context) *ChargingManagerCreateRechargeParams
WithContext adds the context to the charging manager create recharge params
func (*ChargingManagerCreateRechargeParams) WithDefaults ¶
func (o *ChargingManagerCreateRechargeParams) WithDefaults() *ChargingManagerCreateRechargeParams
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 ¶
func (o *ChargingManagerCreateRechargeParams) WithHTTPClient(client *http.Client) *ChargingManagerCreateRechargeParams
WithHTTPClient adds the HTTPClient to the charging manager create recharge params
func (*ChargingManagerCreateRechargeParams) WithTimeout ¶
func (o *ChargingManagerCreateRechargeParams) WithTimeout(timeout time.Duration) *ChargingManagerCreateRechargeParams
WithTimeout adds the timeout to the charging manager create recharge params
func (*ChargingManagerCreateRechargeParams) WriteToRequest ¶
func (o *ChargingManagerCreateRechargeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerGetChargeQrcodeDefault) Code() int
Code gets the status code for the charging manager get charge qrcode default response
func (*ChargingManagerGetChargeQrcodeDefault) Error ¶
func (o *ChargingManagerGetChargeQrcodeDefault) Error() string
func (*ChargingManagerGetChargeQrcodeDefault) GetPayload ¶
func (o *ChargingManagerGetChargeQrcodeDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerGetChargeQrcodeDefault) IsCode(code int) bool
IsCode returns true when this charging manager get charge qrcode default response a status code equal to that given
func (*ChargingManagerGetChargeQrcodeDefault) IsRedirect ¶
func (o *ChargingManagerGetChargeQrcodeDefault) IsRedirect() bool
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 ¶
func (o *ChargingManagerGetChargeQrcodeDefault) IsSuccess() bool
IsSuccess returns true when this charging manager get charge qrcode default response has a 2xx status code
func (*ChargingManagerGetChargeQrcodeDefault) String ¶
func (o *ChargingManagerGetChargeQrcodeDefault) String() 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 (o *ChargingManagerGetChargeQrcodeOK) Error() string
func (*ChargingManagerGetChargeQrcodeOK) GetPayload ¶
func (o *ChargingManagerGetChargeQrcodeOK) GetPayload() *models.NewbillingGetChargeQrcodeResponse
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 ¶
func (o *ChargingManagerGetChargeQrcodeOK) String() 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 ¶
func (o *ChargingManagerGetChargeQrcodeParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithAccessSysID(accessSysID *string) *ChargingManagerGetChargeQrcodeParams
WithAccessSysID adds the accessSysID to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithBillID ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithBillID(billID *string) *ChargingManagerGetChargeQrcodeParams
WithBillID adds the billID to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithChargeAmount ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithChargeAmount(chargeAmount *float32) *ChargingManagerGetChargeQrcodeParams
WithChargeAmount adds the chargeAmount to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithChargeChannel ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithChargeChannel(chargeChannel *string) *ChargingManagerGetChargeQrcodeParams
WithChargeChannel adds the chargeChannel to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithContext ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithContext(ctx context.Context) *ChargingManagerGetChargeQrcodeParams
WithContext adds the context to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithCreatedBy ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithCreatedBy(createdBy *string) *ChargingManagerGetChargeQrcodeParams
WithCreatedBy adds the createdBy to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithCurrencyCode ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithCurrencyCode(currencyCode *string) *ChargingManagerGetChargeQrcodeParams
WithCurrencyCode adds the currencyCode to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithDefaults ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithDefaults() *ChargingManagerGetChargeQrcodeParams
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 ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithHTTPClient(client *http.Client) *ChargingManagerGetChargeQrcodeParams
WithHTTPClient adds the HTTPClient to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithPassbackParams ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithPassbackParams(passbackParams *string) *ChargingManagerGetChargeQrcodeParams
WithPassbackParams adds the passbackParams to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithProdInstIDExt ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithProdInstIDExt(prodInstIDExt *string) *ChargingManagerGetChargeQrcodeParams
WithProdInstIDExt adds the prodInstIDExt to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithRemarks ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithRemarks(remarks *string) *ChargingManagerGetChargeQrcodeParams
WithRemarks adds the remarks to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithTimeout ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithTimeout(timeout time.Duration) *ChargingManagerGetChargeQrcodeParams
WithTimeout adds the timeout to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WithUserID ¶
func (o *ChargingManagerGetChargeQrcodeParams) WithUserID(userID *string) *ChargingManagerGetChargeQrcodeParams
WithUserID adds the userID to the charging manager get charge qrcode params
func (*ChargingManagerGetChargeQrcodeParams) WriteToRequest ¶
func (o *ChargingManagerGetChargeQrcodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerGetQrcodeDefault) Code() int
Code gets the status code for the charging manager get qrcode default response
func (*ChargingManagerGetQrcodeDefault) Error ¶
func (o *ChargingManagerGetQrcodeDefault) Error() string
func (*ChargingManagerGetQrcodeDefault) GetPayload ¶
func (o *ChargingManagerGetQrcodeDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerGetQrcodeDefault) String() 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 (o *ChargingManagerGetQrcodeOK) Error() string
func (*ChargingManagerGetQrcodeOK) GetPayload ¶
func (o *ChargingManagerGetQrcodeOK) GetPayload() *models.NewbillingGetQrcodeResponse
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 ¶
func (o *ChargingManagerGetQrcodeParams) WithContext(ctx context.Context) *ChargingManagerGetQrcodeParams
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 ¶
func (o *ChargingManagerGetQrcodeParams) WithCustomerID(customerID *string) *ChargingManagerGetQrcodeParams
WithCustomerID adds the customerID to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithDefaults ¶
func (o *ChargingManagerGetQrcodeParams) WithDefaults() *ChargingManagerGetQrcodeParams
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 ¶
func (o *ChargingManagerGetQrcodeParams) WithHTTPClient(client *http.Client) *ChargingManagerGetQrcodeParams
WithHTTPClient adds the HTTPClient to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithOrderID ¶
func (o *ChargingManagerGetQrcodeParams) WithOrderID(orderID *string) *ChargingManagerGetQrcodeParams
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 ¶
func (o *ChargingManagerGetQrcodeParams) WithPayType(payType *string) *ChargingManagerGetQrcodeParams
WithPayType adds the payType to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithRemarks ¶
func (o *ChargingManagerGetQrcodeParams) WithRemarks(remarks *string) *ChargingManagerGetQrcodeParams
WithRemarks adds the remarks to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithReturnURL ¶
func (o *ChargingManagerGetQrcodeParams) WithReturnURL(returnURL *string) *ChargingManagerGetQrcodeParams
WithReturnURL adds the returnURL to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithTarget ¶
func (o *ChargingManagerGetQrcodeParams) WithTarget(target *string) *ChargingManagerGetQrcodeParams
WithTarget adds the target to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithTimeout ¶
func (o *ChargingManagerGetQrcodeParams) WithTimeout(timeout time.Duration) *ChargingManagerGetQrcodeParams
WithTimeout adds the timeout to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WithTradeName ¶
func (o *ChargingManagerGetQrcodeParams) WithTradeName(tradeName *string) *ChargingManagerGetQrcodeParams
WithTradeName adds the tradeName to the charging manager get qrcode params
func (*ChargingManagerGetQrcodeParams) WriteToRequest ¶
func (o *ChargingManagerGetQrcodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerListChargesDefault) Code() int
Code gets the status code for the charging manager list charges default response
func (*ChargingManagerListChargesDefault) Error ¶
func (o *ChargingManagerListChargesDefault) Error() string
func (*ChargingManagerListChargesDefault) GetPayload ¶
func (o *ChargingManagerListChargesDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerListChargesDefault) String() 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 (o *ChargingManagerListChargesOK) Error() string
func (*ChargingManagerListChargesOK) GetPayload ¶
func (o *ChargingManagerListChargesOK) GetPayload() *models.NewbillingListChargesResponse
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 ¶
func (o *ChargingManagerListChargesOK) String() 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 ¶
func (o *ChargingManagerListChargesParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerListChargesParams) WithChargeTimeMax(chargeTimeMax *strfmt.DateTime) *ChargingManagerListChargesParams
WithChargeTimeMax adds the chargeTimeMax to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithChargeTimeMin ¶
func (o *ChargingManagerListChargesParams) WithChargeTimeMin(chargeTimeMin *strfmt.DateTime) *ChargingManagerListChargesParams
WithChargeTimeMin adds the chargeTimeMin to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithContext ¶
func (o *ChargingManagerListChargesParams) WithContext(ctx context.Context) *ChargingManagerListChargesParams
WithContext adds the context to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithDefaults ¶
func (o *ChargingManagerListChargesParams) WithDefaults() *ChargingManagerListChargesParams
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 ¶
func (o *ChargingManagerListChargesParams) WithHTTPClient(client *http.Client) *ChargingManagerListChargesParams
WithHTTPClient adds the HTTPClient to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithLimit ¶
func (o *ChargingManagerListChargesParams) WithLimit(limit *string) *ChargingManagerListChargesParams
WithLimit adds the limit to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithOffset ¶
func (o *ChargingManagerListChargesParams) WithOffset(offset *string) *ChargingManagerListChargesParams
WithOffset adds the offset to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithPayType ¶
func (o *ChargingManagerListChargesParams) WithPayType(payType []string) *ChargingManagerListChargesParams
WithPayType adds the payType to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithProdID ¶
func (o *ChargingManagerListChargesParams) WithProdID(prodID []string) *ChargingManagerListChargesParams
WithProdID adds the prodID to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithReverse ¶
func (o *ChargingManagerListChargesParams) WithReverse(reverse *bool) *ChargingManagerListChargesParams
WithReverse adds the reverse to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithSearchWord ¶
func (o *ChargingManagerListChargesParams) WithSearchWord(searchWord *string) *ChargingManagerListChargesParams
WithSearchWord adds the searchWord to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithSortKey ¶
func (o *ChargingManagerListChargesParams) WithSortKey(sortKey *string) *ChargingManagerListChargesParams
WithSortKey adds the sortKey to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithTimeout ¶
func (o *ChargingManagerListChargesParams) WithTimeout(timeout time.Duration) *ChargingManagerListChargesParams
WithTimeout adds the timeout to the charging manager list charges params
func (*ChargingManagerListChargesParams) WithUserID ¶
func (o *ChargingManagerListChargesParams) WithUserID(userID []string) *ChargingManagerListChargesParams
WithUserID adds the userID to the charging manager list charges params
func (*ChargingManagerListChargesParams) WriteToRequest ¶
func (o *ChargingManagerListChargesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ChargingManagerPaymentCallbackDefault) Code() int
Code gets the status code for the charging manager payment callback default response
func (*ChargingManagerPaymentCallbackDefault) Error ¶
func (o *ChargingManagerPaymentCallbackDefault) Error() string
func (*ChargingManagerPaymentCallbackDefault) GetPayload ¶
func (o *ChargingManagerPaymentCallbackDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *ChargingManagerPaymentCallbackDefault) IsCode(code int) bool
IsCode returns true when this charging manager payment callback default response a status code equal to that given
func (*ChargingManagerPaymentCallbackDefault) IsRedirect ¶
func (o *ChargingManagerPaymentCallbackDefault) IsRedirect() bool
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 ¶
func (o *ChargingManagerPaymentCallbackDefault) IsSuccess() bool
IsSuccess returns true when this charging manager payment callback default response has a 2xx status code
func (*ChargingManagerPaymentCallbackDefault) String ¶
func (o *ChargingManagerPaymentCallbackDefault) String() 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 (o *ChargingManagerPaymentCallbackOK) Error() string
func (*ChargingManagerPaymentCallbackOK) GetPayload ¶
func (o *ChargingManagerPaymentCallbackOK) GetPayload() *models.NewbillingPaymentCallbackResponse
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 ¶
func (o *ChargingManagerPaymentCallbackOK) String() 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 ¶
func (o *ChargingManagerPaymentCallbackParams) SetBody(body *models.NewbillingPaymentCallbackRequest)
SetBody adds the body to the charging manager payment callback params
func (*ChargingManagerPaymentCallbackParams) SetContext ¶
func (o *ChargingManagerPaymentCallbackParams) SetContext(ctx context.Context)
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 ¶
func (o *ChargingManagerPaymentCallbackParams) WithBody(body *models.NewbillingPaymentCallbackRequest) *ChargingManagerPaymentCallbackParams
WithBody adds the body to the charging manager payment callback params
func (*ChargingManagerPaymentCallbackParams) WithContext ¶
func (o *ChargingManagerPaymentCallbackParams) WithContext(ctx context.Context) *ChargingManagerPaymentCallbackParams
WithContext adds the context to the charging manager payment callback params
func (*ChargingManagerPaymentCallbackParams) WithDefaults ¶
func (o *ChargingManagerPaymentCallbackParams) WithDefaults() *ChargingManagerPaymentCallbackParams
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 ¶
func (o *ChargingManagerPaymentCallbackParams) WithHTTPClient(client *http.Client) *ChargingManagerPaymentCallbackParams
WithHTTPClient adds the HTTPClient to the charging manager payment callback params
func (*ChargingManagerPaymentCallbackParams) WithTimeout ¶
func (o *ChargingManagerPaymentCallbackParams) WithTimeout(timeout time.Duration) *ChargingManagerPaymentCallbackParams
WithTimeout adds the timeout to the charging manager payment callback params
func (*ChargingManagerPaymentCallbackParams) WriteToRequest ¶
func (o *ChargingManagerPaymentCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- charging_manager_charge_alipay_return_parameters.go
- charging_manager_charge_alipay_return_responses.go
- charging_manager_client.go
- charging_manager_create_charge_parameters.go
- charging_manager_create_charge_responses.go
- charging_manager_create_recharge_parameters.go
- charging_manager_create_recharge_responses.go
- charging_manager_get_charge_qrcode_parameters.go
- charging_manager_get_charge_qrcode_responses.go
- charging_manager_get_qrcode_parameters.go
- charging_manager_get_qrcode_responses.go
- charging_manager_list_charges_parameters.go
- charging_manager_list_charges_responses.go
- charging_manager_payment_callback_parameters.go
- charging_manager_payment_callback_responses.go