alihealthcert

package
v1.2.7 Latest Latest
Warning

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

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

Documentation

Overview

Package alihealthcert 包含阿里健康-健康证相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest added in v1.2.0

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

AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest 健康证服务商预约结果通知阿里健康 API请求 alibaba.alihealth.examination.reserve.certificate.notify

当ISV执行完健康证预约成功之后, 调用通知阿里健康

func NewAlibabaAlihealthExaminationReserveCertificateNotifyRequest

func NewAlibabaAlihealthExaminationReserveCertificateNotifyRequest() *AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest

NewAlibabaAlihealthExaminationReserveCertificateNotifyRequest 初始化AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest对象

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetCheckNo added in v1.2.0

GetCheckNo CheckNo Getter

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetReportStatus added in v1.2.0

GetReportStatus ReportStatus Getter

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetReserveNumber added in v1.2.0

GetReserveNumber ReserveNumber Getter

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetStatusReason added in v1.2.0

GetStatusReason StatusReason Getter

func (AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) GetUniqReserveCode added in v1.2.0

GetUniqReserveCode UniqReserveCode Getter

func (*AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetCheckNo added in v1.2.0

SetCheckNo is CheckNo Setter 到检凭证,exam_done状态下,该字段必填

func (*AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetReportStatus added in v1.2.0

SetReportStatus is ReportStatus Setter 预约成功(ISSUED),预约失败(FAIL)

func (*AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetReserveNumber added in v1.2.0

SetReserveNumber is ReserveNumber Setter 健康预约凭证

func (*AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetStatusReason added in v1.2.0

SetStatusReason is StatusReason Setter 预约状态原因,描述预约状态如FAIL时的原因

func (*AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetUniqReserveCode added in v1.2.0

func (r *AlibabaAlihealthExaminationReserveCertificateNotifyAPIRequest) SetUniqReserveCode(_uniqReserveCode string) error

SetUniqReserveCode is UniqReserveCode Setter 服务商预约凭证

type AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponse

type AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponseModel
}

AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponse 健康证服务商预约结果通知阿里健康 API返回值 alibaba.alihealth.examination.reserve.certificate.notify

当ISV执行完健康证预约成功之后, 调用通知阿里健康

type AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponseModel added in v1.2.0

type AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alihealth_examination_reserve_certificate_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// alinkappserver系统返回的通用结果类
	Result *ServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlihealthExaminationReserveCertificateNotifyAPIResponseModel is 健康证服务商预约结果通知阿里健康 成功返回结果

type ReserveStatusResultResponse

type ReserveStatusResultResponse struct {
	// 业务响应code
	ResponseCode string `json:"response_code,omitempty" xml:"response_code,omitempty"`
	// 正文
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

ReserveStatusResultResponse 结构体

type ServiceResult

type ServiceResult struct {
	// 111
	EagleEyeTraceId string `json:"eagle_eye_trace_id,omitempty" xml:"eagle_eye_trace_id,omitempty"`
	// 系统错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 返回数据对象
	Data *ReserveStatusResultResponse `json:"data,omitempty" xml:"data,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ServiceResult 结构体

Jump to

Keyboard shortcuts

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