package domain

import (
        "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/util"
    )

type AlibabaWdkSupplierRefundGetOrderSyncRefundDto struct {
    /*
        实际退款金额     */
    RefundAmount  *int64 `json:"refund_amount,omitempty" `

    /*
        退款id     */
    RefundOrderId  *int64 `json:"refund_order_id,omitempty" `

    /*
        理论退款数量     */
    RefundQuantity  *string `json:"refund_quantity,omitempty" `

    /*
        退款时间     */
    RefundTime  *util.LocalTime `json:"refund_time,omitempty" `

    /*
        退款类型     */
    RefundType  *int64 `json:"refund_type,omitempty" `

    /*
        经营店id     */
    StoreId  *string `json:"store_id,omitempty" `

    /*
        淘宝订单号     */
    TbBizOrderId  *int64 `json:"tb_biz_order_id,omitempty" `

    /*
        批次时间     */
    BatchTime  *util.LocalTime `json:"batch_time,omitempty" `

    /*
        APP,POS     */
    OrderClient  *string `json:"order_client,omitempty" `

    /*
        终审退款数量     */
    ActualPickQuantity  *string `json:"actual_pick_quantity,omitempty" `

    /*
        退货入站数量     */
    ActualRefundQuantity  *string `json:"actual_refund_quantity,omitempty" `

    /*
        退款运费     */
    RefundPostFee  *int64 `json:"refund_post_fee,omitempty" `

    /*
        库存单位     */
    StockUnit  *string `json:"stock_unit,omitempty" `

    /*
        售卖单位     */
    SaleUnit  *string `json:"sale_unit,omitempty" `

    /*
        淘宝主订单号     */
    TbBizParentId  *int64 `json:"tb_biz_parent_id,omitempty" `

    /*
        扩展属性map     */
    RefundAttributes  *string `json:"refund_attributes,omitempty" `

    /*
        skuCode     */
    SkuCode  *string `json:"sku_code,omitempty" `

    /*
        买家id对应的open_uid，加密过     */
    OpenUid  *string `json:"open_uid,omitempty" `

    /*
        渠道来源     */
    OrderFrom  *int64 `json:"order_from,omitempty" `

    /*
        供应商code     */
    SourceMerchantCode  *string `json:"source_merchant_code,omitempty" `

    /*
        售卖商场code     */
    MerchantCode  *string `json:"merchant_code,omitempty" `

    /*
        渠道店id     */
    ShopId  *string `json:"shop_id,omitempty" `

    /*
        外部订单号     */
    OutOrderId  *string `json:"out_order_id,omitempty" `

    /*
        购买库存单位数量     */
    BuyAmountStock  *string `json:"buy_amount_stock,omitempty" `

    /*
        收银员id     */
    OperatorId  *string `json:"operator_id,omitempty" `

    /*
        收银员名字     */
    OperatorName  *string `json:"operator_name,omitempty" `

    /*
        盒马订单号     */
    OriginOrderId  *int64 `json:"origin_order_id,omitempty" `

    /*
        盒马父订单号     */
    OriginParentId  *int64 `json:"origin_parent_id,omitempty" `

    /*
        拣货库存单位数量     */
    PickAmountStock  *string `json:"pick_amount_stock,omitempty" `

    /*
        外部skucode     */
    OutSkuCode  *string `json:"out_sku_code,omitempty" `

    /*
        1:售中退款  2:售后退款     */
    DisputeType  *int64 `json:"dispute_type,omitempty" `

}

func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundAmount(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundAmount = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundOrderId(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundOrderId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundQuantity(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundQuantity = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundTime(v util.LocalTime) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundTime = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundType(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundType = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetStoreId(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.StoreId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetTbBizOrderId(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.TbBizOrderId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetBatchTime(v util.LocalTime) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.BatchTime = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOrderClient(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OrderClient = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetActualPickQuantity(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.ActualPickQuantity = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetActualRefundQuantity(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.ActualRefundQuantity = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundPostFee(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundPostFee = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetStockUnit(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.StockUnit = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetSaleUnit(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.SaleUnit = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetTbBizParentId(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.TbBizParentId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetRefundAttributes(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.RefundAttributes = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetSkuCode(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.SkuCode = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOpenUid(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OpenUid = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOrderFrom(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OrderFrom = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetSourceMerchantCode(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.SourceMerchantCode = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetMerchantCode(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.MerchantCode = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetShopId(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.ShopId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOutOrderId(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OutOrderId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetBuyAmountStock(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.BuyAmountStock = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOperatorId(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OperatorId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOperatorName(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OperatorName = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOriginOrderId(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OriginOrderId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOriginParentId(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OriginParentId = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetPickAmountStock(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.PickAmountStock = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetOutSkuCode(v string) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.OutSkuCode = &v
    return s
}
func (s *AlibabaWdkSupplierRefundGetOrderSyncRefundDto) SetDisputeType(v int64) *AlibabaWdkSupplierRefundGetOrderSyncRefundDto {
    s.DisputeType = &v
    return s
}
