baoxian

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

保险API model

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 AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponse

type AlipayBaoxianClaimReturngoodsstatusUpdateAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimReturngoodsstatusUpdateResponse
}

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

更新理赔单退货货物状态

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 AlipayBaoxianClaimReturngoodsstatusUpdateRequest

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

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

更新理赔单退货货物状态

func NewAlipayBaoxianClaimReturngoodsstatusUpdateRequest

func NewAlipayBaoxianClaimReturngoodsstatusUpdateRequest() *AlipayBaoxianClaimReturngoodsstatusUpdateRequest

初始化AlipayBaoxianClaimReturngoodsstatusUpdateRequest对象

func (AlipayBaoxianClaimReturngoodsstatusUpdateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimReturngoodsstatusUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimReturngoodsstatusUpdateRequest) GetClaimNo

ClaimNo Getter

func (AlipayBaoxianClaimReturngoodsstatusUpdateRequest) GetGoodsStatus

GoodsStatus Getter

func (*AlipayBaoxianClaimReturngoodsstatusUpdateRequest) SetClaimNo

ClaimNo Setter 理赔单号

func (*AlipayBaoxianClaimReturngoodsstatusUpdateRequest) SetGoodsStatus

func (r *AlipayBaoxianClaimReturngoodsstatusUpdateRequest) SetGoodsStatus(goodsStatus string) error

GoodsStatus Setter 退货货物状态

type AlipayBaoxianClaimReturngoodsstatusUpdateResponse

type AlipayBaoxianClaimReturngoodsstatusUpdateResponse 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"`
}

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

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponse

type AlipayBaoxianClaimSurveyConclusionSubmitAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimSurveyConclusionSubmitResponse
}

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

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

type AlipayBaoxianClaimSurveyConclusionSubmitRequest

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

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

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

func NewAlipayBaoxianClaimSurveyConclusionSubmitRequest

func NewAlipayBaoxianClaimSurveyConclusionSubmitRequest() *AlipayBaoxianClaimSurveyConclusionSubmitRequest

初始化AlipayBaoxianClaimSurveyConclusionSubmitRequest对象

func (AlipayBaoxianClaimSurveyConclusionSubmitRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimSurveyConclusionSubmitRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimSurveyConclusionSubmitRequest) GetFacilitatorSurveyConclusions

FacilitatorSurveyConclusions Getter

func (*AlipayBaoxianClaimSurveyConclusionSubmitRequest) SetFacilitatorSurveyConclusions

func (r *AlipayBaoxianClaimSurveyConclusionSubmitRequest) SetFacilitatorSurveyConclusions(facilitatorSurveyConclusions []InsFacilitatorSurveyConclusionDto) error

FacilitatorSurveyConclusions Setter 勘察结论

type AlipayBaoxianClaimSurveyConclusionSubmitResponse

type AlipayBaoxianClaimSurveyConclusionSubmitResponse 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"`
}

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

type AlipayBaoxianClaimUpdateAPIResponse

type AlipayBaoxianClaimUpdateAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimUpdateResponse
}

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

更新保险理赔单

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 AlipayBaoxianClaimUpdateRequest

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

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

更新保险理赔单

func NewAlipayBaoxianClaimUpdateRequest

func NewAlipayBaoxianClaimUpdateRequest() *AlipayBaoxianClaimUpdateRequest

初始化AlipayBaoxianClaimUpdateRequest对象

func (AlipayBaoxianClaimUpdateRequest) GetApiMethodName

func (r AlipayBaoxianClaimUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimUpdateRequest) GetApiParams

func (r AlipayBaoxianClaimUpdateRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimUpdateRequest) GetBizData

func (r AlipayBaoxianClaimUpdateRequest) GetBizData() string

BizData Getter

func (AlipayBaoxianClaimUpdateRequest) GetBizSource

func (r AlipayBaoxianClaimUpdateRequest) GetBizSource() string

BizSource Getter

func (AlipayBaoxianClaimUpdateRequest) GetClaimAttachments

func (r AlipayBaoxianClaimUpdateRequest) GetClaimAttachments() []ClaimAttachment

ClaimAttachments Getter

func (AlipayBaoxianClaimUpdateRequest) GetClaimFee

func (r AlipayBaoxianClaimUpdateRequest) GetClaimFee() int64

ClaimFee Getter

func (AlipayBaoxianClaimUpdateRequest) GetClaimNo

func (r AlipayBaoxianClaimUpdateRequest) GetClaimNo() string

ClaimNo Getter

func (AlipayBaoxianClaimUpdateRequest) GetClaimOutBizNo

func (r AlipayBaoxianClaimUpdateRequest) GetClaimOutBizNo() string

ClaimOutBizNo Getter

func (AlipayBaoxianClaimUpdateRequest) GetOutBizNo

func (r AlipayBaoxianClaimUpdateRequest) GetOutBizNo() string

OutBizNo Getter

func (AlipayBaoxianClaimUpdateRequest) GetPolicyBizNo

func (r AlipayBaoxianClaimUpdateRequest) GetPolicyBizNo() string

PolicyBizNo Getter

func (AlipayBaoxianClaimUpdateRequest) GetProgressList

func (r AlipayBaoxianClaimUpdateRequest) GetProgressList() []string

ProgressList Getter

func (AlipayBaoxianClaimUpdateRequest) GetSpNo

SpNo Getter

func (*AlipayBaoxianClaimUpdateRequest) SetBizData

func (r *AlipayBaoxianClaimUpdateRequest) SetBizData(bizData string) error

BizData Setter 业务数据

func (*AlipayBaoxianClaimUpdateRequest) SetBizSource

func (r *AlipayBaoxianClaimUpdateRequest) SetBizSource(bizSource string) error

BizSource Setter 业务来源

func (*AlipayBaoxianClaimUpdateRequest) SetClaimAttachments

func (r *AlipayBaoxianClaimUpdateRequest) SetClaimAttachments(claimAttachments []ClaimAttachment) error

ClaimAttachments Setter 附件列表

func (*AlipayBaoxianClaimUpdateRequest) SetClaimFee

func (r *AlipayBaoxianClaimUpdateRequest) SetClaimFee(claimFee int64) error

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

func (*AlipayBaoxianClaimUpdateRequest) SetClaimNo

func (r *AlipayBaoxianClaimUpdateRequest) SetClaimNo(claimNo string) error

ClaimNo Setter 理赔单号

func (*AlipayBaoxianClaimUpdateRequest) SetClaimOutBizNo

func (r *AlipayBaoxianClaimUpdateRequest) SetClaimOutBizNo(claimOutBizNo string) error

ClaimOutBizNo Setter 理赔外部业务单号

func (*AlipayBaoxianClaimUpdateRequest) SetOutBizNo

func (r *AlipayBaoxianClaimUpdateRequest) SetOutBizNo(outBizNo string) error

OutBizNo Setter 外部业务单号

func (*AlipayBaoxianClaimUpdateRequest) SetPolicyBizNo

func (r *AlipayBaoxianClaimUpdateRequest) SetPolicyBizNo(policyBizNo string) error

PolicyBizNo Setter 保单业务单号

func (*AlipayBaoxianClaimUpdateRequest) SetProgressList

func (r *AlipayBaoxianClaimUpdateRequest) SetProgressList(progressList []string) error

ProgressList Setter 进度列表

func (*AlipayBaoxianClaimUpdateRequest) SetSpNo

func (r *AlipayBaoxianClaimUpdateRequest) SetSpNo(spNo string) error

SpNo Setter 标准产品ID

type AlipayBaoxianClaimUpdateResponse

type AlipayBaoxianClaimUpdateResponse 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"`
}

更新赔案 成功返回结果

type AlipayBaoxianClaimUploadattachmentAPIResponse

type AlipayBaoxianClaimUploadattachmentAPIResponse struct {
	model.CommonResponse
	AlipayBaoxianClaimUploadattachmentResponse
}

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

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

type AlipayBaoxianClaimUploadattachmentRequest

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

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

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

func NewAlipayBaoxianClaimUploadattachmentRequest

func NewAlipayBaoxianClaimUploadattachmentRequest() *AlipayBaoxianClaimUploadattachmentRequest

初始化AlipayBaoxianClaimUploadattachmentRequest对象

func (AlipayBaoxianClaimUploadattachmentRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlipayBaoxianClaimUploadattachmentRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlipayBaoxianClaimUploadattachmentRequest) GetAttachmentByte

func (r AlipayBaoxianClaimUploadattachmentRequest) GetAttachmentByte() []*model.File

AttachmentByte Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetAttachmentKey

AttachmentKey Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetBase64Bytes

Base64Bytes Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetBizSource

BizSource Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetOutBizNo

OutBizNo Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetPolicyBizNo

PolicyBizNo Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetSpNo

SpNo Getter

func (AlipayBaoxianClaimUploadattachmentRequest) GetUploadUser

UploadUser Getter

func (*AlipayBaoxianClaimUploadattachmentRequest) SetAttachmentByte

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetAttachmentByte(attachmentByte []*model.File) error

AttachmentByte Setter 文件字节数组

func (*AlipayBaoxianClaimUploadattachmentRequest) SetAttachmentKey

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetAttachmentKey(attachmentKey string) error

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

func (*AlipayBaoxianClaimUploadattachmentRequest) SetBase64Bytes

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetBase64Bytes(base64Bytes bool) error

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

func (*AlipayBaoxianClaimUploadattachmentRequest) SetBizSource

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetBizSource(bizSource string) error

BizSource Setter 业务来源

func (*AlipayBaoxianClaimUploadattachmentRequest) SetOutBizNo

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetOutBizNo(outBizNo string) error

OutBizNo Setter 外部业务号,唯一

func (*AlipayBaoxianClaimUploadattachmentRequest) SetPolicyBizNo

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetPolicyBizNo(policyBizNo string) error

PolicyBizNo Setter 保单外部业务单号

func (*AlipayBaoxianClaimUploadattachmentRequest) SetSpNo

SpNo Setter 标准产品ID

func (*AlipayBaoxianClaimUploadattachmentRequest) SetUploadUser

func (r *AlipayBaoxianClaimUploadattachmentRequest) SetUploadUser(uploadUser string) error

UploadUser Setter 上传者用户标识

type AlipayBaoxianClaimUploadattachmentResponse

type AlipayBaoxianClaimUploadattachmentResponse 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"`
}

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

type ClaimAttachment

type ClaimAttachment struct {
	// 附件类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 文件名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 文件大小
	Size int64 `json:"size,omitempty" xml:"size,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"`
}

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 {
	// model
	Model *InsAttachmentUploadVo `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"`
}

UploadResult

Jump to

Keyboard shortcuts

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