baoxian

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package baoxian 包含保险API相关结构体

https://open.taobao.com/API.htm?docId=37741&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliSceneResult

type AliSceneResult struct {
	// 系统自动生成
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 系统自动生成
	BizErrorMsg string `json:"biz_error_msg,omitempty" xml:"biz_error_msg,omitempty"`
	// 是否成功
	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`
}

AliSceneResult 结构体

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest added in v1.2.0

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest 更新理赔单退货货物状态 API请求 alipay.baoxian.claim.returngoodsstatus.update

更新理赔单退货货物状态

func NewAlipayBaoxianClaimReturngoodsstatusUpdateRequest

func NewAlipayBaoxianClaimReturngoodsstatusUpdateRequest() *AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest

NewAlipayBaoxianClaimReturngoodsstatusUpdateRequest 初始化AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest对象

func (AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) GetClaimNo added in v1.2.0

GetClaimNo ClaimNo Getter

func (AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) GetGoodsStatus added in v1.2.0

GetGoodsStatus GoodsStatus Getter

func (*AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) SetClaimNo added in v1.2.0

SetClaimNo is ClaimNo Setter 理赔单号

func (*AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) SetGoodsStatus added in v1.2.0

func (r *AlipayBaoxianClaimReturngoodsstatusUpdateAPIRequest) SetGoodsStatus(_goodsStatus string) error

SetGoodsStatus is GoodsStatus Setter 退货货物状态

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponse

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponseModel
}

AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponse 更新理赔单退货货物状态 API返回值 alipay.baoxian.claim.returngoodsstatus.update

更新理赔单退货货物状态

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponseModel added in v1.2.0

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alipay_baoxian_claim_returngoodsstatus_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlipayBaoxianClaimReturngoodsstatusUpdateMtopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponseModel is 更新理赔单退货货物状态 成功返回结果

type AlipayBaoxianClaimReturngoodsstatusUpdateMtopResult added in v1.1.3

type AlipayBaoxianClaimReturngoodsstatusUpdateMtopResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlipayBaoxianClaimReturngoodsstatusUpdateMtopResult 结构体

type AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest added in v1.2.0

type AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest 保险退货服务商勘察结论提交接口 API请求 alipay.baoxian.claim.survey.conclusion.submit

保险退货服务商提交勘察结论

func NewAlipayBaoxianClaimSurveyConclusionSubmitRequest

func NewAlipayBaoxianClaimSurveyConclusionSubmitRequest() *AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest

NewAlipayBaoxianClaimSurveyConclusionSubmitRequest 初始化AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest对象

func (AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest) GetFacilitatorSurveyConclusions added in v1.2.0

GetFacilitatorSurveyConclusions FacilitatorSurveyConclusions Getter

func (*AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest) SetFacilitatorSurveyConclusions added in v1.2.0

func (r *AlipayBaoxianClaimSurveyConclusionSubmitAPIRequest) SetFacilitatorSurveyConclusions(_facilitatorSurveyConclusions []InsFacilitatorSurveyConclusionDto) error

SetFacilitatorSurveyConclusions is FacilitatorSurveyConclusions Setter 勘察结论

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponse

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimSurveyConclusionSubmitAPIResponseModel
}

AlipayBaoxianClaimSurveyConclusionSubmitAPIResponse 保险退货服务商勘察结论提交接口 API返回值 alipay.baoxian.claim.survey.conclusion.submit

保险退货服务商提交勘察结论

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponseModel added in v1.2.0

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alipay_baoxian_claim_survey_conclusion_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *AliSceneResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlipayBaoxianClaimSurveyConclusionSubmitAPIResponseModel is 保险退货服务商勘察结论提交接口 成功返回结果

type AlipayBaoxianClaimUpdateAPIRequest added in v1.2.0

type AlipayBaoxianClaimUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlipayBaoxianClaimUpdateAPIRequest 更新赔案 API请求 alipay.baoxian.claim.update

更新保险理赔单

func NewAlipayBaoxianClaimUpdateRequest

func NewAlipayBaoxianClaimUpdateRequest() *AlipayBaoxianClaimUpdateAPIRequest

NewAlipayBaoxianClaimUpdateRequest 初始化AlipayBaoxianClaimUpdateAPIRequest对象

func (AlipayBaoxianClaimUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimUpdateAPIRequest) GetBizData added in v1.2.0

GetBizData BizData Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetBizSource added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetBizSource() string

GetBizSource BizSource Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetClaimAttachments added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetClaimAttachments() []ClaimAttachment

GetClaimAttachments ClaimAttachments Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetClaimFee added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetClaimFee() int64

GetClaimFee ClaimFee Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetClaimNo added in v1.2.0

GetClaimNo ClaimNo Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetClaimOutBizNo added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetClaimOutBizNo() string

GetClaimOutBizNo ClaimOutBizNo Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetOutBizNo added in v1.2.0

GetOutBizNo OutBizNo Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetPolicyBizNo added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetPolicyBizNo() string

GetPolicyBizNo PolicyBizNo Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetProgressList added in v1.2.0

func (r AlipayBaoxianClaimUpdateAPIRequest) GetProgressList() []string

GetProgressList ProgressList Getter

func (AlipayBaoxianClaimUpdateAPIRequest) GetSpNo added in v1.2.0

GetSpNo SpNo Getter

func (*AlipayBaoxianClaimUpdateAPIRequest) SetBizData added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetBizData(_bizData string) error

SetBizData is BizData Setter 业务数据

func (*AlipayBaoxianClaimUpdateAPIRequest) SetBizSource added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetBizSource(_bizSource string) error

SetBizSource is BizSource Setter 业务来源

func (*AlipayBaoxianClaimUpdateAPIRequest) SetClaimAttachments added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetClaimAttachments(_claimAttachments []ClaimAttachment) error

SetClaimAttachments is ClaimAttachments Setter 附件列表

func (*AlipayBaoxianClaimUpdateAPIRequest) SetClaimFee added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetClaimFee(_claimFee int64) error

SetClaimFee is ClaimFee Setter 理赔金额(单位为分)

func (*AlipayBaoxianClaimUpdateAPIRequest) SetClaimNo added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetClaimNo(_claimNo string) error

SetClaimNo is ClaimNo Setter 理赔单号

func (*AlipayBaoxianClaimUpdateAPIRequest) SetClaimOutBizNo added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetClaimOutBizNo(_claimOutBizNo string) error

SetClaimOutBizNo is ClaimOutBizNo Setter 理赔外部业务单号

func (*AlipayBaoxianClaimUpdateAPIRequest) SetOutBizNo added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetOutBizNo(_outBizNo string) error

SetOutBizNo is OutBizNo Setter 外部业务单号

func (*AlipayBaoxianClaimUpdateAPIRequest) SetPolicyBizNo added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetPolicyBizNo(_policyBizNo string) error

SetPolicyBizNo is PolicyBizNo Setter 保单业务单号

func (*AlipayBaoxianClaimUpdateAPIRequest) SetProgressList added in v1.2.0

func (r *AlipayBaoxianClaimUpdateAPIRequest) SetProgressList(_progressList []string) error

SetProgressList is ProgressList Setter 进度列表

func (*AlipayBaoxianClaimUpdateAPIRequest) SetSpNo added in v1.2.0

SetSpNo is SpNo Setter 标准产品ID

type AlipayBaoxianClaimUpdateAPIResponse

type AlipayBaoxianClaimUpdateAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimUpdateAPIResponseModel
}

AlipayBaoxianClaimUpdateAPIResponse 更新赔案 API返回值 alipay.baoxian.claim.update

更新保险理赔单

type AlipayBaoxianClaimUpdateAPIResponseModel added in v1.2.0

type AlipayBaoxianClaimUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alipay_baoxian_claim_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlipayBaoxianClaimUpdateMtopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlipayBaoxianClaimUpdateAPIResponseModel is 更新赔案 成功返回结果

type AlipayBaoxianClaimUpdateMtopResult added in v1.1.3

type AlipayBaoxianClaimUpdateMtopResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlipayBaoxianClaimUpdateMtopResult 结构体

type AlipayBaoxianClaimUploadattachmentAPIRequest added in v1.2.0

type AlipayBaoxianClaimUploadattachmentAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlipayBaoxianClaimUploadattachmentAPIRequest 资料上传接口 API请求 alipay.baoxian.claim.uploadattachment

给合作伙伴上传申请理赔材料

func NewAlipayBaoxianClaimUploadattachmentRequest

func NewAlipayBaoxianClaimUploadattachmentRequest() *AlipayBaoxianClaimUploadattachmentAPIRequest

NewAlipayBaoxianClaimUploadattachmentRequest 初始化AlipayBaoxianClaimUploadattachmentAPIRequest对象

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetAttachmentByte added in v1.2.0

GetAttachmentByte AttachmentByte Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetAttachmentKey added in v1.2.0

GetAttachmentKey AttachmentKey Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetBase64Bytes added in v1.2.0

GetBase64Bytes Base64Bytes Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetBizSource added in v1.2.0

GetBizSource BizSource Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetOutBizNo added in v1.2.0

GetOutBizNo OutBizNo Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetPolicyBizNo added in v1.2.0

GetPolicyBizNo PolicyBizNo Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetSpNo added in v1.2.0

GetSpNo SpNo Getter

func (AlipayBaoxianClaimUploadattachmentAPIRequest) GetUploadUser added in v1.2.0

GetUploadUser UploadUser Getter

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetAttachmentByte added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetAttachmentByte(_attachmentByte *model.File) error

SetAttachmentByte is AttachmentByte Setter 文件字节数组

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetAttachmentKey added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetAttachmentKey(_attachmentKey string) error

SetAttachmentKey is AttachmentKey Setter 文件名,必须带后缀名。例如:test.png,test.doc,test.pdf

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetBase64Bytes added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetBase64Bytes(_base64Bytes bool) error

SetBase64Bytes is Base64Bytes Setter 是否base格式的字节数组

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetBizSource added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetBizSource(_bizSource string) error

SetBizSource is BizSource Setter 业务来源

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetOutBizNo added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetOutBizNo(_outBizNo string) error

SetOutBizNo is OutBizNo Setter 外部业务号,唯一

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetPolicyBizNo added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetPolicyBizNo(_policyBizNo string) error

SetPolicyBizNo is PolicyBizNo Setter 保单外部业务单号

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetSpNo added in v1.2.0

SetSpNo is SpNo Setter 标准产品ID

func (*AlipayBaoxianClaimUploadattachmentAPIRequest) SetUploadUser added in v1.2.0

func (r *AlipayBaoxianClaimUploadattachmentAPIRequest) SetUploadUser(_uploadUser string) error

SetUploadUser is UploadUser Setter 上传者用户标识

type AlipayBaoxianClaimUploadattachmentAPIResponse

type AlipayBaoxianClaimUploadattachmentAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimUploadattachmentAPIResponseModel
}

AlipayBaoxianClaimUploadattachmentAPIResponse 资料上传接口 API返回值 alipay.baoxian.claim.uploadattachment

给合作伙伴上传申请理赔材料

type AlipayBaoxianClaimUploadattachmentAPIResponseModel added in v1.2.0

type AlipayBaoxianClaimUploadattachmentAPIResponseModel struct {
	XMLName xml.Name `xml:"alipay_baoxian_claim_uploadattachment_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	UploadResult *UploadResult `json:"upload_result,omitempty" xml:"upload_result,omitempty"`
}

AlipayBaoxianClaimUploadattachmentAPIResponseModel is 资料上传接口 成功返回结果

type ClaimAttachment

type ClaimAttachment struct {
	// 文件名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 文件路径
	Path string `json:"path,omitempty" xml:"path,omitempty"`
	// 文件描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 文件类型
	FileType string `json:"file_type,omitempty" xml:"file_type,omitempty"`
	// 附件类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 文件大小
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

ClaimAttachment 结构体

type InsAttachmentUploadVo

type InsAttachmentUploadVo struct {
	// ossPath
	OssPath string `json:"oss_path,omitempty" xml:"oss_path,omitempty"`
	// eTag
	ETag string `json:"e_tag,omitempty" xml:"e_tag,omitempty"`
	// size
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

InsAttachmentUploadVo 结构体

type InsFacilitatorSurveyConclusionDto

type InsFacilitatorSurveyConclusionDto struct {
	// 业务单号
	BizNo string `json:"biz_no,omitempty" xml:"biz_no,omitempty"`
	// 物流单号
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// 勘察附件
	SurveyAttachments string `json:"survey_attachments,omitempty" xml:"survey_attachments,omitempty"`
	// 勘察结论
	SurveyConclusion string `json:"survey_conclusion,omitempty" xml:"survey_conclusion,omitempty"`
	// 勘察结论描述
	SurveyConclusionDesc string `json:"survey_conclusion_desc,omitempty" xml:"survey_conclusion_desc,omitempty"`
	// 扩展参数
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
}

InsFacilitatorSurveyConclusionDto 结构体

type UploadResult

type UploadResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// model
	Model *InsAttachmentUploadVo `json:"model,omitempty" xml:"model,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

UploadResult 结构体

Jump to

Keyboard shortcuts

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