1 Star 0 Fork 0

此间少年' / topsdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest.go 2.64 KB
一键复制 编辑 原始数据 按行查看 历史
此间少年' 提交于 2023-10-20 10:35 . add taobao sdk
package domain
import (
"gitee.com/cjsn/topsdk/util"
)
type TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest struct {
/*
保单号 */
InsuranceOrderNo *string `json:"insurance_order_no,omitempty" `
/*
投保数量 */
InsuranceCount *int64 `json:"insurance_count,omitempty" `
/*
投保对应服务单 */
InsuranceServiceOrderId *int64 `json:"insurance_service_order_id,omitempty" `
/*
投保时间 */
InsuranceStartTime *util.LocalTime `json:"insurance_start_time,omitempty" `
/*
退保时间(暂定) */
InsuranceRefundTime *util.LocalTime `json:"insurance_refund_time,omitempty" `
/*
投保类型 1:只换不修;2:碎屏;3:延长保修;4:全面保修;5:意外保;6:无忧退 */
InsuranceType *int64 `json:"insurance_type,omitempty" `
/*
保单状态 1 投保成功; 99 投保失败 */
InsuranceOrderStatus *int64 `json:"insurance_order_status,omitempty" `
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceOrderNo(v string) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceOrderNo = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceCount(v int64) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceCount = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceServiceOrderId(v int64) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceServiceOrderId = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceStartTime(v util.LocalTime) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceStartTime = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceRefundTime(v util.LocalTime) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceRefundTime = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceType(v int64) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceType = &v
return s
}
func (s *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest) SetInsuranceOrderStatus(v int64) *TmallSerivcecenterServicerorderInsuranceCallbackServiceInsuranceCallbackRequest {
s.InsuranceOrderStatus = &v
return s
}
Go
1
https://gitee.com/cjsn/topsdk.git
git@gitee.com:cjsn/topsdk.git
cjsn
topsdk
topsdk
v0.1.6

搜索帮助