package domain


type AlibabaWdkOrderGetPayChannel struct {
    /*
        所属淘宝主订单号     */
    BizOrderId  *int64 `json:"biz_order_id,omitempty" `

    /*
        销售渠道（POS，APP);订单来源（淘宝、京东、三江购物网）。如：APP|淘宝     */
    OrderChannel  *string `json:"order_channel,omitempty" `

    /*
        当前渠道付款金额(分)     */
    PayAmount  *int64 `json:"pay_amount,omitempty" `

    /*
        当前渠道付款类型：0-付款码支付，1-盒马在线码－普通支付（pos），2-盒马在线码－免密协议支付（pos），3-银联刷卡（旧pos），4-现金（pos），5-支付宝离线码（pos），6-支付宝快捷支付（app），7-支付平台, 8-国际支付宝, 9-支付宝当面付, 10-网商银行信任付, 11-支付宝, 12-支付宝, 13-网商银行融易收, 14-现金, 15-银行卡, 16-支票, 17-三江购物券, 18-三江赊销     */
    PayType  *int64 `json:"pay_type,omitempty" `

    /*
        交易订单POS机器号     */
    PosNo  *string `json:"pos_no,omitempty" `

    /*
        门店编码     */
    StoreId  *string `json:"store_id,omitempty" `

    /*
        销售类型（正向销售1：逆向销售2。本接口应返回2）     */
    TrdType  *int64 `json:"trd_type,omitempty" `

    /*
        实付抹分金额(分)     */
    ActualPayAmount  *int64 `json:"actual_pay_amount,omitempty" `

    /*
        adjustAmount     */
    AdjustAmount  *int64 `json:"adjust_amount,omitempty" `

    /*
        promotionCardInfo     */
    PromotionCardInfo  *string `json:"promotion_card_info,omitempty" `

    /*
        "扩展属性，根据payType不同，可存放相关内容。MAP<String,String>的json化字符串子订单列表,key列表 "btn"  // 银行卡凭证号,bank_trade_no "bmi"  // 银行卡商户号,bank_merchant_id "bti"  // 银行卡终端号,bank_term_id "brn"  // 银行卡系统参考号,bank_ref_no "damt" // 优惠金额，discount_amount "tno"  // 支付工具号tool_no "tsn"  // 支付工具流水号，tool_serail_no"     */
    PayAttributes  *string `json:"pay_attributes,omitempty" `

    /*
        支付宝优惠金额，单位分     */
    PmtAlipayPromotionAmt  *int64 `json:"pmt_alipay_promotion_amt,omitempty" `

    /*
        支付宝随机立减金额，单位分     */
    PmtAlipayReduceAmt  *int64 `json:"pmt_alipay_reduce_amt,omitempty" `

    /*
        口碑券的优惠金额，单位分     */
    PmtKoubeiCouponAmt  *int64 `json:"pmt_koubei_coupon_amt,omitempty" `

    /*
        口碑优惠信息，是一个json数组     */
    KoubeiCouponInfo  *string `json:"koubei_coupon_info,omitempty" `

}

func (s *AlibabaWdkOrderGetPayChannel) SetBizOrderId(v int64) *AlibabaWdkOrderGetPayChannel {
    s.BizOrderId = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetOrderChannel(v string) *AlibabaWdkOrderGetPayChannel {
    s.OrderChannel = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPayAmount(v int64) *AlibabaWdkOrderGetPayChannel {
    s.PayAmount = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPayType(v int64) *AlibabaWdkOrderGetPayChannel {
    s.PayType = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPosNo(v string) *AlibabaWdkOrderGetPayChannel {
    s.PosNo = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetStoreId(v string) *AlibabaWdkOrderGetPayChannel {
    s.StoreId = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetTrdType(v int64) *AlibabaWdkOrderGetPayChannel {
    s.TrdType = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetActualPayAmount(v int64) *AlibabaWdkOrderGetPayChannel {
    s.ActualPayAmount = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetAdjustAmount(v int64) *AlibabaWdkOrderGetPayChannel {
    s.AdjustAmount = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPromotionCardInfo(v string) *AlibabaWdkOrderGetPayChannel {
    s.PromotionCardInfo = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPayAttributes(v string) *AlibabaWdkOrderGetPayChannel {
    s.PayAttributes = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPmtAlipayPromotionAmt(v int64) *AlibabaWdkOrderGetPayChannel {
    s.PmtAlipayPromotionAmt = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPmtAlipayReduceAmt(v int64) *AlibabaWdkOrderGetPayChannel {
    s.PmtAlipayReduceAmt = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetPmtKoubeiCouponAmt(v int64) *AlibabaWdkOrderGetPayChannel {
    s.PmtKoubeiCouponAmt = &v
    return s
}
func (s *AlibabaWdkOrderGetPayChannel) SetKoubeiCouponInfo(v string) *AlibabaWdkOrderGetPayChannel {
    s.KoubeiCouponInfo = &v
    return s
}
