models

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 10 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageInfos

type PageInfos struct {

	/* 成功标识 (Optional) */
	CurrentPage int `json:"currentPage"`

	/*  (Optional) */
	PageSize int `json:"pageSize"`

	/* 数据 (Optional) */
	TotalRecord int64 `json:"totalRecord"`
}

type RefundOrderResult

type RefundOrderResult struct {

	/* true-请求成功,false-请求失败 (Optional) */
	Success bool `json:"success"`

	/* 退款单id (Optional) */
	Data string `json:"data"`

	/*  (Optional) */
	Code int `json:"code"`

	/*  (Optional) */
	Message string `json:"message"`
}

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 RefundRecordResp struct {

	/* 成功标识 (Optional) */
	IsSuccess bool `json:"isSuccess"`

	/* 请求ID (Optional) */
	RequestId string `json:"requestId"`

	/* 数据 (Optional) */
	Data interface{} `json:"data"`

	/* 失败/错误原因 (Optional) */
	Message string `json:"message"`
}

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

type ResourceRefundResp struct {

	/* 请求id (Optional) */
	RequestId string `json:"requestId"`

	/* 请求id (Optional) */
	Data string `json:"data"`

	/* 请求id (Optional) */
	Page string `json:"page"`
}

Jump to

Keyboard shortcuts

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