apis

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DescirbeRefundStatusRequest

type DescirbeRefundStatusRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/*   */
	Pin string `json:"pin"`

	/*  (Optional) */
	RefundId *string `json:"refundId"`

	/*  (Optional) */
	ResourceId *string `json:"resourceId"`

	/* 第几页,默认值为0 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 每页条数,默认为20 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewDescirbeRefundStatusRequest

func NewDescirbeRefundStatusRequest(
	regionId string,
	pin string,
) *DescirbeRefundStatusRequest

* param regionId: 地域ID (Required) * param pin: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescirbeRefundStatusRequestWithAllParams

func NewDescirbeRefundStatusRequestWithAllParams(
	regionId string,
	pin string,
	refundId *string,
	resourceId *string,
	pageNumber *int,
	pageSize *int,
) *DescirbeRefundStatusRequest

* param regionId: 地域ID (Required) * param pin: (Required) * param refundId: (Optional) * param resourceId: (Optional) * param pageNumber: 第几页,默认值为0 (Optional) * param pageSize: 每页条数,默认为20 (Optional)

func NewDescirbeRefundStatusRequestWithoutParam

func NewDescirbeRefundStatusRequestWithoutParam() *DescirbeRefundStatusRequest

This constructor has better compatible ability when API parameters changed

func (DescirbeRefundStatusRequest) GetRegionId

func (r DescirbeRefundStatusRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescirbeRefundStatusRequest) SetPageNumber

func (r *DescirbeRefundStatusRequest) SetPageNumber(pageNumber int)

param pageNumber: 第几页,默认值为0(Optional)

func (*DescirbeRefundStatusRequest) SetPageSize

func (r *DescirbeRefundStatusRequest) SetPageSize(pageSize int)

param pageSize: 每页条数,默认为20(Optional)

func (*DescirbeRefundStatusRequest) SetPin

func (r *DescirbeRefundStatusRequest) SetPin(pin string)

param pin: (Required)

func (*DescirbeRefundStatusRequest) SetRefundId

func (r *DescirbeRefundStatusRequest) SetRefundId(refundId string)

param refundId: (Optional)

func (*DescirbeRefundStatusRequest) SetRegionId

func (r *DescirbeRefundStatusRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DescirbeRefundStatusRequest) SetResourceId

func (r *DescirbeRefundStatusRequest) SetResourceId(resourceId string)

param resourceId: (Optional)

type DescirbeRefundStatusResponse

type DescirbeRefundStatusResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescirbeRefundStatusResult `json:"result"`
}

type DescirbeRefundStatusResult

type DescirbeRefundStatusResult struct {
	PageInfos refund.PageInfos      `json:"pageInfos"`
	Data      []refund.RefundResult `json:"data"`
}

type SubmitResourceRefundRequest

type SubmitResourceRefundRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/*  (Optional) */
	JsonBody *refund.ResourceRefundReq `json:"jsonBody"`
}

func NewSubmitResourceRefundRequest

func NewSubmitResourceRefundRequest(
	regionId string,
) *SubmitResourceRefundRequest

* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSubmitResourceRefundRequestWithAllParams

func NewSubmitResourceRefundRequestWithAllParams(
	regionId string,
	jsonBody *refund.ResourceRefundReq,
) *SubmitResourceRefundRequest

* param regionId: 地域ID (Required) * param jsonBody: (Optional)

func NewSubmitResourceRefundRequestWithoutParam

func NewSubmitResourceRefundRequestWithoutParam() *SubmitResourceRefundRequest

This constructor has better compatible ability when API parameters changed

func (SubmitResourceRefundRequest) GetRegionId

func (r SubmitResourceRefundRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SubmitResourceRefundRequest) SetJsonBody

func (r *SubmitResourceRefundRequest) SetJsonBody(jsonBody *refund.ResourceRefundReq)

param jsonBody: (Optional)

func (*SubmitResourceRefundRequest) SetRegionId

func (r *SubmitResourceRefundRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type SubmitResourceRefundResponse

type SubmitResourceRefundResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    SubmitResourceRefundResult `json:"result"`
}

type SubmitResourceRefundResult

type SubmitResourceRefundResult struct {
	Success bool   `json:"success"`
	Code    int    `json:"code"`
	Data    string `json:"data"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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