Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefundOrderResult ¶
type RefundRecordOrderItemVo ¶
type RefundRecordOrderItemVo struct {
/* 退款单号 (Optional) */
RefundId string `json:"refundId"`
/* 资源id (Optional) */
ResourceId string `json:"resourceId"`
/* 资源名称 (Optional) */
ResourceName string `json:"resourceName"`
/* 订单号 (Optional) */
OrderNumber string `json:"orderNumber"`
/* 子订单号 (Optional) */
OrderSubNumber string `json:"orderSubNumber"`
/* 订单商品编号 (Optional) */
OrderItemNumber string `json:"orderItemNumber"`
/* 总订单金额 (Optional) */
TotalFee int `json:"totalFee"`
/* 订单优惠金额 (Optional) */
DiscountFee int `json:"discountFee"`
/* 实际订单金额 (Optional) */
ActualFee int `json:"actualFee"`
/* 优惠券支付金额 (Optional) */
CouponFee int `json:"couponFee"`
/* 余额支付金额 (Optional) */
BalanceFee int `json:"balanceFee"`
/* 现金支付金额 (Optional) */
CashFee int `json:"cashFee"`
/* 代金券退款金额 (Optional) */
CouponRefundFee int `json:"couponRefundFee"`
/* 余额退款金额 (Optional) */
BalanceRefundFee int `json:"balanceRefundFee"`
/* 现金退款金额 (Optional) */
CashRefundFee int `json:"cashRefundFee"`
/* 总退款金额 (Optional) */
RefundFee int `json:"refundFee"`
/* 选中标记 0-未选中 1-选中 (Optional) */
ChooseFlag int `json:"chooseFlag"`
/* 订单类型 来源于order 1-新购,2-续费,3-配置变更 (Optional) */
OrderType int `json:"orderType"`
/* 订单计费类型:来源于order 1-按配置,2-按用量,3-按包年/包月,4-一次性付费 (Optional) */
ChargeMode int `json:"chargeMode"`
/* 台账业务编号 (Optional) */
MerchantId int `json:"merchantId"`
/* 现金退款渠道 1-企业网银,2-个人网银,3-微信支付,4-京东支付,5-线下汇款 (Optional) */
CashRefundChannel int `json:"cashRefundChannel"`
/* 产品线 (Optional) */
ServiceCode string `json:"serviceCode"`
/* 产品类目 (Optional) */
AppCode string `json:"appCode"`
}
type RefundRecordResp ¶
type RefundResult ¶
type RefundResult struct {
/* (Optional) */
Id int64 `json:"id"`
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 退款单号 (Optional) */
RefundId string `json:"refundId"`
/* 资源id (Optional) */
ResourceId string `json:"resourceId"`
/* 退款单 (Optional) */
RecordNumberList string `json:"recordNumberList"`
/* 退款金额 (Optional) */
RefundAmount string `json:"refundAmount"`
/* 退款状态 (Optional) */
Status string `json:"status"`
/* 创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 更新时间 (Optional) */
UpdateTime string `json:"updateTime"`
}
type RefundsStrategyDTO ¶
type RefundsStrategyDTO struct {
/* 退款策略主键id(修改必传,新增不传) (Optional) */
Id int `json:"id"`
/* 策略来源类型 0-运营后台退款策略 1-控制台退款策略 2-openapi退款策略 3-外部服务上云退款策略 4-产品线退款 5-出货失败退款策略 (Optional) */
StrategyType int `json:"strategyType"`
/* 退款方式策略 1 原支付方式返回 2 退款至余额 (Optional) */
RefundChannelSwitch int `json:"refundChannelSwitch"`
/* 退款类型策略 0-退款退货 1-退款不退货 (Optional) */
RefundWaySwitch int `json:"refundWaySwitch"`
/* 退款范围策略 0-仅退现金 1-全部退款(含代金券) (Optional) */
RefundAreaSwitch int `json:"refundAreaSwitch"`
/* 发票允许的状态 0-未开票 1-已退票 2-欠票补扣 (Optional) */
InvoiceStatusSwitch int `json:"invoiceStatusSwitch"`
/* 审批策略 0-关闭 1-开启 (Optional) */
ApproveSwitch int `json:"approveSwitch"`
/* 退款订单默认策略 0-退全部可退订单 1-退最后一笔订单 2-仅退新购订单 3-仅退续费订单 (Optional) */
RefundOrderSwitch int `json:"refundOrderSwitch"`
/* 业务产品线(如vm) (Optional) */
ServiceCode string `json:"serviceCode"`
/* 优先级 0-兜底策略 1-策略类型策略 2-service_code策略 (Optional) */
Priority int `json:"priority"`
/* 状态 0-无效 1-生效 (Optional) */
Status int `json:"status"`
/* 退款类型 1-订单退款 2-充值单退款 3-线下退款(人工退款) (Optional) */
RefundType int `json:"refundType"`
/* 权限列表,逗号分隔. erp,pin (Optional) */
PermissionList string `json:"permissionList"`
}
type RefundsStrategyVo ¶
type RefundsStrategyVo struct {
/* 退款策略主键id (Optional) */
StrategyId int `json:"strategyId"`
/* 策略来源类型 0-运营后台退款策略 1-控制台退款策略 2-openapi退款策略 3-外部服务上云退款策略 4-产品线退款 5-出货失败退款策略 (Optional) */
StrategyType int `json:"strategyType"`
/* 退款方式策略 1 原支付方式返回 2 退款至余额 (Optional) */
RefundChannelSwitch int `json:"refundChannelSwitch"`
/* 退款类型策略 0-退款退货 1-退款不退货 (Optional) */
RefundWaySwitch int `json:"refundWaySwitch"`
/* 退款范围策略 0-仅退现金 1-全部退款(含代金券) (Optional) */
RefundAreaSwitch int `json:"refundAreaSwitch"`
/* 发票允许的状态 0-未开票 1-已退票 2-欠票补扣 (Optional) */
InvoiceStatusSwitch int `json:"invoiceStatusSwitch"`
/* 审批策略 0-关闭 1-开启 (Optional) */
ApproveSwitch int `json:"approveSwitch"`
/* 退款订单默认策略 0-退全部可退订单 1-退最后一笔订单 2-仅退新购订单 3-仅退续费订单 (Optional) */
RefundOrderSwitch int `json:"refundOrderSwitch"`
/* 业务产品线(如vm) (Optional) */
ServiceCode string `json:"serviceCode"`
/* 优先级 0-兜底策略 1-策略类型策略 2-service_code策略 (Optional) */
Priority int `json:"priority"`
/* 状态 0-无效 1-生效 (Optional) */
Status int `json:"status"`
/* 退款类型 1-订单退款 2-充值单退款 3-线下退款(人工退款) (Optional) */
RefundType int `json:"refundType"`
}
type ResourceRefundReq ¶
type ResourceRefundReq struct {
/* 退款类型 1-订单(资源)退款 2-充值单退款 3-线下退款(人工退款)4-出货失败退款 (Optional) */
RefundType *interface{} `json:"refundType"`
/* 资源id */
ResourceId string `json:"resourceId"`
/* 退款渠道 1 原支付方式返回 2 退款至余额 (Optional) */
RefundChannel *int `json:"refundChannel"`
/* 退款方式 1-退款退货 2-退款不退货 (Optional) */
RefundWay *int `json:"refundWay"`
/* 退款原因 0-产品不好用/不想要 1-产品功能无法满足需求 2-产品操作体验差 3-服务体验差 4-其他 (Optional) */
RefundReason *int `json:"refundReason"`
/* 其他退款原因 (Optional) */
RefundReasonOther *string `json:"refundReasonOther"`
/* 退款范围: 1-仅退现金 2-全部退款(含代金券) (Optional) */
RefundArea *int `json:"refundArea"`
}
type ResourceRefundResp ¶
Click to show internal directories.
Click to hide internal directories.