func (this *OrderCoupon) Clone(coupon promotion.ICouponPromotion, orderId int, orderFee float32) *OrderCoupon { v := coupon.GetDetailsValue() this.CouponCode = v.Code this.CouponId = v.Id this.OrderId = orderId this.Fee = coupon.GetCouponFee(orderFee) this.Describe = coupon.GetDescribe() this.SendIntegral = v.Integral return this }