payment

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for payment API

func (*Client) PaymentCreateOrder

func (a *Client) PaymentCreateOrder(params *PaymentCreateOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentCreateOrderOK, error)

PaymentCreateOrder 支付订单s 创建

func (*Client) PaymentDescribeOrders

func (a *Client) PaymentDescribeOrders(params *PaymentDescribeOrdersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentDescribeOrdersOK, error)

PaymentDescribeOrders 支付订单s 列表

func (*Client) PaymentGetOrder

func (a *Client) PaymentGetOrder(params *PaymentGetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentGetOrderOK, error)

PaymentGetOrder 支付订单s 详情

func (*Client) PaymentPrepayAlipayApp

func (a *Client) PaymentPrepayAlipayApp(params *PaymentPrepayAlipayAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayAlipayAppOK, error)

PaymentPrepayAlipayApp 支付宝app支付用接口s 获取支付宝支付二维码

func (*Client) PaymentPrepayAlipayNative

func (a *Client) PaymentPrepayAlipayNative(params *PaymentPrepayAlipayNativeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayAlipayNativeOK, error)

PaymentPrepayAlipayNative 支付宝app支付用接口s 获取支付宝收款码

func (*Client) PaymentPrepayStripe

func (a *Client) PaymentPrepayStripe(params *PaymentPrepayStripeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayStripeOK, error)

PaymentPrepayStripe stripe支付用接口s 获取stripe支付凭证

func (*Client) PaymentPrepayWxpayNative

func (a *Client) PaymentPrepayWxpayNative(params *PaymentPrepayWxpayNativeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayWxpayNativeOK, error)

PaymentPrepayWxpayNative 微信s native支付用接口 获取微信支付二维码

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 {
	PaymentCreateOrder(params *PaymentCreateOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentCreateOrderOK, error)

	PaymentDescribeOrders(params *PaymentDescribeOrdersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentDescribeOrdersOK, error)

	PaymentGetOrder(params *PaymentGetOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentGetOrderOK, error)

	PaymentPrepayAlipayApp(params *PaymentPrepayAlipayAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayAlipayAppOK, error)

	PaymentPrepayAlipayNative(params *PaymentPrepayAlipayNativeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayAlipayNativeOK, error)

	PaymentPrepayStripe(params *PaymentPrepayStripeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayStripeOK, error)

	PaymentPrepayWxpayNative(params *PaymentPrepayWxpayNativeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PaymentPrepayWxpayNativeOK, 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 payment API client.

type PaymentCreateOrderDefault

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

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

An unexpected error response

func NewPaymentCreateOrderDefault

func NewPaymentCreateOrderDefault(code int) *PaymentCreateOrderDefault

NewPaymentCreateOrderDefault creates a PaymentCreateOrderDefault with default headers values

func (*PaymentCreateOrderDefault) Code

func (o *PaymentCreateOrderDefault) Code() int

Code gets the status code for the payment create order default response

func (*PaymentCreateOrderDefault) Error

func (o *PaymentCreateOrderDefault) Error() string

func (*PaymentCreateOrderDefault) GetPayload

func (*PaymentCreateOrderDefault) IsClientError

func (o *PaymentCreateOrderDefault) IsClientError() bool

IsClientError returns true when this payment create order default response has a 4xx status code

func (*PaymentCreateOrderDefault) IsCode

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

IsCode returns true when this payment create order default response a status code equal to that given

func (*PaymentCreateOrderDefault) IsRedirect

func (o *PaymentCreateOrderDefault) IsRedirect() bool

IsRedirect returns true when this payment create order default response has a 3xx status code

func (*PaymentCreateOrderDefault) IsServerError

func (o *PaymentCreateOrderDefault) IsServerError() bool

IsServerError returns true when this payment create order default response has a 5xx status code

func (*PaymentCreateOrderDefault) IsSuccess

func (o *PaymentCreateOrderDefault) IsSuccess() bool

IsSuccess returns true when this payment create order default response has a 2xx status code

func (*PaymentCreateOrderDefault) String

func (o *PaymentCreateOrderDefault) String() string

type PaymentCreateOrderOK

type PaymentCreateOrderOK struct {
	Payload *models.NewbillingCreateOrderResponse
}

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

A successful response.

func NewPaymentCreateOrderOK

func NewPaymentCreateOrderOK() *PaymentCreateOrderOK

NewPaymentCreateOrderOK creates a PaymentCreateOrderOK with default headers values

func (*PaymentCreateOrderOK) Error

func (o *PaymentCreateOrderOK) Error() string

func (*PaymentCreateOrderOK) GetPayload

func (*PaymentCreateOrderOK) IsClientError

func (o *PaymentCreateOrderOK) IsClientError() bool

IsClientError returns true when this payment create order o k response has a 4xx status code

func (*PaymentCreateOrderOK) IsCode

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

IsCode returns true when this payment create order o k response a status code equal to that given

func (*PaymentCreateOrderOK) IsRedirect

func (o *PaymentCreateOrderOK) IsRedirect() bool

IsRedirect returns true when this payment create order o k response has a 3xx status code

func (*PaymentCreateOrderOK) IsServerError

func (o *PaymentCreateOrderOK) IsServerError() bool

IsServerError returns true when this payment create order o k response has a 5xx status code

func (*PaymentCreateOrderOK) IsSuccess

func (o *PaymentCreateOrderOK) IsSuccess() bool

IsSuccess returns true when this payment create order o k response has a 2xx status code

func (*PaymentCreateOrderOK) String

func (o *PaymentCreateOrderOK) String() string

type PaymentCreateOrderParams

type PaymentCreateOrderParams struct {

	// Body.
	Body *models.NewbillingCreateOrderRequest

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

PaymentCreateOrderParams contains all the parameters to send to the API endpoint

for the payment create order operation.

Typically these are written to a http.Request.

func NewPaymentCreateOrderParams

func NewPaymentCreateOrderParams() *PaymentCreateOrderParams

NewPaymentCreateOrderParams creates a new PaymentCreateOrderParams 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 NewPaymentCreateOrderParamsWithContext

func NewPaymentCreateOrderParamsWithContext(ctx context.Context) *PaymentCreateOrderParams

NewPaymentCreateOrderParamsWithContext creates a new PaymentCreateOrderParams object with the ability to set a context for a request.

func NewPaymentCreateOrderParamsWithHTTPClient

func NewPaymentCreateOrderParamsWithHTTPClient(client *http.Client) *PaymentCreateOrderParams

NewPaymentCreateOrderParamsWithHTTPClient creates a new PaymentCreateOrderParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentCreateOrderParamsWithTimeout

func NewPaymentCreateOrderParamsWithTimeout(timeout time.Duration) *PaymentCreateOrderParams

NewPaymentCreateOrderParamsWithTimeout creates a new PaymentCreateOrderParams object with the ability to set a timeout on a request.

func (*PaymentCreateOrderParams) SetBody

SetBody adds the body to the payment create order params

func (*PaymentCreateOrderParams) SetContext

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

SetContext adds the context to the payment create order params

func (*PaymentCreateOrderParams) SetDefaults

func (o *PaymentCreateOrderParams) SetDefaults()

SetDefaults hydrates default values in the payment create order params (not the query body).

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

func (*PaymentCreateOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment create order params

func (*PaymentCreateOrderParams) SetTimeout

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

SetTimeout adds the timeout to the payment create order params

func (*PaymentCreateOrderParams) WithBody

WithBody adds the body to the payment create order params

func (*PaymentCreateOrderParams) WithContext

WithContext adds the context to the payment create order params

func (*PaymentCreateOrderParams) WithDefaults

WithDefaults hydrates default values in the payment create order params (not the query body).

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

func (*PaymentCreateOrderParams) WithHTTPClient

func (o *PaymentCreateOrderParams) WithHTTPClient(client *http.Client) *PaymentCreateOrderParams

WithHTTPClient adds the HTTPClient to the payment create order params

func (*PaymentCreateOrderParams) WithTimeout

WithTimeout adds the timeout to the payment create order params

func (*PaymentCreateOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentCreateOrderReader

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

PaymentCreateOrderReader is a Reader for the PaymentCreateOrder structure.

func (*PaymentCreateOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentDescribeOrdersDefault

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

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

An unexpected error response

func NewPaymentDescribeOrdersDefault

func NewPaymentDescribeOrdersDefault(code int) *PaymentDescribeOrdersDefault

NewPaymentDescribeOrdersDefault creates a PaymentDescribeOrdersDefault with default headers values

func (*PaymentDescribeOrdersDefault) Code

Code gets the status code for the payment describe orders default response

func (*PaymentDescribeOrdersDefault) Error

func (*PaymentDescribeOrdersDefault) GetPayload

func (*PaymentDescribeOrdersDefault) IsClientError

func (o *PaymentDescribeOrdersDefault) IsClientError() bool

IsClientError returns true when this payment describe orders default response has a 4xx status code

func (*PaymentDescribeOrdersDefault) IsCode

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

IsCode returns true when this payment describe orders default response a status code equal to that given

func (*PaymentDescribeOrdersDefault) IsRedirect

func (o *PaymentDescribeOrdersDefault) IsRedirect() bool

IsRedirect returns true when this payment describe orders default response has a 3xx status code

func (*PaymentDescribeOrdersDefault) IsServerError

func (o *PaymentDescribeOrdersDefault) IsServerError() bool

IsServerError returns true when this payment describe orders default response has a 5xx status code

func (*PaymentDescribeOrdersDefault) IsSuccess

func (o *PaymentDescribeOrdersDefault) IsSuccess() bool

IsSuccess returns true when this payment describe orders default response has a 2xx status code

func (*PaymentDescribeOrdersDefault) String

type PaymentDescribeOrdersOK

type PaymentDescribeOrdersOK struct {
	Payload *models.NewbillingDescribeOrdersResponse
}

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

A successful response.

func NewPaymentDescribeOrdersOK

func NewPaymentDescribeOrdersOK() *PaymentDescribeOrdersOK

NewPaymentDescribeOrdersOK creates a PaymentDescribeOrdersOK with default headers values

func (*PaymentDescribeOrdersOK) Error

func (o *PaymentDescribeOrdersOK) Error() string

func (*PaymentDescribeOrdersOK) GetPayload

func (*PaymentDescribeOrdersOK) IsClientError

func (o *PaymentDescribeOrdersOK) IsClientError() bool

IsClientError returns true when this payment describe orders o k response has a 4xx status code

func (*PaymentDescribeOrdersOK) IsCode

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

IsCode returns true when this payment describe orders o k response a status code equal to that given

func (*PaymentDescribeOrdersOK) IsRedirect

func (o *PaymentDescribeOrdersOK) IsRedirect() bool

IsRedirect returns true when this payment describe orders o k response has a 3xx status code

func (*PaymentDescribeOrdersOK) IsServerError

func (o *PaymentDescribeOrdersOK) IsServerError() bool

IsServerError returns true when this payment describe orders o k response has a 5xx status code

func (*PaymentDescribeOrdersOK) IsSuccess

func (o *PaymentDescribeOrdersOK) IsSuccess() bool

IsSuccess returns true when this payment describe orders o k response has a 2xx status code

func (*PaymentDescribeOrdersOK) String

func (o *PaymentDescribeOrdersOK) String() string

type PaymentDescribeOrdersParams

type PaymentDescribeOrdersParams struct {

	/* AccessSysID.

	   接入系统ID.
	*/
	AccessSysID *string

	/* Channel.

	   支付渠道.
	*/
	Channel []string

	/* Currency.

	   支付币种.
	*/
	Currency []string

	/* Limit.

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

	   Format: uint64
	*/
	Limit *string

	/* Offset.

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

	   Format: uint64
	*/
	Offset *string

	/* OrderID.

	   支付订单ID.
	*/
	OrderID []string

	/* OutTradeNo.

	   接入系统方交易号.
	*/
	OutTradeNo []string

	/* Reverse.

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

	/* SearchWord.

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

	/* SortKey.

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

	/* Status.

	   支付状态.
	*/
	Status []string

	/* Subject.

	   商品标题.
	*/
	Subject []string

	/* TradeNo.

	   三方交易号.
	*/
	TradeNo []string

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

PaymentDescribeOrdersParams contains all the parameters to send to the API endpoint

for the payment describe orders operation.

Typically these are written to a http.Request.

func NewPaymentDescribeOrdersParams

func NewPaymentDescribeOrdersParams() *PaymentDescribeOrdersParams

NewPaymentDescribeOrdersParams creates a new PaymentDescribeOrdersParams 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 NewPaymentDescribeOrdersParamsWithContext

func NewPaymentDescribeOrdersParamsWithContext(ctx context.Context) *PaymentDescribeOrdersParams

NewPaymentDescribeOrdersParamsWithContext creates a new PaymentDescribeOrdersParams object with the ability to set a context for a request.

func NewPaymentDescribeOrdersParamsWithHTTPClient

func NewPaymentDescribeOrdersParamsWithHTTPClient(client *http.Client) *PaymentDescribeOrdersParams

NewPaymentDescribeOrdersParamsWithHTTPClient creates a new PaymentDescribeOrdersParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentDescribeOrdersParamsWithTimeout

func NewPaymentDescribeOrdersParamsWithTimeout(timeout time.Duration) *PaymentDescribeOrdersParams

NewPaymentDescribeOrdersParamsWithTimeout creates a new PaymentDescribeOrdersParams object with the ability to set a timeout on a request.

func (*PaymentDescribeOrdersParams) SetAccessSysID

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

SetAccessSysID adds the accessSysId to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetChannel

func (o *PaymentDescribeOrdersParams) SetChannel(channel []string)

SetChannel adds the channel to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetContext

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

SetContext adds the context to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetCurrency

func (o *PaymentDescribeOrdersParams) SetCurrency(currency []string)

SetCurrency adds the currency to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetDefaults

func (o *PaymentDescribeOrdersParams) SetDefaults()

SetDefaults hydrates default values in the payment describe orders params (not the query body).

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

func (*PaymentDescribeOrdersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetLimit

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

SetLimit adds the limit to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetOffset

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

SetOffset adds the offset to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetOrderID

func (o *PaymentDescribeOrdersParams) SetOrderID(orderID []string)

SetOrderID adds the orderId to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetOutTradeNo

func (o *PaymentDescribeOrdersParams) SetOutTradeNo(outTradeNo []string)

SetOutTradeNo adds the outTradeNo to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetReverse

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

SetReverse adds the reverse to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetSearchWord

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

SetSearchWord adds the searchWord to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetSortKey

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

SetSortKey adds the sortKey to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetStatus

func (o *PaymentDescribeOrdersParams) SetStatus(status []string)

SetStatus adds the status to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetSubject

func (o *PaymentDescribeOrdersParams) SetSubject(subject []string)

SetSubject adds the subject to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetTimeout

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

SetTimeout adds the timeout to the payment describe orders params

func (*PaymentDescribeOrdersParams) SetTradeNo

func (o *PaymentDescribeOrdersParams) SetTradeNo(tradeNo []string)

SetTradeNo adds the tradeNo to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithAccessSysID

func (o *PaymentDescribeOrdersParams) WithAccessSysID(accessSysID *string) *PaymentDescribeOrdersParams

WithAccessSysID adds the accessSysID to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithChannel

WithChannel adds the channel to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithContext

WithContext adds the context to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithCurrency

func (o *PaymentDescribeOrdersParams) WithCurrency(currency []string) *PaymentDescribeOrdersParams

WithCurrency adds the currency to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithDefaults

WithDefaults hydrates default values in the payment describe orders params (not the query body).

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

func (*PaymentDescribeOrdersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithLimit

WithLimit adds the limit to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithOffset

WithOffset adds the offset to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithOrderID

WithOrderID adds the orderID to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithOutTradeNo

func (o *PaymentDescribeOrdersParams) WithOutTradeNo(outTradeNo []string) *PaymentDescribeOrdersParams

WithOutTradeNo adds the outTradeNo to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithReverse

WithReverse adds the reverse to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithSearchWord

func (o *PaymentDescribeOrdersParams) WithSearchWord(searchWord *string) *PaymentDescribeOrdersParams

WithSearchWord adds the searchWord to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithSortKey

WithSortKey adds the sortKey to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithStatus

WithStatus adds the status to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithSubject

WithSubject adds the subject to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithTimeout

WithTimeout adds the timeout to the payment describe orders params

func (*PaymentDescribeOrdersParams) WithTradeNo

WithTradeNo adds the tradeNo to the payment describe orders params

func (*PaymentDescribeOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentDescribeOrdersReader

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

PaymentDescribeOrdersReader is a Reader for the PaymentDescribeOrders structure.

func (*PaymentDescribeOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentGetOrderDefault

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

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

An unexpected error response

func NewPaymentGetOrderDefault

func NewPaymentGetOrderDefault(code int) *PaymentGetOrderDefault

NewPaymentGetOrderDefault creates a PaymentGetOrderDefault with default headers values

func (*PaymentGetOrderDefault) Code

func (o *PaymentGetOrderDefault) Code() int

Code gets the status code for the payment get order default response

func (*PaymentGetOrderDefault) Error

func (o *PaymentGetOrderDefault) Error() string

func (*PaymentGetOrderDefault) GetPayload

func (o *PaymentGetOrderDefault) GetPayload() *models.RuntimeError

func (*PaymentGetOrderDefault) IsClientError

func (o *PaymentGetOrderDefault) IsClientError() bool

IsClientError returns true when this payment get order default response has a 4xx status code

func (*PaymentGetOrderDefault) IsCode

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

IsCode returns true when this payment get order default response a status code equal to that given

func (*PaymentGetOrderDefault) IsRedirect

func (o *PaymentGetOrderDefault) IsRedirect() bool

IsRedirect returns true when this payment get order default response has a 3xx status code

func (*PaymentGetOrderDefault) IsServerError

func (o *PaymentGetOrderDefault) IsServerError() bool

IsServerError returns true when this payment get order default response has a 5xx status code

func (*PaymentGetOrderDefault) IsSuccess

func (o *PaymentGetOrderDefault) IsSuccess() bool

IsSuccess returns true when this payment get order default response has a 2xx status code

func (*PaymentGetOrderDefault) String

func (o *PaymentGetOrderDefault) String() string

type PaymentGetOrderOK

type PaymentGetOrderOK struct {
	Payload *models.NewbillingGetOrderResponse
}

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

A successful response.

func NewPaymentGetOrderOK

func NewPaymentGetOrderOK() *PaymentGetOrderOK

NewPaymentGetOrderOK creates a PaymentGetOrderOK with default headers values

func (*PaymentGetOrderOK) Error

func (o *PaymentGetOrderOK) Error() string

func (*PaymentGetOrderOK) GetPayload

func (*PaymentGetOrderOK) IsClientError

func (o *PaymentGetOrderOK) IsClientError() bool

IsClientError returns true when this payment get order o k response has a 4xx status code

func (*PaymentGetOrderOK) IsCode

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

IsCode returns true when this payment get order o k response a status code equal to that given

func (*PaymentGetOrderOK) IsRedirect

func (o *PaymentGetOrderOK) IsRedirect() bool

IsRedirect returns true when this payment get order o k response has a 3xx status code

func (*PaymentGetOrderOK) IsServerError

func (o *PaymentGetOrderOK) IsServerError() bool

IsServerError returns true when this payment get order o k response has a 5xx status code

func (*PaymentGetOrderOK) IsSuccess

func (o *PaymentGetOrderOK) IsSuccess() bool

IsSuccess returns true when this payment get order o k response has a 2xx status code

func (*PaymentGetOrderOK) String

func (o *PaymentGetOrderOK) String() string

type PaymentGetOrderParams

type PaymentGetOrderParams struct {

	// AccessSysID.
	AccessSysID *string

	// QueryNo.
	QueryNo string

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

PaymentGetOrderParams contains all the parameters to send to the API endpoint

for the payment get order operation.

Typically these are written to a http.Request.

func NewPaymentGetOrderParams

func NewPaymentGetOrderParams() *PaymentGetOrderParams

NewPaymentGetOrderParams creates a new PaymentGetOrderParams 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 NewPaymentGetOrderParamsWithContext

func NewPaymentGetOrderParamsWithContext(ctx context.Context) *PaymentGetOrderParams

NewPaymentGetOrderParamsWithContext creates a new PaymentGetOrderParams object with the ability to set a context for a request.

func NewPaymentGetOrderParamsWithHTTPClient

func NewPaymentGetOrderParamsWithHTTPClient(client *http.Client) *PaymentGetOrderParams

NewPaymentGetOrderParamsWithHTTPClient creates a new PaymentGetOrderParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentGetOrderParamsWithTimeout

func NewPaymentGetOrderParamsWithTimeout(timeout time.Duration) *PaymentGetOrderParams

NewPaymentGetOrderParamsWithTimeout creates a new PaymentGetOrderParams object with the ability to set a timeout on a request.

func (*PaymentGetOrderParams) SetAccessSysID

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

SetAccessSysID adds the accessSysId to the payment get order params

func (*PaymentGetOrderParams) SetContext

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

SetContext adds the context to the payment get order params

func (*PaymentGetOrderParams) SetDefaults

func (o *PaymentGetOrderParams) SetDefaults()

SetDefaults hydrates default values in the payment get order params (not the query body).

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

func (*PaymentGetOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment get order params

func (*PaymentGetOrderParams) SetQueryNo

func (o *PaymentGetOrderParams) SetQueryNo(queryNo string)

SetQueryNo adds the queryNo to the payment get order params

func (*PaymentGetOrderParams) SetTimeout

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

SetTimeout adds the timeout to the payment get order params

func (*PaymentGetOrderParams) WithAccessSysID

func (o *PaymentGetOrderParams) WithAccessSysID(accessSysID *string) *PaymentGetOrderParams

WithAccessSysID adds the accessSysID to the payment get order params

func (*PaymentGetOrderParams) WithContext

WithContext adds the context to the payment get order params

func (*PaymentGetOrderParams) WithDefaults

func (o *PaymentGetOrderParams) WithDefaults() *PaymentGetOrderParams

WithDefaults hydrates default values in the payment get order params (not the query body).

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

func (*PaymentGetOrderParams) WithHTTPClient

func (o *PaymentGetOrderParams) WithHTTPClient(client *http.Client) *PaymentGetOrderParams

WithHTTPClient adds the HTTPClient to the payment get order params

func (*PaymentGetOrderParams) WithQueryNo

func (o *PaymentGetOrderParams) WithQueryNo(queryNo string) *PaymentGetOrderParams

WithQueryNo adds the queryNo to the payment get order params

func (*PaymentGetOrderParams) WithTimeout

func (o *PaymentGetOrderParams) WithTimeout(timeout time.Duration) *PaymentGetOrderParams

WithTimeout adds the timeout to the payment get order params

func (*PaymentGetOrderParams) WriteToRequest

func (o *PaymentGetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PaymentGetOrderReader

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

PaymentGetOrderReader is a Reader for the PaymentGetOrder structure.

func (*PaymentGetOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentPrepayAlipayAppDefault

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

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

An unexpected error response

func NewPaymentPrepayAlipayAppDefault

func NewPaymentPrepayAlipayAppDefault(code int) *PaymentPrepayAlipayAppDefault

NewPaymentPrepayAlipayAppDefault creates a PaymentPrepayAlipayAppDefault with default headers values

func (*PaymentPrepayAlipayAppDefault) Code

Code gets the status code for the payment prepay alipay app default response

func (*PaymentPrepayAlipayAppDefault) Error

func (*PaymentPrepayAlipayAppDefault) GetPayload

func (*PaymentPrepayAlipayAppDefault) IsClientError

func (o *PaymentPrepayAlipayAppDefault) IsClientError() bool

IsClientError returns true when this payment prepay alipay app default response has a 4xx status code

func (*PaymentPrepayAlipayAppDefault) IsCode

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

IsCode returns true when this payment prepay alipay app default response a status code equal to that given

func (*PaymentPrepayAlipayAppDefault) IsRedirect

func (o *PaymentPrepayAlipayAppDefault) IsRedirect() bool

IsRedirect returns true when this payment prepay alipay app default response has a 3xx status code

func (*PaymentPrepayAlipayAppDefault) IsServerError

func (o *PaymentPrepayAlipayAppDefault) IsServerError() bool

IsServerError returns true when this payment prepay alipay app default response has a 5xx status code

func (*PaymentPrepayAlipayAppDefault) IsSuccess

func (o *PaymentPrepayAlipayAppDefault) IsSuccess() bool

IsSuccess returns true when this payment prepay alipay app default response has a 2xx status code

func (*PaymentPrepayAlipayAppDefault) String

type PaymentPrepayAlipayAppOK

type PaymentPrepayAlipayAppOK struct {
	Payload *models.NewbillingPrepayAlipayAppResponse
}

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

A successful response.

func NewPaymentPrepayAlipayAppOK

func NewPaymentPrepayAlipayAppOK() *PaymentPrepayAlipayAppOK

NewPaymentPrepayAlipayAppOK creates a PaymentPrepayAlipayAppOK with default headers values

func (*PaymentPrepayAlipayAppOK) Error

func (o *PaymentPrepayAlipayAppOK) Error() string

func (*PaymentPrepayAlipayAppOK) GetPayload

func (*PaymentPrepayAlipayAppOK) IsClientError

func (o *PaymentPrepayAlipayAppOK) IsClientError() bool

IsClientError returns true when this payment prepay alipay app o k response has a 4xx status code

func (*PaymentPrepayAlipayAppOK) IsCode

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

IsCode returns true when this payment prepay alipay app o k response a status code equal to that given

func (*PaymentPrepayAlipayAppOK) IsRedirect

func (o *PaymentPrepayAlipayAppOK) IsRedirect() bool

IsRedirect returns true when this payment prepay alipay app o k response has a 3xx status code

func (*PaymentPrepayAlipayAppOK) IsServerError

func (o *PaymentPrepayAlipayAppOK) IsServerError() bool

IsServerError returns true when this payment prepay alipay app o k response has a 5xx status code

func (*PaymentPrepayAlipayAppOK) IsSuccess

func (o *PaymentPrepayAlipayAppOK) IsSuccess() bool

IsSuccess returns true when this payment prepay alipay app o k response has a 2xx status code

func (*PaymentPrepayAlipayAppOK) String

func (o *PaymentPrepayAlipayAppOK) String() string

type PaymentPrepayAlipayAppParams

type PaymentPrepayAlipayAppParams struct {

	// Body.
	Body *models.NewbillingPrepayAlipayAppRequest

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

PaymentPrepayAlipayAppParams contains all the parameters to send to the API endpoint

for the payment prepay alipay app operation.

Typically these are written to a http.Request.

func NewPaymentPrepayAlipayAppParams

func NewPaymentPrepayAlipayAppParams() *PaymentPrepayAlipayAppParams

NewPaymentPrepayAlipayAppParams creates a new PaymentPrepayAlipayAppParams 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 NewPaymentPrepayAlipayAppParamsWithContext

func NewPaymentPrepayAlipayAppParamsWithContext(ctx context.Context) *PaymentPrepayAlipayAppParams

NewPaymentPrepayAlipayAppParamsWithContext creates a new PaymentPrepayAlipayAppParams object with the ability to set a context for a request.

func NewPaymentPrepayAlipayAppParamsWithHTTPClient

func NewPaymentPrepayAlipayAppParamsWithHTTPClient(client *http.Client) *PaymentPrepayAlipayAppParams

NewPaymentPrepayAlipayAppParamsWithHTTPClient creates a new PaymentPrepayAlipayAppParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentPrepayAlipayAppParamsWithTimeout

func NewPaymentPrepayAlipayAppParamsWithTimeout(timeout time.Duration) *PaymentPrepayAlipayAppParams

NewPaymentPrepayAlipayAppParamsWithTimeout creates a new PaymentPrepayAlipayAppParams object with the ability to set a timeout on a request.

func (*PaymentPrepayAlipayAppParams) SetBody

SetBody adds the body to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) SetContext

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

SetContext adds the context to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) SetDefaults

func (o *PaymentPrepayAlipayAppParams) SetDefaults()

SetDefaults hydrates default values in the payment prepay alipay app params (not the query body).

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

func (*PaymentPrepayAlipayAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) SetTimeout

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

SetTimeout adds the timeout to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) WithBody

WithBody adds the body to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) WithContext

WithContext adds the context to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) WithDefaults

WithDefaults hydrates default values in the payment prepay alipay app params (not the query body).

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

func (*PaymentPrepayAlipayAppParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) WithTimeout

WithTimeout adds the timeout to the payment prepay alipay app params

func (*PaymentPrepayAlipayAppParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentPrepayAlipayAppReader

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

PaymentPrepayAlipayAppReader is a Reader for the PaymentPrepayAlipayApp structure.

func (*PaymentPrepayAlipayAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentPrepayAlipayNativeDefault

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

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

An unexpected error response

func NewPaymentPrepayAlipayNativeDefault

func NewPaymentPrepayAlipayNativeDefault(code int) *PaymentPrepayAlipayNativeDefault

NewPaymentPrepayAlipayNativeDefault creates a PaymentPrepayAlipayNativeDefault with default headers values

func (*PaymentPrepayAlipayNativeDefault) Code

Code gets the status code for the payment prepay alipay native default response

func (*PaymentPrepayAlipayNativeDefault) Error

func (*PaymentPrepayAlipayNativeDefault) GetPayload

func (*PaymentPrepayAlipayNativeDefault) IsClientError

func (o *PaymentPrepayAlipayNativeDefault) IsClientError() bool

IsClientError returns true when this payment prepay alipay native default response has a 4xx status code

func (*PaymentPrepayAlipayNativeDefault) IsCode

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

IsCode returns true when this payment prepay alipay native default response a status code equal to that given

func (*PaymentPrepayAlipayNativeDefault) IsRedirect

func (o *PaymentPrepayAlipayNativeDefault) IsRedirect() bool

IsRedirect returns true when this payment prepay alipay native default response has a 3xx status code

func (*PaymentPrepayAlipayNativeDefault) IsServerError

func (o *PaymentPrepayAlipayNativeDefault) IsServerError() bool

IsServerError returns true when this payment prepay alipay native default response has a 5xx status code

func (*PaymentPrepayAlipayNativeDefault) IsSuccess

func (o *PaymentPrepayAlipayNativeDefault) IsSuccess() bool

IsSuccess returns true when this payment prepay alipay native default response has a 2xx status code

func (*PaymentPrepayAlipayNativeDefault) String

type PaymentPrepayAlipayNativeOK

type PaymentPrepayAlipayNativeOK struct {
	Payload *models.NewbillingPrepayAlipayNativeResponse
}

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

A successful response.

func NewPaymentPrepayAlipayNativeOK

func NewPaymentPrepayAlipayNativeOK() *PaymentPrepayAlipayNativeOK

NewPaymentPrepayAlipayNativeOK creates a PaymentPrepayAlipayNativeOK with default headers values

func (*PaymentPrepayAlipayNativeOK) Error

func (*PaymentPrepayAlipayNativeOK) GetPayload

func (*PaymentPrepayAlipayNativeOK) IsClientError

func (o *PaymentPrepayAlipayNativeOK) IsClientError() bool

IsClientError returns true when this payment prepay alipay native o k response has a 4xx status code

func (*PaymentPrepayAlipayNativeOK) IsCode

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

IsCode returns true when this payment prepay alipay native o k response a status code equal to that given

func (*PaymentPrepayAlipayNativeOK) IsRedirect

func (o *PaymentPrepayAlipayNativeOK) IsRedirect() bool

IsRedirect returns true when this payment prepay alipay native o k response has a 3xx status code

func (*PaymentPrepayAlipayNativeOK) IsServerError

func (o *PaymentPrepayAlipayNativeOK) IsServerError() bool

IsServerError returns true when this payment prepay alipay native o k response has a 5xx status code

func (*PaymentPrepayAlipayNativeOK) IsSuccess

func (o *PaymentPrepayAlipayNativeOK) IsSuccess() bool

IsSuccess returns true when this payment prepay alipay native o k response has a 2xx status code

func (*PaymentPrepayAlipayNativeOK) String

func (o *PaymentPrepayAlipayNativeOK) String() string

type PaymentPrepayAlipayNativeParams

type PaymentPrepayAlipayNativeParams struct {

	// Body.
	Body *models.NewbillingPrepayAlipayNativeRequest

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

PaymentPrepayAlipayNativeParams contains all the parameters to send to the API endpoint

for the payment prepay alipay native operation.

Typically these are written to a http.Request.

func NewPaymentPrepayAlipayNativeParams

func NewPaymentPrepayAlipayNativeParams() *PaymentPrepayAlipayNativeParams

NewPaymentPrepayAlipayNativeParams creates a new PaymentPrepayAlipayNativeParams 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 NewPaymentPrepayAlipayNativeParamsWithContext

func NewPaymentPrepayAlipayNativeParamsWithContext(ctx context.Context) *PaymentPrepayAlipayNativeParams

NewPaymentPrepayAlipayNativeParamsWithContext creates a new PaymentPrepayAlipayNativeParams object with the ability to set a context for a request.

func NewPaymentPrepayAlipayNativeParamsWithHTTPClient

func NewPaymentPrepayAlipayNativeParamsWithHTTPClient(client *http.Client) *PaymentPrepayAlipayNativeParams

NewPaymentPrepayAlipayNativeParamsWithHTTPClient creates a new PaymentPrepayAlipayNativeParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentPrepayAlipayNativeParamsWithTimeout

func NewPaymentPrepayAlipayNativeParamsWithTimeout(timeout time.Duration) *PaymentPrepayAlipayNativeParams

NewPaymentPrepayAlipayNativeParamsWithTimeout creates a new PaymentPrepayAlipayNativeParams object with the ability to set a timeout on a request.

func (*PaymentPrepayAlipayNativeParams) SetBody

SetBody adds the body to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) SetContext

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

SetContext adds the context to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) SetDefaults

func (o *PaymentPrepayAlipayNativeParams) SetDefaults()

SetDefaults hydrates default values in the payment prepay alipay native params (not the query body).

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

func (*PaymentPrepayAlipayNativeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) SetTimeout

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

SetTimeout adds the timeout to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) WithBody

WithBody adds the body to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) WithContext

WithContext adds the context to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) WithDefaults

WithDefaults hydrates default values in the payment prepay alipay native params (not the query body).

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

func (*PaymentPrepayAlipayNativeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) WithTimeout

WithTimeout adds the timeout to the payment prepay alipay native params

func (*PaymentPrepayAlipayNativeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentPrepayAlipayNativeReader

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

PaymentPrepayAlipayNativeReader is a Reader for the PaymentPrepayAlipayNative structure.

func (*PaymentPrepayAlipayNativeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentPrepayStripeDefault

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

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

An unexpected error response

func NewPaymentPrepayStripeDefault

func NewPaymentPrepayStripeDefault(code int) *PaymentPrepayStripeDefault

NewPaymentPrepayStripeDefault creates a PaymentPrepayStripeDefault with default headers values

func (*PaymentPrepayStripeDefault) Code

func (o *PaymentPrepayStripeDefault) Code() int

Code gets the status code for the payment prepay stripe default response

func (*PaymentPrepayStripeDefault) Error

func (*PaymentPrepayStripeDefault) GetPayload

func (*PaymentPrepayStripeDefault) IsClientError

func (o *PaymentPrepayStripeDefault) IsClientError() bool

IsClientError returns true when this payment prepay stripe default response has a 4xx status code

func (*PaymentPrepayStripeDefault) IsCode

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

IsCode returns true when this payment prepay stripe default response a status code equal to that given

func (*PaymentPrepayStripeDefault) IsRedirect

func (o *PaymentPrepayStripeDefault) IsRedirect() bool

IsRedirect returns true when this payment prepay stripe default response has a 3xx status code

func (*PaymentPrepayStripeDefault) IsServerError

func (o *PaymentPrepayStripeDefault) IsServerError() bool

IsServerError returns true when this payment prepay stripe default response has a 5xx status code

func (*PaymentPrepayStripeDefault) IsSuccess

func (o *PaymentPrepayStripeDefault) IsSuccess() bool

IsSuccess returns true when this payment prepay stripe default response has a 2xx status code

func (*PaymentPrepayStripeDefault) String

func (o *PaymentPrepayStripeDefault) String() string

type PaymentPrepayStripeOK

type PaymentPrepayStripeOK struct {
	Payload *models.NewbillingPrepayStripeResponse
}

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

A successful response.

func NewPaymentPrepayStripeOK

func NewPaymentPrepayStripeOK() *PaymentPrepayStripeOK

NewPaymentPrepayStripeOK creates a PaymentPrepayStripeOK with default headers values

func (*PaymentPrepayStripeOK) Error

func (o *PaymentPrepayStripeOK) Error() string

func (*PaymentPrepayStripeOK) GetPayload

func (*PaymentPrepayStripeOK) IsClientError

func (o *PaymentPrepayStripeOK) IsClientError() bool

IsClientError returns true when this payment prepay stripe o k response has a 4xx status code

func (*PaymentPrepayStripeOK) IsCode

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

IsCode returns true when this payment prepay stripe o k response a status code equal to that given

func (*PaymentPrepayStripeOK) IsRedirect

func (o *PaymentPrepayStripeOK) IsRedirect() bool

IsRedirect returns true when this payment prepay stripe o k response has a 3xx status code

func (*PaymentPrepayStripeOK) IsServerError

func (o *PaymentPrepayStripeOK) IsServerError() bool

IsServerError returns true when this payment prepay stripe o k response has a 5xx status code

func (*PaymentPrepayStripeOK) IsSuccess

func (o *PaymentPrepayStripeOK) IsSuccess() bool

IsSuccess returns true when this payment prepay stripe o k response has a 2xx status code

func (*PaymentPrepayStripeOK) String

func (o *PaymentPrepayStripeOK) String() string

type PaymentPrepayStripeParams

type PaymentPrepayStripeParams struct {

	// Body.
	Body *models.NewbillingPrepayStripeRequest

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

PaymentPrepayStripeParams contains all the parameters to send to the API endpoint

for the payment prepay stripe operation.

Typically these are written to a http.Request.

func NewPaymentPrepayStripeParams

func NewPaymentPrepayStripeParams() *PaymentPrepayStripeParams

NewPaymentPrepayStripeParams creates a new PaymentPrepayStripeParams 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 NewPaymentPrepayStripeParamsWithContext

func NewPaymentPrepayStripeParamsWithContext(ctx context.Context) *PaymentPrepayStripeParams

NewPaymentPrepayStripeParamsWithContext creates a new PaymentPrepayStripeParams object with the ability to set a context for a request.

func NewPaymentPrepayStripeParamsWithHTTPClient

func NewPaymentPrepayStripeParamsWithHTTPClient(client *http.Client) *PaymentPrepayStripeParams

NewPaymentPrepayStripeParamsWithHTTPClient creates a new PaymentPrepayStripeParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentPrepayStripeParamsWithTimeout

func NewPaymentPrepayStripeParamsWithTimeout(timeout time.Duration) *PaymentPrepayStripeParams

NewPaymentPrepayStripeParamsWithTimeout creates a new PaymentPrepayStripeParams object with the ability to set a timeout on a request.

func (*PaymentPrepayStripeParams) SetBody

SetBody adds the body to the payment prepay stripe params

func (*PaymentPrepayStripeParams) SetContext

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

SetContext adds the context to the payment prepay stripe params

func (*PaymentPrepayStripeParams) SetDefaults

func (o *PaymentPrepayStripeParams) SetDefaults()

SetDefaults hydrates default values in the payment prepay stripe params (not the query body).

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

func (*PaymentPrepayStripeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment prepay stripe params

func (*PaymentPrepayStripeParams) SetTimeout

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

SetTimeout adds the timeout to the payment prepay stripe params

func (*PaymentPrepayStripeParams) WithBody

WithBody adds the body to the payment prepay stripe params

func (*PaymentPrepayStripeParams) WithContext

WithContext adds the context to the payment prepay stripe params

func (*PaymentPrepayStripeParams) WithDefaults

WithDefaults hydrates default values in the payment prepay stripe params (not the query body).

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

func (*PaymentPrepayStripeParams) WithHTTPClient

func (o *PaymentPrepayStripeParams) WithHTTPClient(client *http.Client) *PaymentPrepayStripeParams

WithHTTPClient adds the HTTPClient to the payment prepay stripe params

func (*PaymentPrepayStripeParams) WithTimeout

WithTimeout adds the timeout to the payment prepay stripe params

func (*PaymentPrepayStripeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentPrepayStripeReader

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

PaymentPrepayStripeReader is a Reader for the PaymentPrepayStripe structure.

func (*PaymentPrepayStripeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PaymentPrepayWxpayNativeDefault

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

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

An unexpected error response

func NewPaymentPrepayWxpayNativeDefault

func NewPaymentPrepayWxpayNativeDefault(code int) *PaymentPrepayWxpayNativeDefault

NewPaymentPrepayWxpayNativeDefault creates a PaymentPrepayWxpayNativeDefault with default headers values

func (*PaymentPrepayWxpayNativeDefault) Code

Code gets the status code for the payment prepay wxpay native default response

func (*PaymentPrepayWxpayNativeDefault) Error

func (*PaymentPrepayWxpayNativeDefault) GetPayload

func (*PaymentPrepayWxpayNativeDefault) IsClientError

func (o *PaymentPrepayWxpayNativeDefault) IsClientError() bool

IsClientError returns true when this payment prepay wxpay native default response has a 4xx status code

func (*PaymentPrepayWxpayNativeDefault) IsCode

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

IsCode returns true when this payment prepay wxpay native default response a status code equal to that given

func (*PaymentPrepayWxpayNativeDefault) IsRedirect

func (o *PaymentPrepayWxpayNativeDefault) IsRedirect() bool

IsRedirect returns true when this payment prepay wxpay native default response has a 3xx status code

func (*PaymentPrepayWxpayNativeDefault) IsServerError

func (o *PaymentPrepayWxpayNativeDefault) IsServerError() bool

IsServerError returns true when this payment prepay wxpay native default response has a 5xx status code

func (*PaymentPrepayWxpayNativeDefault) IsSuccess

func (o *PaymentPrepayWxpayNativeDefault) IsSuccess() bool

IsSuccess returns true when this payment prepay wxpay native default response has a 2xx status code

func (*PaymentPrepayWxpayNativeDefault) String

type PaymentPrepayWxpayNativeOK

type PaymentPrepayWxpayNativeOK struct {
	Payload *models.NewbillingPrepayWxpayNativeResponse
}

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

A successful response.

func NewPaymentPrepayWxpayNativeOK

func NewPaymentPrepayWxpayNativeOK() *PaymentPrepayWxpayNativeOK

NewPaymentPrepayWxpayNativeOK creates a PaymentPrepayWxpayNativeOK with default headers values

func (*PaymentPrepayWxpayNativeOK) Error

func (*PaymentPrepayWxpayNativeOK) GetPayload

func (*PaymentPrepayWxpayNativeOK) IsClientError

func (o *PaymentPrepayWxpayNativeOK) IsClientError() bool

IsClientError returns true when this payment prepay wxpay native o k response has a 4xx status code

func (*PaymentPrepayWxpayNativeOK) IsCode

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

IsCode returns true when this payment prepay wxpay native o k response a status code equal to that given

func (*PaymentPrepayWxpayNativeOK) IsRedirect

func (o *PaymentPrepayWxpayNativeOK) IsRedirect() bool

IsRedirect returns true when this payment prepay wxpay native o k response has a 3xx status code

func (*PaymentPrepayWxpayNativeOK) IsServerError

func (o *PaymentPrepayWxpayNativeOK) IsServerError() bool

IsServerError returns true when this payment prepay wxpay native o k response has a 5xx status code

func (*PaymentPrepayWxpayNativeOK) IsSuccess

func (o *PaymentPrepayWxpayNativeOK) IsSuccess() bool

IsSuccess returns true when this payment prepay wxpay native o k response has a 2xx status code

func (*PaymentPrepayWxpayNativeOK) String

func (o *PaymentPrepayWxpayNativeOK) String() string

type PaymentPrepayWxpayNativeParams

type PaymentPrepayWxpayNativeParams struct {

	// Body.
	Body *models.NewbillingPrepayWxpayNativeRequest

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

PaymentPrepayWxpayNativeParams contains all the parameters to send to the API endpoint

for the payment prepay wxpay native operation.

Typically these are written to a http.Request.

func NewPaymentPrepayWxpayNativeParams

func NewPaymentPrepayWxpayNativeParams() *PaymentPrepayWxpayNativeParams

NewPaymentPrepayWxpayNativeParams creates a new PaymentPrepayWxpayNativeParams 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 NewPaymentPrepayWxpayNativeParamsWithContext

func NewPaymentPrepayWxpayNativeParamsWithContext(ctx context.Context) *PaymentPrepayWxpayNativeParams

NewPaymentPrepayWxpayNativeParamsWithContext creates a new PaymentPrepayWxpayNativeParams object with the ability to set a context for a request.

func NewPaymentPrepayWxpayNativeParamsWithHTTPClient

func NewPaymentPrepayWxpayNativeParamsWithHTTPClient(client *http.Client) *PaymentPrepayWxpayNativeParams

NewPaymentPrepayWxpayNativeParamsWithHTTPClient creates a new PaymentPrepayWxpayNativeParams object with the ability to set a custom HTTPClient for a request.

func NewPaymentPrepayWxpayNativeParamsWithTimeout

func NewPaymentPrepayWxpayNativeParamsWithTimeout(timeout time.Duration) *PaymentPrepayWxpayNativeParams

NewPaymentPrepayWxpayNativeParamsWithTimeout creates a new PaymentPrepayWxpayNativeParams object with the ability to set a timeout on a request.

func (*PaymentPrepayWxpayNativeParams) SetBody

SetBody adds the body to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) SetContext

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

SetContext adds the context to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) SetDefaults

func (o *PaymentPrepayWxpayNativeParams) SetDefaults()

SetDefaults hydrates default values in the payment prepay wxpay native params (not the query body).

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

func (*PaymentPrepayWxpayNativeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) SetTimeout

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

SetTimeout adds the timeout to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) WithBody

WithBody adds the body to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) WithContext

WithContext adds the context to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) WithDefaults

WithDefaults hydrates default values in the payment prepay wxpay native params (not the query body).

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

func (*PaymentPrepayWxpayNativeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) WithTimeout

WithTimeout adds the timeout to the payment prepay wxpay native params

func (*PaymentPrepayWxpayNativeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PaymentPrepayWxpayNativeReader

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

PaymentPrepayWxpayNativeReader is a Reader for the PaymentPrepayWxpayNative structure.

func (*PaymentPrepayWxpayNativeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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