// Code generated by goctl. DO NOT EDIT.
package types

type IapCallbackReq struct {
	OrderID            string `json:"order_id" validate:"required"`
	TransactionReceipt string `json:"transaction_receipt" validate:"required"`
}

type PaymentCheckReq struct {
	OrderNo string `json:"order_no" validate:"required"`
}

type PaymentCheckResp struct {
	Type   string `json:"type"`
	Status string `json:"status"`
}

type PaymentReq struct {
	Id        string `json:"id"`
	PayMethod string `json:"pay_method"` // 支付方式: wechat, alipay, appleiap, test(仅开发环境), test_empty(仅开发环境-空报告模式)
	PayType   string `json:"pay_type" validate:"required,oneof=query agent_vip agent_upgrade"`
}

type PaymentResp struct {
	PrepayData interface{} `json:"prepay_data"`
	PrepayId   string      `json:"prepay_id"`
	OrderNo    string      `json:"order_no"`
}
