Documentation ¶
Overview ¶
Package fenxiao 包含分销API相关结构体
Index ¶
- type AddCnskuOption
- type AlibabaAscpCnskuAddAPIRequest
- func (r AlibabaAscpCnskuAddAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpCnskuAddAPIRequest) GetApiParams() url.Values
- func (r AlibabaAscpCnskuAddAPIRequest) GetCnskuDto() *CnskuDto
- func (r AlibabaAscpCnskuAddAPIRequest) GetOption() *AddCnskuOption
- func (r *AlibabaAscpCnskuAddAPIRequest) SetCnskuDto(_cnskuDto *CnskuDto) error
- func (r *AlibabaAscpCnskuAddAPIRequest) SetOption(_option *AddCnskuOption) error
- type AlibabaAscpCnskuAddAPIResponse
- type AlibabaAscpCnskuAddAPIResponseModel
- type AlibabaAscpCnskuModifyAPIRequest
- func (r AlibabaAscpCnskuModifyAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpCnskuModifyAPIRequest) GetApiParams() url.Values
- func (r AlibabaAscpCnskuModifyAPIRequest) GetCnskuDto() *CnskuDto
- func (r AlibabaAscpCnskuModifyAPIRequest) GetUpdateCnskuOption() *UpdateCnskuOption
- func (r *AlibabaAscpCnskuModifyAPIRequest) SetCnskuDto(_cnskuDto *CnskuDto) error
- func (r *AlibabaAscpCnskuModifyAPIRequest) SetUpdateCnskuOption(_updateCnskuOption *UpdateCnskuOption) error
- type AlibabaAscpCnskuModifyAPIResponse
- type AlibabaAscpCnskuModifyAPIResponseModel
- type AlibabaAscpCnskuSearchAPIRequest
- type AlibabaAscpCnskuSearchAPIResponse
- type AlibabaAscpCnskuSearchAPIResponseModel
- type AlibabaAscpCnskuUpdateAPIRequest
- func (r AlibabaAscpCnskuUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaAscpCnskuUpdateAPIRequest) GetApiParams() url.Values
- func (r AlibabaAscpCnskuUpdateAPIRequest) GetCnsku() *CnskuDto
- func (r AlibabaAscpCnskuUpdateAPIRequest) GetOption() *UpdateCnskuOption
- func (r *AlibabaAscpCnskuUpdateAPIRequest) SetCnsku(_cnsku *CnskuDto) error
- func (r *AlibabaAscpCnskuUpdateAPIRequest) SetOption(_option *UpdateCnskuOption) error
- type AlibabaAscpCnskuUpdateAPIResponse
- type AlibabaAscpCnskuUpdateAPIResponseModel
- type AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiMethodName() string
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiParams() url.Values
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetBuyerId() int64
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetItemId() int64
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetOfferId() int64
- func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetSupplierId() int64
- func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetBuyerId(_buyerId int64) error
- func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetItemId(_itemId int64) error
- func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetOfferId(_offerId int64) error
- func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetSupplierId(_supplierId int64) error
- type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponse
- type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponseModel
- type BaseResult
- type BigDecimal
- type BuyerRefund
- type CnskuDto
- type CnskuExtendDto
- type CnskuFeatureDto
- type CnskuRelationDto
- type CnskuResult
- type CnskuSnSampleDto
- type CnskuSnSampleRuleDto
- type CnskuSuiteGoodsRelationDto
- type Cooperation
- type DealerOrder
- type DealerOrderDetail
- type Discount
- type DiscountDetail
- type Distributor
- type DpBuyerDetail
- type ErpLogisticsInfo
- type Feature
- type FeatureDo
- type FenxiaoGrade
- type FenxiaoItemRecord
- type FenxiaoProduct
- type FenxiaoSku
- type GradeDiscount
- type InventoryInfoDetailDto
- type InventoryQueryForStoreRequest
- type InventoryQueryResult
- type InventorySubDetailDto
- type InventorySum
- type LoginUser
- type Null
- type OrderList
- type OrderMessages
- type PaginationResult
- type PduList
- type ProductCat
- type ProductImageList
- type ProductSkuDo
- type PurchaseOrder
- type QueryPagination
- type Receiver
- type RefundDetail
- type RefundDetailList
- type RefundItem
- type RefundLogistics
- type RegionalPriceDto
- type Requisition
- type ResultDto
- type ScItem
- type ScItemMap
- type ScItemSearchDto
- type SkuList
- type Store
- type SubOrderDetail
- type SubOrderList
- type TaobaoFenxiaoCooperationGetAPIRequest
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetChannelCode() string
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetEndDate() string
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetRoleType() int64
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetStartDate() string
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetStatus() string
- func (r TaobaoFenxiaoCooperationGetAPIRequest) GetTradeType() string
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetChannelCode(_channelCode string) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetRoleType(_roleType int64) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetTradeType(_tradeType string) error
- type TaobaoFenxiaoCooperationGetAPIResponse
- type TaobaoFenxiaoCooperationGetAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetDealerOrderId() int64
- func (r *TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
- type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetDealerOrderId() int64
- func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReason() int64
- func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReasonDetail() string
- func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReason(_reason int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReasonDetail(_reasonDetail string) error
- type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetAddress() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetBuyerName() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetCity() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetDistrict() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetIdCardNumber() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetLogisticsType() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetMobile() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetOrderDetail() []string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPhone() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPostCode() string
- func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetProvince() string
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetAddress(_address string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetBuyerName(_buyerName string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetCity(_city string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetDistrict(_district string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetIdCardNumber(_idCardNumber string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetLogisticsType(_logisticsType string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetMobile(_mobile string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetOrderDetail(_orderDetail []string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPhone(_phone string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPostCode(_postCode string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetProvince(_province string) error
- type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderGetAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetEndDate() string
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetFields() string
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetIdentity() int64
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetOrderStatus() int64
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetStartDate() string
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetIdentity(_identity int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetOrderStatus(_orderStatus int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetStartDate(_startDate string) error
- type TaobaoFenxiaoDealerRequisitionorderGetAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderGetAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetDealerOrderIds() []int64
- func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetFields() string
- func (r *TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetDealerOrderIds(_dealerOrderIds []int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetFields(_fields string) error
- type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponseModel
- type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest
- func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetDealerOrderId() int64
- func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemo() string
- func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemoFlag() int64
- func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
- func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemo(_supplierMemo string) error
- func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemoFlag(_supplierMemoFlag int64) error
- type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponse
- type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponseModel
- type TaobaoFenxiaoDiscountsGetAPIRequest
- func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetDiscountId() int64
- func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetExtFields() string
- func (r *TaobaoFenxiaoDiscountsGetAPIRequest) SetDiscountId(_discountId int64) error
- func (r *TaobaoFenxiaoDiscountsGetAPIRequest) SetExtFields(_extFields string) error
- type TaobaoFenxiaoDiscountsGetAPIResponse
- type TaobaoFenxiaoDiscountsGetAPIResponseModel
- type TaobaoFenxiaoDistributorItemsGetAPIRequest
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetDistributorId() int64
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetEndModified() string
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetStartModified() string
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetDistributorId(_distributorId int64) error
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetStartModified(_startModified string) error
- type TaobaoFenxiaoDistributorItemsGetAPIResponse
- type TaobaoFenxiaoDistributorItemsGetAPIResponseModel
- type TaobaoFenxiaoDistributorProductsGetAPIRequest
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetDownloadStatus() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetEndTime() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetFields() []string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetItemIds() []int64
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetOrderBy() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPids() []int64
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetProductcatId() int64
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetStartTime() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetSupplierNick() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTimeType() string
- func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTradeType() string
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetDownloadStatus(_downloadStatus string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetFields(_fields []string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetItemIds(_itemIds []int64) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy(_orderBy string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPids(_pids []int64) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetProductcatId(_productcatId int64) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetSupplierNick(_supplierNick string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTimeType(_timeType string) error
- func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTradeType(_tradeType string) error
- type TaobaoFenxiaoDistributorProductsGetAPIResponse
- type TaobaoFenxiaoDistributorProductsGetAPIResponseModel
- type TaobaoFenxiaoDistributorsGetAPIRequest
- type TaobaoFenxiaoDistributorsGetAPIResponse
- type TaobaoFenxiaoDistributorsGetAPIResponseModel
- type TaobaoFenxiaoGradesGetAPIRequest
- type TaobaoFenxiaoGradesGetAPIResponse
- type TaobaoFenxiaoGradesGetAPIResponseModel
- type TaobaoFenxiaoLoginUserGetAPIRequest
- type TaobaoFenxiaoLoginUserGetAPIResponse
- type TaobaoFenxiaoLoginUserGetAPIResponseModel
- type TaobaoFenxiaoOrderConfirmPaidAPIRequest
- func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetConfirmRemark() string
- func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetPurchaseOrderId() int64
- func (r *TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetConfirmRemark(_confirmRemark string) error
- func (r *TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
- type TaobaoFenxiaoOrderConfirmPaidAPIResponse
- type TaobaoFenxiaoOrderConfirmPaidAPIResponseModel
- type TaobaoFenxiaoOrderRemarkUpdateAPIRequest
- func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetPurchaseOrderId() int64
- func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemo() string
- func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemoFlag() int64
- func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
- func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemo(_supplierMemo string) error
- func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemoFlag(_supplierMemoFlag int64) error
- type TaobaoFenxiaoOrderRemarkUpdateAPIResponse
- type TaobaoFenxiaoOrderRemarkUpdateAPIResponseModel
- type TaobaoFenxiaoOrdersGetAPIRequest
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetChannelCodes() []int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetEndCreated() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetFields() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPurchaseOrderId() int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetStartCreated() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetStatus() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTcOrderId() int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTimeType() string
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTradeTypes() []int64
- func (r TaobaoFenxiaoOrdersGetAPIRequest) GetUserRoleType() int64
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetChannelCodes(_channelCodes []int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetEndCreated(_endCreated string) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetStartCreated(_startCreated string) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTcOrderId(_tcOrderId int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTimeType(_timeType string) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTradeTypes(_tradeTypes []int64) error
- func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetUserRoleType(_userRoleType int64) error
- type TaobaoFenxiaoOrdersGetAPIResponse
- type TaobaoFenxiaoOrdersGetAPIResponseModel
- type TaobaoFenxiaoProductAddAPIRequest
- func (r TaobaoFenxiaoProductAddAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductAddAPIRequest) GetCategoryId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetCity() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetCostPrice() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetDealerCostPrice() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetDesc() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetDiscountId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetHaveInvoice() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetHaveQuarantee() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetImage() *model.File
- func (r TaobaoFenxiaoProductAddAPIRequest) GetInputProperties() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetIsAuthz() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetItemId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetName() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetOuterId() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPicPath() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageEms() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageFast() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageOrdinary() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageType() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetProductcatId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetProperties() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetPropertyAlias() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetProv() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetQuantity() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceHigh() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceLow() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuCostPrices() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuDealerCostPrices() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuOuterIds() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuProperties() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuQuantitys() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuStandardPrices() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetSpuId() int64
- func (r TaobaoFenxiaoProductAddAPIRequest) GetStandardPrice() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetStandardRetailPrice() string
- func (r TaobaoFenxiaoProductAddAPIRequest) GetTradeType() string
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetCity(_city string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetCostPrice(_costPrice string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetDiscountId(_discountId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetHaveInvoice(_haveInvoice string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetHaveQuarantee(_haveQuarantee string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetInputProperties(_inputProperties string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetIsAuthz(_isAuthz string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetName(_name string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageEms(_postageEms string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageFast(_postageFast string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageId(_postageId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageOrdinary(_postageOrdinary string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageType(_postageType string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetProductcatId(_productcatId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetProv(_prov string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetQuantity(_quantity int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceHigh(_retailPriceHigh string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceLow(_retailPriceLow string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuCostPrices(_skuCostPrices string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuDealerCostPrices(_skuDealerCostPrices string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuProperties(_skuProperties string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuQuantitys(_skuQuantitys string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuStandardPrices(_skuStandardPrices string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetSpuId(_spuId int64) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetStandardPrice(_standardPrice string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetStandardRetailPrice(_standardRetailPrice string) error
- func (r *TaobaoFenxiaoProductAddAPIRequest) SetTradeType(_tradeType string) error
- type TaobaoFenxiaoProductAddAPIResponse
- type TaobaoFenxiaoProductAddAPIResponseModel
- type TaobaoFenxiaoProductGradepriceGetAPIRequest
- func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetSkuId() int64
- func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetTradeType() int64
- func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetTradeType(_tradeType int64) error
- type TaobaoFenxiaoProductGradepriceGetAPIResponse
- type TaobaoFenxiaoProductGradepriceGetAPIResponseModel
- type TaobaoFenxiaoProductGradepriceUpdateAPIRequest
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetIds() []int64
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetPrices() []string
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetSkuId() int64
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTargetType() string
- func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTradeType() string
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetIds(_ids []int64) error
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetPrices(_prices []string) error
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTargetType(_targetType string) error
- func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTradeType(_tradeType string) error
- type TaobaoFenxiaoProductGradepriceUpdateAPIResponse
- type TaobaoFenxiaoProductGradepriceUpdateAPIResponseModel
- type TaobaoFenxiaoProductImageDeleteAPIRequest
- func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetPosition() int64
- func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetProperties() string
- func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetProperties(_properties string) error
- type TaobaoFenxiaoProductImageDeleteAPIResponse
- type TaobaoFenxiaoProductImageDeleteAPIResponseModel
- type TaobaoFenxiaoProductImageUploadAPIRequest
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetImage() *model.File
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetPicPath() string
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetPosition() int64
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetProperties() string
- func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetPosition(_position int64) error
- func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetProperties(_properties string) error
- type TaobaoFenxiaoProductImageUploadAPIResponse
- type TaobaoFenxiaoProductImageUploadAPIResponseModel
- type TaobaoFenxiaoProductImportFromAuctionAPIRequest
- func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetAuctionId() int64
- func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetProductLineId() int64
- func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetTradeType() int64
- func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetAuctionId(_auctionId int64) error
- func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetProductLineId(_productLineId int64) error
- func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetTradeType(_tradeType int64) error
- type TaobaoFenxiaoProductImportFromAuctionAPIResponse
- type TaobaoFenxiaoProductImportFromAuctionAPIResponseModel
- type TaobaoFenxiaoProductMapAddAPIRequest
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetNotCheckOuterCode() bool
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetScItemId() int64
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetScItemIds() string
- func (r TaobaoFenxiaoProductMapAddAPIRequest) GetSkuIds() string
- func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetNotCheckOuterCode(_notCheckOuterCode bool) error
- func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetScItemId(_scItemId int64) error
- func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetScItemIds(_scItemIds string) error
- func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetSkuIds(_skuIds string) error
- type TaobaoFenxiaoProductMapAddAPIResponse
- type TaobaoFenxiaoProductMapAddAPIResponseModel
- type TaobaoFenxiaoProductQuantityUpdateAPIRequest
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProperties() string
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetQuantity() string
- func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetType() int64
- func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetQuantity(_quantity string) error
- func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetType(_type int64) error
- type TaobaoFenxiaoProductQuantityUpdateAPIResponse
- type TaobaoFenxiaoProductQuantityUpdateAPIResponseModel
- type TaobaoFenxiaoProductSkuAddAPIRequest
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetAgentCostPrice() string
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetDealerCostPrice() string
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetProperties() string
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetQuantity() int64
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetSkuNumber() string
- func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetStandardPrice() string
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetAgentCostPrice(_agentCostPrice string) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetQuantity(_quantity int64) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetSkuNumber(_skuNumber string) error
- func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetStandardPrice(_standardPrice string) error
- type TaobaoFenxiaoProductSkuAddAPIResponse
- type TaobaoFenxiaoProductSkuAddAPIResponseModel
- type TaobaoFenxiaoProductSkuDeleteAPIRequest
- func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProperties() string
- func (r *TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProperties(_properties string) error
- type TaobaoFenxiaoProductSkuDeleteAPIResponse
- type TaobaoFenxiaoProductSkuDeleteAPIResponseModel
- type TaobaoFenxiaoProductSkuUpdateAPIRequest
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetAgentCostPrice() string
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetDealerCostPrice() string
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProductId() int64
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProperties() string
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetQuantity() int64
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetSkuNumber() string
- func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetStandardPrice() string
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetAgentCostPrice(_agentCostPrice string) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetQuantity(_quantity int64) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetSkuNumber(_skuNumber string) error
- func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetStandardPrice(_standardPrice string) error
- type TaobaoFenxiaoProductSkuUpdateAPIResponse
- type TaobaoFenxiaoProductSkuUpdateAPIResponseModel
- type TaobaoFenxiaoProductSkusGetAPIRequest
- type TaobaoFenxiaoProductSkusGetAPIResponse
- type TaobaoFenxiaoProductSkusGetAPIResponseModel
- type TaobaoFenxiaoProductToChannelImportAPIRequest
- func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetChannel() int64
- func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetProductId() int64
- func (r *TaobaoFenxiaoProductToChannelImportAPIRequest) SetChannel(_channel int64) error
- func (r *TaobaoFenxiaoProductToChannelImportAPIRequest) SetProductId(_productId int64) error
- type TaobaoFenxiaoProductToChannelImportAPIResponse
- type TaobaoFenxiaoProductToChannelImportAPIResponseModel
- type TaobaoFenxiaoProductUpdateAPIRequest
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCategoryId() int64
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCity() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCostPrice() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDealerCostPrice() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDesc() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDiscountId() int64
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetHaveInvoice() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetHaveQuarantee() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetImage() *model.File
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetInputProperties() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetIsAuthz() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetName() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetOuterId() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPicPath() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPid() int64
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageEms() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageFast() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageId() int64
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageOrdinary() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageType() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetProperties() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPropertyAlias() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetProv() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetQuantity() int64
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceHigh() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceLow() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuCostPrices() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuDealerCostPrices() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuIds() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuOuterIds() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuProperties() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuPropertiesDel() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuQuantitys() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuStandardPrices() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStandardPrice() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStandardRetailPrice() string
- func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStatus() string
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCity(_city string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCostPrice(_costPrice string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDiscountId(_discountId int64) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetHaveInvoice(_haveInvoice string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetHaveQuarantee(_haveQuarantee string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetImage(_image *model.File) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetInputProperties(_inputProperties string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetIsAuthz(_isAuthz string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetName(_name string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPicPath(_picPath string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPid(_pid int64) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageEms(_postageEms string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageFast(_postageFast string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageId(_postageId int64) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageOrdinary(_postageOrdinary string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageType(_postageType string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetProv(_prov string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetQuantity(_quantity int64) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceHigh(_retailPriceHigh string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceLow(_retailPriceLow string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuCostPrices(_skuCostPrices string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuDealerCostPrices(_skuDealerCostPrices string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuIds(_skuIds string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuPropertiesDel(_skuPropertiesDel string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuQuantitys(_skuQuantitys string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuStandardPrices(_skuStandardPrices string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStandardPrice(_standardPrice string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStandardRetailPrice(_standardRetailPrice string) error
- func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStatus(_status string) error
- type TaobaoFenxiaoProductUpdateAPIResponse
- type TaobaoFenxiaoProductUpdateAPIResponseModel
- type TaobaoFenxiaoProductcatAddAPIRequest
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetAgentCostPercent() int64
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetDealerCostPercent() int64
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetName() string
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetRetailHighPercent() int64
- func (r TaobaoFenxiaoProductcatAddAPIRequest) GetRetailLowPercent() int64
- func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetAgentCostPercent(_agentCostPercent int64) error
- func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetDealerCostPercent(_dealerCostPercent int64) error
- func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetName(_name string) error
- func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetRetailHighPercent(_retailHighPercent int64) error
- func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetRetailLowPercent(_retailLowPercent int64) error
- type TaobaoFenxiaoProductcatAddAPIResponse
- type TaobaoFenxiaoProductcatAddAPIResponseModel
- type TaobaoFenxiaoProductcatDeleteAPIRequest
- func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetProductLineId() int64
- func (r *TaobaoFenxiaoProductcatDeleteAPIRequest) SetProductLineId(_productLineId int64) error
- type TaobaoFenxiaoProductcatDeleteAPIResponse
- type TaobaoFenxiaoProductcatDeleteAPIResponseModel
- type TaobaoFenxiaoProductcatUpdateAPIRequest
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetAgentCostPercent() int64
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetDealerCostPercent() int64
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetName() string
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetProductLineId() int64
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailHighPercent() int64
- func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailLowPercent() int64
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetAgentCostPercent(_agentCostPercent int64) error
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetDealerCostPercent(_dealerCostPercent int64) error
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetName(_name string) error
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetProductLineId(_productLineId int64) error
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailHighPercent(_retailHighPercent int64) error
- func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailLowPercent(_retailLowPercent int64) error
- type TaobaoFenxiaoProductcatUpdateAPIResponse
- type TaobaoFenxiaoProductcatUpdateAPIResponseModel
- type TaobaoFenxiaoProductcatsGetAPIRequest
- type TaobaoFenxiaoProductcatsGetAPIResponse
- type TaobaoFenxiaoProductcatsGetAPIResponseModel
- type TaobaoFenxiaoProductsGetAPIRequest
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetEndModified() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetFields() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetIsAuthz() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetItemIds() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetOuterId() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetPids() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetProductcatId() int64
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetSkuNumber() string
- func (r TaobaoFenxiaoProductsGetAPIRequest) GetStartModified() string
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetEndModified(_endModified string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetIsAuthz(_isAuthz string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetItemIds(_itemIds string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPids(_pids string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetProductcatId(_productcatId int64) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetSkuNumber(_skuNumber string) error
- func (r *TaobaoFenxiaoProductsGetAPIRequest) SetStartModified(_startModified string) error
- type TaobaoFenxiaoProductsGetAPIResponse
- type TaobaoFenxiaoProductsGetAPIResponseModel
- type TaobaoFenxiaoRefundGetAPIRequest
- func (r TaobaoFenxiaoRefundGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoRefundGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoRefundGetAPIRequest) GetQuerySellerRefund() bool
- func (r TaobaoFenxiaoRefundGetAPIRequest) GetRefundId() int64
- func (r TaobaoFenxiaoRefundGetAPIRequest) GetSubOrderId() int64
- func (r *TaobaoFenxiaoRefundGetAPIRequest) SetQuerySellerRefund(_querySellerRefund bool) error
- func (r *TaobaoFenxiaoRefundGetAPIRequest) SetRefundId(_refundId int64) error
- func (r *TaobaoFenxiaoRefundGetAPIRequest) SetSubOrderId(_subOrderId int64) error
- type TaobaoFenxiaoRefundGetAPIResponse
- type TaobaoFenxiaoRefundGetAPIResponseModel
- type TaobaoFenxiaoRefundQueryAPIRequest
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetChannelCodes() []int64
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetEndDate() string
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetQuerySellerRefund() bool
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetRefundFlowTypes() int64
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetStartDate() string
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetTradeTypes() []int64
- func (r TaobaoFenxiaoRefundQueryAPIRequest) GetUserRoleType() int64
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetChannelCodes(_channelCodes []int64) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetQuerySellerRefund(_querySellerRefund bool) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetRefundFlowTypes(_refundFlowTypes int64) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetTradeTypes(_tradeTypes []int64) error
- func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetUserRoleType(_userRoleType int64) error
- type TaobaoFenxiaoRefundQueryAPIResponse
- type TaobaoFenxiaoRefundQueryAPIResponseModel
- type TaobaoFenxiaoRequisitionsGetAPIRequest
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyEnd() string
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyStart() string
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageNo() int64
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetStatus() int64
- func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyEnd(_applyEnd string) error
- func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyStart(_applyStart string) error
- func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetStatus(_status int64) error
- type TaobaoFenxiaoRequisitionsGetAPIResponse
- type TaobaoFenxiaoRequisitionsGetAPIResponseModel
- type TaobaoFenxiaoTradePrepayOfflineAddAPIRequest
- func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetOfflineAddPrepayParam() *TopOfflineAddPrepayDto
- func (r *TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) SetOfflineAddPrepayParam(_offlineAddPrepayParam *TopOfflineAddPrepayDto) error
- type TaobaoFenxiaoTradePrepayOfflineAddAPIResponse
- type TaobaoFenxiaoTradePrepayOfflineAddAPIResponseModel
- type TaobaoFenxiaoTradePrepayOfflineAddResultTopDo
- type TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest
- func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetOfflineReducePrepayParam() *TopOfflineReducePrepayDto
- func (r *TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) SetOfflineReducePrepayParam(_offlineReducePrepayParam *TopOfflineReducePrepayDto) error
- type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponse
- type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponseModel
- type TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo
- type TaobaoFenxiaoYphOrderGetAPIRequest
- func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetPurchaseOrderId() int64
- func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetUserRoleType() int64
- func (r *TaobaoFenxiaoYphOrderGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
- func (r *TaobaoFenxiaoYphOrderGetAPIRequest) SetUserRoleType(_userRoleType int64) error
- type TaobaoFenxiaoYphOrderGetAPIResponse
- type TaobaoFenxiaoYphOrderGetAPIResponseModel
- type TaobaoFenxiaoYphOrdersGetAPIRequest
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetBeginTime() string
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetChannelCodes() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetEndTime() string
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetOrderStatus() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageNum() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetRefundStatus() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetTradeTypes() int64
- func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetUserRoleType() int64
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetBeginTime(_beginTime string) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetChannelCodes(_channelCodes int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetOrderStatus(_orderStatus int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetRefundStatus(_refundStatus int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetTradeTypes(_tradeTypes int64) error
- func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetUserRoleType(_userRoleType int64) error
- type TaobaoFenxiaoYphOrdersGetAPIResponse
- type TaobaoFenxiaoYphOrdersGetAPIResponseModel
- type TaobaoFenxiaoYphRefundGetAPIRequest
- func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetQueryB2cRefund() bool
- func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetRefundId() int64
- func (r *TaobaoFenxiaoYphRefundGetAPIRequest) SetQueryB2cRefund(_queryB2cRefund bool) error
- func (r *TaobaoFenxiaoYphRefundGetAPIRequest) SetRefundId(_refundId int64) error
- type TaobaoFenxiaoYphRefundGetAPIResponse
- type TaobaoFenxiaoYphRefundGetAPIResponseModel
- type TaobaoFenxiaoYphRefundsGetAPIRequest
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetChannelCodes() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedBeginTime() string
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedEndTime() string
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageNum() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageSize() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPurchaseOrderId() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetQueryB2cRefund() bool
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundStatusList() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundTypeList() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetSubOrderId() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetTradeTypes() int64
- func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetUserRoleType() int64
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetChannelCodes(_channelCodes int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedBeginTime(_modifiedBeginTime string) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedEndTime(_modifiedEndTime string) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetQueryB2cRefund(_queryB2cRefund bool) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundStatusList(_refundStatusList int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundTypeList(_refundTypeList int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetSubOrderId(_subOrderId int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetTradeTypes(_tradeTypes int64) error
- func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetUserRoleType(_userRoleType int64) error
- type TaobaoFenxiaoYphRefundsGetAPIResponse
- type TaobaoFenxiaoYphRefundsGetAPIResponseModel
- type TaobaoInventoryAdjustExternalAPIRequest
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetBizType() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetBizUniqueCode() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetItems() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetOccupyOperateCode() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetOperateTime() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetOperateType() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetReduceType() string
- func (r TaobaoInventoryAdjustExternalAPIRequest) GetStoreCode() string
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetBizType(_bizType string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetBizUniqueCode(_bizUniqueCode string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetItems(_items string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOccupyOperateCode(_occupyOperateCode string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOperateTime(_operateTime string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOperateType(_operateType string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetReduceType(_reduceType string) error
- func (r *TaobaoInventoryAdjustExternalAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoInventoryAdjustExternalAPIResponse
- type TaobaoInventoryAdjustExternalAPIResponseModel
- type TaobaoInventoryAdjustTradeAPIRequest
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetBizUniqueCode() string
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetItems() string
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetOperateTime() string
- func (r TaobaoInventoryAdjustTradeAPIRequest) GetTbOrderType() string
- func (r *TaobaoInventoryAdjustTradeAPIRequest) SetBizUniqueCode(_bizUniqueCode string) error
- func (r *TaobaoInventoryAdjustTradeAPIRequest) SetItems(_items string) error
- func (r *TaobaoInventoryAdjustTradeAPIRequest) SetOperateTime(_operateTime string) error
- func (r *TaobaoInventoryAdjustTradeAPIRequest) SetTbOrderType(_tbOrderType string) error
- type TaobaoInventoryAdjustTradeAPIResponse
- type TaobaoInventoryAdjustTradeAPIResponseModel
- type TaobaoInventoryInitialAPIRequest
- func (r TaobaoInventoryInitialAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryInitialAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryInitialAPIRequest) GetItems() string
- func (r TaobaoInventoryInitialAPIRequest) GetStoreCode() string
- func (r *TaobaoInventoryInitialAPIRequest) SetItems(_items string) error
- func (r *TaobaoInventoryInitialAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoInventoryInitialAPIResponse
- type TaobaoInventoryInitialAPIResponseModel
- type TaobaoInventoryInitialItemAPIRequest
- func (r TaobaoInventoryInitialItemAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryInitialItemAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryInitialItemAPIRequest) GetScItemId() int64
- func (r TaobaoInventoryInitialItemAPIRequest) GetStoreInventorys() string
- func (r *TaobaoInventoryInitialItemAPIRequest) SetScItemId(_scItemId int64) error
- func (r *TaobaoInventoryInitialItemAPIRequest) SetStoreInventorys(_storeInventorys string) error
- type TaobaoInventoryInitialItemAPIResponse
- type TaobaoInventoryInitialItemAPIResponseModel
- type TaobaoInventoryQueryAPIRequest
- func (r TaobaoInventoryQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryQueryAPIRequest) GetScItemCodes() string
- func (r TaobaoInventoryQueryAPIRequest) GetScItemIds() string
- func (r TaobaoInventoryQueryAPIRequest) GetSellerNick() string
- func (r TaobaoInventoryQueryAPIRequest) GetStoreCodes() string
- func (r *TaobaoInventoryQueryAPIRequest) SetScItemCodes(_scItemCodes string) error
- func (r *TaobaoInventoryQueryAPIRequest) SetScItemIds(_scItemIds string) error
- func (r *TaobaoInventoryQueryAPIRequest) SetSellerNick(_sellerNick string) error
- func (r *TaobaoInventoryQueryAPIRequest) SetStoreCodes(_storeCodes string) error
- type TaobaoInventoryQueryAPIResponse
- type TaobaoInventoryQueryAPIResponseModel
- type TaobaoInventoryStoreManageAPIRequest
- func (r TaobaoInventoryStoreManageAPIRequest) GetAddress() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetAddressAreaName() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetAliasName() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryStoreManageAPIRequest) GetContact() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetOperateType() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetPhone() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetPostcode() int64
- func (r TaobaoInventoryStoreManageAPIRequest) GetStoreCode() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetStoreName() string
- func (r TaobaoInventoryStoreManageAPIRequest) GetStoreType() string
- func (r *TaobaoInventoryStoreManageAPIRequest) SetAddress(_address string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetAddressAreaName(_addressAreaName string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetAliasName(_aliasName string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetContact(_contact string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetOperateType(_operateType string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetPhone(_phone string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetPostcode(_postcode int64) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreCode(_storeCode string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreName(_storeName string) error
- func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreType(_storeType string) error
- type TaobaoInventoryStoreManageAPIResponse
- type TaobaoInventoryStoreManageAPIResponseModel
- type TaobaoInventoryStoreQueryAPIRequest
- type TaobaoInventoryStoreQueryAPIResponse
- type TaobaoInventoryStoreQueryAPIResponseModel
- type TaobaoInventoryWarehouseManageAPIRequest
- func (r TaobaoInventoryWarehouseManageAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryWarehouseManageAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryWarehouseManageAPIRequest) GetWareHouseDto() *WareHouseDto
- func (r *TaobaoInventoryWarehouseManageAPIRequest) SetWareHouseDto(_wareHouseDto *WareHouseDto) error
- type TaobaoInventoryWarehouseManageAPIResponse
- type TaobaoInventoryWarehouseManageAPIResponseModel
- type TaobaoInventoryWarehouseManageResult
- type TaobaoInventoryWarehouseQueryAPIRequest
- func (r TaobaoInventoryWarehouseQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoInventoryWarehouseQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoInventoryWarehouseQueryAPIRequest) GetPageNo() int64
- func (r TaobaoInventoryWarehouseQueryAPIRequest) GetPageSize() int64
- func (r *TaobaoInventoryWarehouseQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoInventoryWarehouseQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoInventoryWarehouseQueryAPIResponse
- type TaobaoInventoryWarehouseQueryAPIResponseModel
- type TaobaoKaolaScitemAddAPIRequest
- func (r TaobaoKaolaScitemAddAPIRequest) GetApiMethodName() string
- func (r TaobaoKaolaScitemAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoKaolaScitemAddAPIRequest) GetCnsku() *CnskuDto
- func (r TaobaoKaolaScitemAddAPIRequest) GetOption() *AddCnskuOption
- func (r *TaobaoKaolaScitemAddAPIRequest) SetCnsku(_cnsku *CnskuDto) error
- func (r *TaobaoKaolaScitemAddAPIRequest) SetOption(_option *AddCnskuOption) error
- type TaobaoKaolaScitemAddAPIResponse
- type TaobaoKaolaScitemAddAPIResponseModel
- type TaobaoRegionPriceCancleAPIRequest
- func (r TaobaoRegionPriceCancleAPIRequest) GetApiMethodName() string
- func (r TaobaoRegionPriceCancleAPIRequest) GetApiParams() url.Values
- func (r TaobaoRegionPriceCancleAPIRequest) GetItemId() int64
- func (r TaobaoRegionPriceCancleAPIRequest) GetSkuId() int64
- func (r *TaobaoRegionPriceCancleAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoRegionPriceCancleAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoRegionPriceCancleAPIResponse
- type TaobaoRegionPriceCancleAPIResponseModel
- type TaobaoRegionPriceManageAPIRequest
- func (r TaobaoRegionPriceManageAPIRequest) GetApiMethodName() string
- func (r TaobaoRegionPriceManageAPIRequest) GetApiParams() url.Values
- func (r TaobaoRegionPriceManageAPIRequest) GetIsFull() bool
- func (r TaobaoRegionPriceManageAPIRequest) GetItemId() int64
- func (r TaobaoRegionPriceManageAPIRequest) GetRegionalPriceDtos() []RegionalPriceDto
- func (r TaobaoRegionPriceManageAPIRequest) GetSkuId() int64
- func (r *TaobaoRegionPriceManageAPIRequest) SetIsFull(_isFull bool) error
- func (r *TaobaoRegionPriceManageAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoRegionPriceManageAPIRequest) SetRegionalPriceDtos(_regionalPriceDtos []RegionalPriceDto) error
- func (r *TaobaoRegionPriceManageAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoRegionPriceManageAPIResponse
- type TaobaoRegionPriceManageAPIResponseModel
- type TaobaoRegionPriceQueryAPIRequest
- func (r TaobaoRegionPriceQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoRegionPriceQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoRegionPriceQueryAPIRequest) GetItemId() int64
- func (r TaobaoRegionPriceQueryAPIRequest) GetRegionalPriceDtos() []RegionalPriceDto
- func (r TaobaoRegionPriceQueryAPIRequest) GetSkuId() int64
- func (r *TaobaoRegionPriceQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoRegionPriceQueryAPIRequest) SetRegionalPriceDtos(_regionalPriceDtos []RegionalPriceDto) error
- func (r *TaobaoRegionPriceQueryAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoRegionPriceQueryAPIResponse
- type TaobaoRegionPriceQueryAPIResponseModel
- type TaobaoRegionSaleQueryAPIRequest
- func (r TaobaoRegionSaleQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoRegionSaleQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoRegionSaleQueryAPIRequest) GetItemId() int64
- func (r TaobaoRegionSaleQueryAPIRequest) GetSaleRegionLevel() int64
- func (r TaobaoRegionSaleQueryAPIRequest) GetSkuId() int64
- func (r *TaobaoRegionSaleQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoRegionSaleQueryAPIRequest) SetSaleRegionLevel(_saleRegionLevel int64) error
- func (r *TaobaoRegionSaleQueryAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoRegionSaleQueryAPIResponse
- type TaobaoRegionSaleQueryAPIResponseModel
- type TaobaoRegionWarehouseManageAPIRequest
- func (r TaobaoRegionWarehouseManageAPIRequest) GetApiMethodName() string
- func (r TaobaoRegionWarehouseManageAPIRequest) GetApiParams() url.Values
- func (r TaobaoRegionWarehouseManageAPIRequest) GetRegions() []string
- func (r TaobaoRegionWarehouseManageAPIRequest) GetStoreCode() string
- func (r *TaobaoRegionWarehouseManageAPIRequest) SetRegions(_regions []string) error
- func (r *TaobaoRegionWarehouseManageAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoRegionWarehouseManageAPIResponse
- type TaobaoRegionWarehouseManageAPIResponseModel
- type TaobaoRegionWarehouseQueryAPIRequest
- type TaobaoRegionWarehouseQueryAPIResponse
- type TaobaoRegionWarehouseQueryAPIResponseModel
- type TaobaoScitemAddAPIRequest
- func (r TaobaoScitemAddAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemAddAPIRequest) GetBarCode() string
- func (r TaobaoScitemAddAPIRequest) GetBrandId() int64
- func (r TaobaoScitemAddAPIRequest) GetBrandName() string
- func (r TaobaoScitemAddAPIRequest) GetHeight() int64
- func (r TaobaoScitemAddAPIRequest) GetIsAreaSale() int64
- func (r TaobaoScitemAddAPIRequest) GetIsCostly() int64
- func (r TaobaoScitemAddAPIRequest) GetIsDangerous() int64
- func (r TaobaoScitemAddAPIRequest) GetIsFriable() int64
- func (r TaobaoScitemAddAPIRequest) GetIsWarranty() int64
- func (r TaobaoScitemAddAPIRequest) GetItemName() string
- func (r TaobaoScitemAddAPIRequest) GetItemType() int64
- func (r TaobaoScitemAddAPIRequest) GetLength() int64
- func (r TaobaoScitemAddAPIRequest) GetMatterStatus() int64
- func (r TaobaoScitemAddAPIRequest) GetOuterCode() string
- func (r TaobaoScitemAddAPIRequest) GetPrice() int64
- func (r TaobaoScitemAddAPIRequest) GetProperties() string
- func (r TaobaoScitemAddAPIRequest) GetRemark() string
- func (r TaobaoScitemAddAPIRequest) GetSpuId() int64
- func (r TaobaoScitemAddAPIRequest) GetVolume() int64
- func (r TaobaoScitemAddAPIRequest) GetWeight() int64
- func (r TaobaoScitemAddAPIRequest) GetWidth() int64
- func (r TaobaoScitemAddAPIRequest) GetWmsCode() string
- func (r *TaobaoScitemAddAPIRequest) SetBarCode(_barCode string) error
- func (r *TaobaoScitemAddAPIRequest) SetBrandId(_brandId int64) error
- func (r *TaobaoScitemAddAPIRequest) SetBrandName(_brandName string) error
- func (r *TaobaoScitemAddAPIRequest) SetHeight(_height int64) error
- func (r *TaobaoScitemAddAPIRequest) SetIsAreaSale(_isAreaSale int64) error
- func (r *TaobaoScitemAddAPIRequest) SetIsCostly(_isCostly int64) error
- func (r *TaobaoScitemAddAPIRequest) SetIsDangerous(_isDangerous int64) error
- func (r *TaobaoScitemAddAPIRequest) SetIsFriable(_isFriable int64) error
- func (r *TaobaoScitemAddAPIRequest) SetIsWarranty(_isWarranty int64) error
- func (r *TaobaoScitemAddAPIRequest) SetItemName(_itemName string) error
- func (r *TaobaoScitemAddAPIRequest) SetItemType(_itemType int64) error
- func (r *TaobaoScitemAddAPIRequest) SetLength(_length int64) error
- func (r *TaobaoScitemAddAPIRequest) SetMatterStatus(_matterStatus int64) error
- func (r *TaobaoScitemAddAPIRequest) SetOuterCode(_outerCode string) error
- func (r *TaobaoScitemAddAPIRequest) SetPrice(_price int64) error
- func (r *TaobaoScitemAddAPIRequest) SetProperties(_properties string) error
- func (r *TaobaoScitemAddAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoScitemAddAPIRequest) SetSpuId(_spuId int64) error
- func (r *TaobaoScitemAddAPIRequest) SetVolume(_volume int64) error
- func (r *TaobaoScitemAddAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoScitemAddAPIRequest) SetWidth(_width int64) error
- func (r *TaobaoScitemAddAPIRequest) SetWmsCode(_wmsCode string) error
- type TaobaoScitemAddAPIResponse
- type TaobaoScitemAddAPIResponseModel
- type TaobaoScitemGetAPIRequest
- type TaobaoScitemGetAPIResponse
- type TaobaoScitemGetAPIResponseModel
- type TaobaoScitemMapAddAPIRequest
- func (r TaobaoScitemMapAddAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemMapAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemMapAddAPIRequest) GetItemId() int64
- func (r TaobaoScitemMapAddAPIRequest) GetNeedCheck() bool
- func (r TaobaoScitemMapAddAPIRequest) GetOuterCode() string
- func (r TaobaoScitemMapAddAPIRequest) GetScItemId() int64
- func (r TaobaoScitemMapAddAPIRequest) GetSkuId() int64
- func (r *TaobaoScitemMapAddAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoScitemMapAddAPIRequest) SetNeedCheck(_needCheck bool) error
- func (r *TaobaoScitemMapAddAPIRequest) SetOuterCode(_outerCode string) error
- func (r *TaobaoScitemMapAddAPIRequest) SetScItemId(_scItemId int64) error
- func (r *TaobaoScitemMapAddAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoScitemMapAddAPIResponse
- type TaobaoScitemMapAddAPIResponseModel
- type TaobaoScitemMapDeleteAPIRequest
- func (r TaobaoScitemMapDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemMapDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemMapDeleteAPIRequest) GetScItemId() int64
- func (r TaobaoScitemMapDeleteAPIRequest) GetUserNick() string
- func (r *TaobaoScitemMapDeleteAPIRequest) SetScItemId(_scItemId int64) error
- func (r *TaobaoScitemMapDeleteAPIRequest) SetUserNick(_userNick string) error
- type TaobaoScitemMapDeleteAPIResponse
- type TaobaoScitemMapDeleteAPIResponseModel
- type TaobaoScitemMapQueryAPIRequest
- func (r TaobaoScitemMapQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemMapQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemMapQueryAPIRequest) GetItemId() int64
- func (r TaobaoScitemMapQueryAPIRequest) GetSkuId() int64
- func (r *TaobaoScitemMapQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoScitemMapQueryAPIRequest) SetSkuId(_skuId int64) error
- type TaobaoScitemMapQueryAPIResponse
- type TaobaoScitemMapQueryAPIResponseModel
- type TaobaoScitemOutercodeGetAPIRequest
- type TaobaoScitemOutercodeGetAPIResponse
- type TaobaoScitemOutercodeGetAPIResponseModel
- type TaobaoScitemQueryAPIRequest
- func (r TaobaoScitemQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemQueryAPIRequest) GetBarCode() string
- func (r TaobaoScitemQueryAPIRequest) GetItemName() string
- func (r TaobaoScitemQueryAPIRequest) GetItemType() int64
- func (r TaobaoScitemQueryAPIRequest) GetOuterCode() string
- func (r TaobaoScitemQueryAPIRequest) GetPageIndex() int64
- func (r TaobaoScitemQueryAPIRequest) GetPageSize() int64
- func (r TaobaoScitemQueryAPIRequest) GetWmsCode() string
- func (r *TaobaoScitemQueryAPIRequest) SetBarCode(_barCode string) error
- func (r *TaobaoScitemQueryAPIRequest) SetItemName(_itemName string) error
- func (r *TaobaoScitemQueryAPIRequest) SetItemType(_itemType int64) error
- func (r *TaobaoScitemQueryAPIRequest) SetOuterCode(_outerCode string) error
- func (r *TaobaoScitemQueryAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *TaobaoScitemQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoScitemQueryAPIRequest) SetWmsCode(_wmsCode string) error
- type TaobaoScitemQueryAPIResponse
- type TaobaoScitemQueryAPIResponseModel
- type TaobaoScitemUpdateAPIRequest
- func (r TaobaoScitemUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoScitemUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoScitemUpdateAPIRequest) GetBarCode() string
- func (r TaobaoScitemUpdateAPIRequest) GetBrandId() int64
- func (r TaobaoScitemUpdateAPIRequest) GetBrandName() string
- func (r TaobaoScitemUpdateAPIRequest) GetHeight() int64
- func (r TaobaoScitemUpdateAPIRequest) GetIsAreaSale() int64
- func (r TaobaoScitemUpdateAPIRequest) GetIsCostly() int64
- func (r TaobaoScitemUpdateAPIRequest) GetIsDangerous() int64
- func (r TaobaoScitemUpdateAPIRequest) GetIsFriable() int64
- func (r TaobaoScitemUpdateAPIRequest) GetIsWarranty() int64
- func (r TaobaoScitemUpdateAPIRequest) GetItemId() int64
- func (r TaobaoScitemUpdateAPIRequest) GetItemName() string
- func (r TaobaoScitemUpdateAPIRequest) GetItemType() int64
- func (r TaobaoScitemUpdateAPIRequest) GetLength() int64
- func (r TaobaoScitemUpdateAPIRequest) GetMatterStatus() int64
- func (r TaobaoScitemUpdateAPIRequest) GetOuterCode() string
- func (r TaobaoScitemUpdateAPIRequest) GetPrice() int64
- func (r TaobaoScitemUpdateAPIRequest) GetRemark() string
- func (r TaobaoScitemUpdateAPIRequest) GetRemoveProperties() string
- func (r TaobaoScitemUpdateAPIRequest) GetSpuId() int64
- func (r TaobaoScitemUpdateAPIRequest) GetUpdateProperties() string
- func (r TaobaoScitemUpdateAPIRequest) GetVolume() int64
- func (r TaobaoScitemUpdateAPIRequest) GetWeight() int64
- func (r TaobaoScitemUpdateAPIRequest) GetWidth() int64
- func (r TaobaoScitemUpdateAPIRequest) GetWmsCode() string
- func (r *TaobaoScitemUpdateAPIRequest) SetBarCode(_barCode string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetBrandId(_brandId int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetBrandName(_brandName string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetHeight(_height int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetIsAreaSale(_isAreaSale int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetIsCostly(_isCostly int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetIsDangerous(_isDangerous int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetIsFriable(_isFriable int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetIsWarranty(_isWarranty int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetItemName(_itemName string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetItemType(_itemType int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetLength(_length int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetMatterStatus(_matterStatus int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetOuterCode(_outerCode string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetPrice(_price int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetRemoveProperties(_removeProperties string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetSpuId(_spuId int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetUpdateProperties(_updateProperties string) error
- func (r *TaobaoScitemUpdateAPIRequest) SetVolume(_volume int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetWidth(_width int64) error
- func (r *TaobaoScitemUpdateAPIRequest) SetWmsCode(_wmsCode string) error
- type TaobaoScitemUpdateAPIResponse
- type TaobaoScitemUpdateAPIResponseModel
- type TipInfo
- type TmallChannelProductsGetAPIRequest
- func (r TmallChannelProductsGetAPIRequest) GetApiMethodName() string
- func (r TmallChannelProductsGetAPIRequest) GetApiParams() url.Values
- func (r TmallChannelProductsGetAPIRequest) GetTopQueryProductDO() *TopQueryProductDo
- func (r *TmallChannelProductsGetAPIRequest) SetTopQueryProductDO(_topQueryProductDO *TopQueryProductDo) error
- type TmallChannelProductsGetAPIResponse
- type TmallChannelProductsGetAPIResponseModel
- type TmallInventoryQueryForstoreAPIRequest
- func (r TmallInventoryQueryForstoreAPIRequest) GetApiMethodName() string
- func (r TmallInventoryQueryForstoreAPIRequest) GetApiParams() url.Values
- func (r TmallInventoryQueryForstoreAPIRequest) GetParamList() []InventoryQueryForStoreRequest
- func (r *TmallInventoryQueryForstoreAPIRequest) SetParamList(_paramList []InventoryQueryForStoreRequest) error
- type TmallInventoryQueryForstoreAPIResponse
- type TmallInventoryQueryForstoreAPIResponseModel
- type TmallSupplychainChannelProductDownshelfAPIRequest
- func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetProductId() int64
- func (r *TmallSupplychainChannelProductDownshelfAPIRequest) SetProductId(_productId int64) error
- type TmallSupplychainChannelProductDownshelfAPIResponse
- type TmallSupplychainChannelProductDownshelfAPIResponseModel
- type TmallSupplychainChannelProductDownshelfResultDto
- type TmallSupplychainChannelProductPriceGetAPIRequest
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetChannelCode() int64
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetPriceType() int64
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetProductId() int64
- func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetSkuId() int64
- func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetChannelCode(_channelCode int64) error
- func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetPriceType(_priceType int64) error
- func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetProductId(_productId int64) error
- func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetSkuId(_skuId int64) error
- type TmallSupplychainChannelProductPriceGetAPIResponse
- type TmallSupplychainChannelProductPriceGetAPIResponseModel
- type TmallSupplychainChannelProductPriceGetResultDto
- type TmallSupplychainChannelProductPriceUpdateAPIRequest
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetChannelCode() int64
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetCurrencyType() string
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetPriceType() int64
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductId() int64
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductPrice() string
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuId() int64
- func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuPrice() string
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetChannelCode(_channelCode int64) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetCurrencyType(_currencyType string) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetPriceType(_priceType int64) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductPrice(_productPrice string) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuId(_skuId int64) error
- func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuPrice(_skuPrice string) error
- type TmallSupplychainChannelProductPriceUpdateAPIResponse
- type TmallSupplychainChannelProductPriceUpdateAPIResponseModel
- type TmallSupplychainChannelProductQuantityGetAPIRequest
- func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetProductId() int64
- func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetSkuId() int64
- func (r *TmallSupplychainChannelProductQuantityGetAPIRequest) SetProductId(_productId int64) error
- func (r *TmallSupplychainChannelProductQuantityGetAPIRequest) SetSkuId(_skuId int64) error
- type TmallSupplychainChannelProductQuantityGetAPIResponse
- type TmallSupplychainChannelProductQuantityGetAPIResponseModel
- type TmallSupplychainChannelProductQuantityGetResultDto
- type TmallSupplychainChannelProductQuantityUpdateAPIRequest
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetProductId() int64
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetQuantity() int64
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetSkuId() int64
- func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetUpdateType() int64
- func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetProductId(_productId int64) error
- func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetQuantity(_quantity int64) error
- func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetSkuId(_skuId int64) error
- func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetUpdateType(_updateType int64) error
- type TmallSupplychainChannelProductQuantityUpdateAPIResponse
- type TmallSupplychainChannelProductQuantityUpdateAPIResponseModel
- type TmallSupplychainChannelProductQuantityUpdateResultDto
- type TmallSupplychainChannelProductReleaseAPIRequest
- func (r TmallSupplychainChannelProductReleaseAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductReleaseAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductReleaseAPIRequest) GetChannelCode() int64
- func (r TmallSupplychainChannelProductReleaseAPIRequest) GetProductId() int64
- func (r *TmallSupplychainChannelProductReleaseAPIRequest) SetChannelCode(_channelCode int64) error
- func (r *TmallSupplychainChannelProductReleaseAPIRequest) SetProductId(_productId int64) error
- type TmallSupplychainChannelProductReleaseAPIResponse
- type TmallSupplychainChannelProductReleaseAPIResponseModel
- type TmallSupplychainChannelProductReleaseResultDto
- type TmallSupplychainChannelProductReleaseStatusGetAPIRequest
- func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetChannelCode() int64
- func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetProductId() int64
- func (r *TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetChannelCode(_channelCode int64) error
- func (r *TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetProductId(_productId int64) error
- type TmallSupplychainChannelProductReleaseStatusGetAPIResponse
- type TmallSupplychainChannelProductReleaseStatusGetAPIResponseModel
- type TmallSupplychainChannelProductReleaseStatusGetResultDto
- type TmallSupplychainChannelProductUpshelfAPIRequest
- func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetApiMethodName() string
- func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetApiParams() url.Values
- func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetProductId() int64
- func (r *TmallSupplychainChannelProductUpshelfAPIRequest) SetProductId(_productId int64) error
- type TmallSupplychainChannelProductUpshelfAPIResponse
- type TmallSupplychainChannelProductUpshelfAPIResponseModel
- type TmallSupplychainChannelProductUpshelfResultDto
- type TopDpOrderDo
- type TopDpRefundDetailDo
- type TopMemoAttachment
- type TopMemoDto
- type TopOfflineAddPrepayDto
- type TopOfflineReducePrepayDto
- type TopProductDo
- type TopProductPriceResult
- type TopProductQuantityResult
- type TopProductStatusResult
- type TopQueryProductDo
- type TopReceiverDo
- type UpdateCnskuOption
- type WareHouseDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCnskuOption ¶
type AddCnskuOption struct { // 是否同步到wms, 为空时默认下发 SyncWms bool `json:"sync_wms,omitempty" xml:"sync_wms,omitempty"` }
AddCnskuOption 结构体
type AlibabaAscpCnskuAddAPIRequest ¶ added in v1.2.5
type AlibabaAscpCnskuAddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpCnskuAddAPIRequest 货品创建 API请求 alibaba.ascp.cnsku.add
供应链中台货品创建接口
func NewAlibabaAscpCnskuAddRequest ¶ added in v1.2.5
func NewAlibabaAscpCnskuAddRequest() *AlibabaAscpCnskuAddAPIRequest
NewAlibabaAscpCnskuAddRequest 初始化AlibabaAscpCnskuAddAPIRequest对象
func (AlibabaAscpCnskuAddAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaAscpCnskuAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpCnskuAddAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaAscpCnskuAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpCnskuAddAPIRequest) GetCnskuDto ¶ added in v1.2.5
func (r AlibabaAscpCnskuAddAPIRequest) GetCnskuDto() *CnskuDto
GetCnskuDto CnskuDto Getter
func (AlibabaAscpCnskuAddAPIRequest) GetOption ¶ added in v1.2.5
func (r AlibabaAscpCnskuAddAPIRequest) GetOption() *AddCnskuOption
GetOption Option Getter
func (*AlibabaAscpCnskuAddAPIRequest) SetCnskuDto ¶ added in v1.2.5
func (r *AlibabaAscpCnskuAddAPIRequest) SetCnskuDto(_cnskuDto *CnskuDto) error
SetCnskuDto is CnskuDto Setter 待新增的货品
func (*AlibabaAscpCnskuAddAPIRequest) SetOption ¶ added in v1.2.5
func (r *AlibabaAscpCnskuAddAPIRequest) SetOption(_option *AddCnskuOption) error
SetOption is Option Setter 选项
type AlibabaAscpCnskuAddAPIResponse ¶ added in v1.2.5
type AlibabaAscpCnskuAddAPIResponse struct { model.CommonResponse AlibabaAscpCnskuAddAPIResponseModel }
AlibabaAscpCnskuAddAPIResponse 货品创建 API返回值 alibaba.ascp.cnsku.add
供应链中台货品创建接口
type AlibabaAscpCnskuAddAPIResponseModel ¶ added in v1.2.5
type AlibabaAscpCnskuAddAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_cnsku_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异常信息 ErrorMessages []string `json:"error_messages,omitempty" xml:"error_messages>string,omitempty"` // 货品id Data string `json:"data,omitempty" xml:"data,omitempty"` // 异常信息Code SysErrorCode string `json:"sys_error_code,omitempty" xml:"sys_error_code,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否系统异常 IsSystemFailed bool `json:"is_system_failed,omitempty" xml:"is_system_failed,omitempty"` }
AlibabaAscpCnskuAddAPIResponseModel is 货品创建 成功返回结果
type AlibabaAscpCnskuModifyAPIRequest ¶ added in v1.2.5
type AlibabaAscpCnskuModifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpCnskuModifyAPIRequest 供应链中台货品修改接口 API请求 alibaba.ascp.cnsku.modify
供应链中台货品修改接口
func NewAlibabaAscpCnskuModifyRequest ¶ added in v1.2.5
func NewAlibabaAscpCnskuModifyRequest() *AlibabaAscpCnskuModifyAPIRequest
NewAlibabaAscpCnskuModifyRequest 初始化AlibabaAscpCnskuModifyAPIRequest对象
func (AlibabaAscpCnskuModifyAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaAscpCnskuModifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpCnskuModifyAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaAscpCnskuModifyAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpCnskuModifyAPIRequest) GetCnskuDto ¶ added in v1.2.5
func (r AlibabaAscpCnskuModifyAPIRequest) GetCnskuDto() *CnskuDto
GetCnskuDto CnskuDto Getter
func (AlibabaAscpCnskuModifyAPIRequest) GetUpdateCnskuOption ¶ added in v1.2.5
func (r AlibabaAscpCnskuModifyAPIRequest) GetUpdateCnskuOption() *UpdateCnskuOption
GetUpdateCnskuOption UpdateCnskuOption Getter
func (*AlibabaAscpCnskuModifyAPIRequest) SetCnskuDto ¶ added in v1.2.5
func (r *AlibabaAscpCnskuModifyAPIRequest) SetCnskuDto(_cnskuDto *CnskuDto) error
SetCnskuDto is CnskuDto Setter 待修改的货品
func (*AlibabaAscpCnskuModifyAPIRequest) SetUpdateCnskuOption ¶ added in v1.2.5
func (r *AlibabaAscpCnskuModifyAPIRequest) SetUpdateCnskuOption(_updateCnskuOption *UpdateCnskuOption) error
SetUpdateCnskuOption is UpdateCnskuOption Setter 选项
type AlibabaAscpCnskuModifyAPIResponse ¶ added in v1.2.5
type AlibabaAscpCnskuModifyAPIResponse struct { model.CommonResponse AlibabaAscpCnskuModifyAPIResponseModel }
AlibabaAscpCnskuModifyAPIResponse 供应链中台货品修改接口 API返回值 alibaba.ascp.cnsku.modify
供应链中台货品修改接口
type AlibabaAscpCnskuModifyAPIResponseModel ¶ added in v1.2.5
type AlibabaAscpCnskuModifyAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_cnsku_modify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异常信息 ErrorMessages []string `json:"error_messages,omitempty" xml:"error_messages>string,omitempty"` // Null Data string `json:"data,omitempty" xml:"data,omitempty"` // 异常信息Code SysErrorCode string `json:"sys_error_code,omitempty" xml:"sys_error_code,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否系统异常 IsSystemFailed bool `json:"is_system_failed,omitempty" xml:"is_system_failed,omitempty"` }
AlibabaAscpCnskuModifyAPIResponseModel is 供应链中台货品修改接口 成功返回结果
type AlibabaAscpCnskuSearchAPIRequest ¶ added in v1.2.5
type AlibabaAscpCnskuSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpCnskuSearchAPIRequest 供应链中台货品搜索接口 API请求 alibaba.ascp.cnsku.search
供应链中台货品搜索接口
func NewAlibabaAscpCnskuSearchRequest ¶ added in v1.2.5
func NewAlibabaAscpCnskuSearchRequest() *AlibabaAscpCnskuSearchAPIRequest
NewAlibabaAscpCnskuSearchRequest 初始化AlibabaAscpCnskuSearchAPIRequest对象
func (AlibabaAscpCnskuSearchAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaAscpCnskuSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpCnskuSearchAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaAscpCnskuSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpCnskuSearchAPIRequest) GetParam0 ¶ added in v1.2.5
func (r AlibabaAscpCnskuSearchAPIRequest) GetParam0() *ScItemSearchDto
GetParam0 Param0 Getter
func (*AlibabaAscpCnskuSearchAPIRequest) SetParam0 ¶ added in v1.2.5
func (r *AlibabaAscpCnskuSearchAPIRequest) SetParam0(_param0 *ScItemSearchDto) error
SetParam0 is Param0 Setter 货品搜索条件
type AlibabaAscpCnskuSearchAPIResponse ¶ added in v1.2.5
type AlibabaAscpCnskuSearchAPIResponse struct { model.CommonResponse AlibabaAscpCnskuSearchAPIResponseModel }
AlibabaAscpCnskuSearchAPIResponse 供应链中台货品搜索接口 API返回值 alibaba.ascp.cnsku.search
供应链中台货品搜索接口
type AlibabaAscpCnskuSearchAPIResponseModel ¶ added in v1.2.5
type AlibabaAscpCnskuSearchAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_cnsku_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *CnskuResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaAscpCnskuSearchAPIResponseModel is 供应链中台货品搜索接口 成功返回结果
type AlibabaAscpCnskuUpdateAPIRequest ¶
type AlibabaAscpCnskuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaAscpCnskuUpdateAPIRequest 供应链中台货品修改接口 API请求 alibaba.ascp.cnsku.update
供应链中台货品修改接口
func NewAlibabaAscpCnskuUpdateRequest ¶
func NewAlibabaAscpCnskuUpdateRequest() *AlibabaAscpCnskuUpdateAPIRequest
NewAlibabaAscpCnskuUpdateRequest 初始化AlibabaAscpCnskuUpdateAPIRequest对象
func (AlibabaAscpCnskuUpdateAPIRequest) GetApiMethodName ¶
func (r AlibabaAscpCnskuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaAscpCnskuUpdateAPIRequest) GetApiParams ¶
func (r AlibabaAscpCnskuUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaAscpCnskuUpdateAPIRequest) GetCnsku ¶
func (r AlibabaAscpCnskuUpdateAPIRequest) GetCnsku() *CnskuDto
GetCnsku Cnsku Getter
func (AlibabaAscpCnskuUpdateAPIRequest) GetOption ¶
func (r AlibabaAscpCnskuUpdateAPIRequest) GetOption() *UpdateCnskuOption
GetOption Option Getter
func (*AlibabaAscpCnskuUpdateAPIRequest) SetCnsku ¶
func (r *AlibabaAscpCnskuUpdateAPIRequest) SetCnsku(_cnsku *CnskuDto) error
SetCnsku is Cnsku Setter 待新增的货品
func (*AlibabaAscpCnskuUpdateAPIRequest) SetOption ¶
func (r *AlibabaAscpCnskuUpdateAPIRequest) SetOption(_option *UpdateCnskuOption) error
SetOption is Option Setter 修改选项
type AlibabaAscpCnskuUpdateAPIResponse ¶
type AlibabaAscpCnskuUpdateAPIResponse struct { model.CommonResponse AlibabaAscpCnskuUpdateAPIResponseModel }
AlibabaAscpCnskuUpdateAPIResponse 供应链中台货品修改接口 API返回值 alibaba.ascp.cnsku.update
供应链中台货品修改接口
type AlibabaAscpCnskuUpdateAPIResponseModel ¶
type AlibabaAscpCnskuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ascp_cnsku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异常信息 ErrorMessages []string `json:"error_messages,omitempty" xml:"error_messages>string,omitempty"` // 货品id Data string `json:"data,omitempty" xml:"data,omitempty"` // 异常信息Code SysErrorCode string `json:"sys_error_code,omitempty" xml:"sys_error_code,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否系统异常 IsSystemFailed bool `json:"is_system_failed,omitempty" xml:"is_system_failed,omitempty"` }
AlibabaAscpCnskuUpdateAPIResponseModel is 供应链中台货品修改接口 成功返回结果
type AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest ¶ added in v1.2.5
type AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest 1688分销铺货到淘宝关系添加 API请求 alibaba.fenxiao.cbutotaobao.relation.add
1688分销铺货到淘宝关系添加
func NewAlibabaFenxiaoCbutotaobaoRelationAddRequest ¶ added in v1.2.5
func NewAlibabaFenxiaoCbutotaobaoRelationAddRequest() *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest
NewAlibabaFenxiaoCbutotaobaoRelationAddRequest 初始化AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest对象
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetBuyerId ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetBuyerId() int64
GetBuyerId BuyerId Getter
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetItemId ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetOfferId ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetOfferId() int64
GetOfferId OfferId Getter
func (AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetSupplierId ¶ added in v1.2.5
func (r AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) GetSupplierId() int64
GetSupplierId SupplierId Getter
func (*AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetBuyerId ¶ added in v1.2.5
func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetBuyerId(_buyerId int64) error
SetBuyerId is BuyerId Setter 1688买家id
func (*AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetItemId ¶ added in v1.2.5
func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 淘宝商品id
func (*AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetOfferId ¶ added in v1.2.5
func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetOfferId(_offerId int64) error
SetOfferId is OfferId Setter 1688商品id
func (*AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetSupplierId ¶ added in v1.2.5
func (r *AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest) SetSupplierId(_supplierId int64) error
SetSupplierId is SupplierId Setter 1688供应商id
type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponse ¶ added in v1.2.5
type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponse struct { model.CommonResponse AlibabaFenxiaoCbutotaobaoRelationAddAPIResponseModel }
AlibabaFenxiaoCbutotaobaoRelationAddAPIResponse 1688分销铺货到淘宝关系添加 API返回值 alibaba.fenxiao.cbutotaobao.relation.add
1688分销铺货到淘宝关系添加
type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponseModel ¶ added in v1.2.5
type AlibabaFenxiaoCbutotaobaoRelationAddAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_fenxiao_cbutotaobao_relation_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果返回值 Result string `json:"result,omitempty" xml:"result,omitempty"` // 错误信息 ResultMessage string `json:"result_message,omitempty" xml:"result_message,omitempty"` // 是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
AlibabaFenxiaoCbutotaobaoRelationAddAPIResponseModel is 1688分销铺货到淘宝关系添加 成功返回结果
type BaseResult ¶
type BaseResult struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // data Data string `json:"data,omitempty" xml:"data,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
BaseResult 结构体
type BuyerRefund ¶
type BuyerRefund struct { // 消费者订单退款创建时间 RefundCreateTime string `json:"refund_create_time,omitempty" xml:"refund_create_time,omitempty"` // 货物的状态:买家已收到货买家已退货买家未收到货 GoodsStatusDesc string `json:"goods_status_desc,omitempty" xml:"goods_status_desc,omitempty"` // 消费者退款原因 RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"` // 消费者退款说明 RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"` // 消费者nick BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 消费者退款修改时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 消费者淘宝id的加密key OpenBuyerId string `json:"open_buyer_id,omitempty" xml:"open_buyer_id,omitempty"` // 消费者退款状态最后修改时间,格式 yyyy-MM-dd HH:mm:ss GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 分销子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 消费者订单对应的退款单号 RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 消费者订单退款涉及的消费者正向子订单号 BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 消费者订单退款状态 1、消费者已经申请退款,等待分销商确认 2、分销商已经同意退货,等待消费者退货 3、消费者已经退货,等待分销商确认收货 4、退款关闭 5、退款成功 6、分销商拒绝退款,待消费者重新修改 7、等待消费者确认重新邮寄的货物 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 退还给消费者的金额(分) ReturnFee int64 `json:"return_fee,omitempty" xml:"return_fee,omitempty"` // 确认收货后会打款给分销商的金额(分),分摊到子单的实付金额-退款给消费者的金额 ToSellerFee int64 `json:"to_seller_fee,omitempty" xml:"to_seller_fee,omitempty"` // 消费者退货数量 ReturnGoodsQuantity int64 `json:"return_goods_quantity,omitempty" xml:"return_goods_quantity,omitempty"` // 买家是否退货 NeedReturnGoods bool `json:"need_return_goods,omitempty" xml:"need_return_goods,omitempty"` }
BuyerRefund 结构体
type CnskuDto ¶
type CnskuDto struct { // 组合货品 CombRelationDTOList []CnskuRelationDto `json:"comb_relation_d_t_o_list,omitempty" xml:"comb_relation_d_t_o_list>cnsku_relation_dto,omitempty"` // 套装货品关系列表 SuiteGoodsRelationList []CnskuSuiteGoodsRelationDto `json:"suite_goods_relation_list,omitempty" xml:"suite_goods_relation_list>cnsku_suite_goods_relation_dto,omitempty"` // 需要向featureMap中增加的属性列表(新增&更新接口使用) UpdateFeatureMap string `json:"update_feature_map,omitempty" xml:"update_feature_map,omitempty"` // 货品编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 货品类型,NORMAL / COMBINE / SUITEGOODS Type string `json:"type,omitempty" xml:"type,omitempty"` // 条形码( 格式如:条码1#条码2#条码3,多条码中间用 # 分隔) WhcBarCode string `json:"whc_bar_code,omitempty" xml:"whc_bar_code,omitempty"` // 货品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 想去除的feature 和 updateFeatureMap对应 RemoveFeatureMap string `json:"remove_feature_map,omitempty" xml:"remove_feature_map,omitempty"` // 品牌 Brand string `json:"brand,omitempty" xml:"brand,omitempty"` // 包装材料 PackageMaterial string `json:"package_material,omitempty" xml:"package_material,omitempty"` // 扩展属性 FeatureMap string `json:"feature_map,omitempty" xml:"feature_map,omitempty"` // 货品高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 货品重量 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 吊牌价 ReservePrice int64 `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 扩展字段 CnskuExtendDTO *CnskuExtendDto `json:"cnsku_extend_d_t_o,omitempty" xml:"cnsku_extend_d_t_o,omitempty"` // feature字段 CnskuFeatureDTO *CnskuFeatureDto `json:"cnsku_feature_d_t_o,omitempty" xml:"cnsku_feature_d_t_o,omitempty"` // 长度 Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 市场叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 货品Id CnskuId int64 `json:"cnsku_id,omitempty" xml:"cnsku_id,omitempty"` // 货主id OwnerId int64 `json:"owner_id,omitempty" xml:"owner_id,omitempty"` // 前端skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 货品分类 SkuCategory int64 `json:"sku_category,omitempty" xml:"sku_category,omitempty"` // 体积 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 商品状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 版本号 Version int64 `json:"version,omitempty" xml:"version,omitempty"` }
CnskuDto 结构体
type CnskuExtendDto ¶
type CnskuExtendDto struct { // 最大列表长度:20 CnskuSnSampleDTOList []CnskuSnSampleDto `json:"cnsku_sn_sample_d_t_o_list,omitempty" xml:"cnsku_sn_sample_d_t_o_list>cnsku_sn_sample_dto,omitempty"` // 配送要求(1:顺丰优先配) DeliverRequirements string `json:"deliver_requirements,omitempty" xml:"deliver_requirements,omitempty"` // 温度标识 1:常温 2:5°C-12°C 3:0°C-4°C 4:-18°C-0°C TemperatureRequirement string `json:"temperature_requirement,omitempty" xml:"temperature_requirement,omitempty"` // 货品图片 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` // 存储分类 Classification string `json:"classification,omitempty" xml:"classification,omitempty"` // 税收分类编码 TaxCode string `json:"tax_code,omitempty" xml:"tax_code,omitempty"` // 税率标示 TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"` // 是否包含电池(默认无电池) 1:无电池, 2:内置电池, 3:外置电池 IncludeBattery string `json:"include_battery,omitempty" xml:"include_battery,omitempty"` // 生产企业名称 Manufacturer string `json:"manufacturer,omitempty" xml:"manufacturer,omitempty"` // 运输单元体积照片 TransImageUrl string `json:"trans_image_url,omitempty" xml:"trans_image_url,omitempty"` // 原产国 BrandCountry string `json:"brand_country,omitempty" xml:"brand_country,omitempty"` // 币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 产地 ProducingArea string `json:"producing_area,omitempty" xml:"producing_area,omitempty"` // 备案链接 RecordUrl string `json:"record_url,omitempty" xml:"record_url,omitempty"` // 主要成分 MainComposition string `json:"main_composition,omitempty" xml:"main_composition,omitempty"` // 包装单位 PackageUnit string `json:"package_unit,omitempty" xml:"package_unit,omitempty"` // 商品使用的包材材质 PackageMaterialClass string `json:"package_material_class,omitempty" xml:"package_material_class,omitempty"` // 3w货品分类属性(大电用)空调属性,内外机 TypeProperty string `json:"type_property,omitempty" xml:"type_property,omitempty"` // 大电barCode WwwBarCode string `json:"www_bar_code,omitempty" xml:"www_bar_code,omitempty"` // 剂型 DosageForms string `json:"dosage_forms,omitempty" xml:"dosage_forms,omitempty"` // 商品图片 PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"` // 运输单元宽 TransWidth int64 `json:"trans_width,omitempty" xml:"trans_width,omitempty"` // 运输单元长 TransLength int64 `json:"trans_length,omitempty" xml:"trans_length,omitempty"` // 运输单元高 TransHeight int64 `json:"trans_height,omitempty" xml:"trans_height,omitempty"` // 运输单元体积 TransVolume int64 `json:"trans_volume,omitempty" xml:"trans_volume,omitempty"` // 运输单元重量 TransWeight int64 `json:"trans_weight,omitempty" xml:"trans_weight,omitempty"` // 内长 InnerLength int64 `json:"inner_length,omitempty" xml:"inner_length,omitempty"` // 承重 LoadBearing int64 `json:"load_bearing,omitempty" xml:"load_bearing,omitempty"` // 内高 InnerHeight int64 `json:"inner_height,omitempty" xml:"inner_height,omitempty"` // 包材类型 1:空白箱 2:菜鸟联盟包材 MaterialType int64 `json:"material_type,omitempty" xml:"material_type,omitempty"` // 商品使用的包材范围 1:商家包材 2:CP包材 PackageMaterialMode int64 `json:"package_material_mode,omitempty" xml:"package_material_mode,omitempty"` // 内宽 InnerWidth int64 `json:"inner_width,omitempty" xml:"inner_width,omitempty"` // 是否生产批号管理 IsProduceCodeMgt bool `json:"is_produce_code_mgt,omitempty" xml:"is_produce_code_mgt,omitempty"` // 是否进口 IsImported bool `json:"is_imported,omitempty" xml:"is_imported,omitempty"` // 是否监管 IsDrugs bool `json:"is_drugs,omitempty" xml:"is_drugs,omitempty"` // 是否贵品 IsPrecious bool `json:"is_precious,omitempty" xml:"is_precious,omitempty"` }
CnskuExtendDto 结构体
type CnskuFeatureDto ¶
type CnskuFeatureDto struct { // 认证数据标 GrayFlag string `json:"gray_flag,omitempty" xml:"gray_flag,omitempty"` // 物流类目 WhcCategory string `json:"whc_category,omitempty" xml:"whc_category,omitempty"` // 计量单位 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // 对应货值 单位元 小数点后保留2位 GoodsValue string `json:"goods_value,omitempty" xml:"goods_value,omitempty"` // 货号 GoodsNo string `json:"goods_no,omitempty" xml:"goods_no,omitempty"` // 规格 Specification string `json:"specification,omitempty" xml:"specification,omitempty"` // SN管理模式 SnMode string `json:"sn_mode,omitempty" xml:"sn_mode,omitempty"` // 产地 OriginAddress string `json:"origin_address,omitempty" xml:"origin_address,omitempty"` // 尺寸 Size string `json:"size,omitempty" xml:"size,omitempty"` // 包材分组 MaterialGroup string `json:"material_group,omitempty" xml:"material_group,omitempty"` // 商家商品编码 SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"` // 包材分类 MaterialClass string `json:"material_class,omitempty" xml:"material_class,omitempty"` // 规格类型,20:大件;10:中小件 SpecificationType string `json:"specification_type,omitempty" xml:"specification_type,omitempty"` // 包装方式:1 原箱发货 PackagingScheme string `json:"packaging_scheme,omitempty" xml:"packaging_scheme,omitempty"` // 产品编码 CnProductCode string `json:"cn_product_code,omitempty" xml:"cn_product_code,omitempty"` // 批准文号 ApprovalNumber string `json:"approval_number,omitempty" xml:"approval_number,omitempty"` // 容积 CnCubage string `json:"cn_cubage,omitempty" xml:"cn_cubage,omitempty"` // 商品名称 WhcName string `json:"whc_name,omitempty" xml:"whc_name,omitempty"` // 有效期天数 Lifecycle int64 `json:"lifecycle,omitempty" xml:"lifecycle,omitempty"` // 净重 NetWeight int64 `json:"net_weight,omitempty" xml:"net_weight,omitempty"` // 保质期禁收天数 RejectLifecycle int64 `json:"reject_lifecycle,omitempty" xml:"reject_lifecycle,omitempty"` // 保质期禁售天数 LockupLifecycle int64 `json:"lockup_lifecycle,omitempty" xml:"lockup_lifecycle,omitempty"` // 保质期临期天数 AdventLifecycle int64 `json:"advent_lifecycle,omitempty" xml:"advent_lifecycle,omitempty"` // 箱规 Pcs int64 `json:"pcs,omitempty" xml:"pcs,omitempty"` // 零售价 SkuPrice int64 `json:"sku_price,omitempty" xml:"sku_price,omitempty"` // 成本价 CostPrice int64 `json:"cost_price,omitempty" xml:"cost_price,omitempty"` // 是否贵品 IsPrecious bool `json:"is_precious,omitempty" xml:"is_precious,omitempty"` // 是否规范运输单元 IsStandardCarton bool `json:"is_standard_carton,omitempty" xml:"is_standard_carton,omitempty"` // 是否危险品 IsDanger bool `json:"is_danger,omitempty" xml:"is_danger,omitempty"` // 是否启用序列号(sn)管理 IsSnMgt bool `json:"is_sn_mgt,omitempty" xml:"is_sn_mgt,omitempty"` // 是否Po管理 IsPoMgt bool `json:"is_po_mgt,omitempty" xml:"is_po_mgt,omitempty"` // 是否易碎品 IsHygroscopic bool `json:"is_hygroscopic,omitempty" xml:"is_hygroscopic,omitempty"` // 是否规范销售单元 IsStandard bool `json:"is_standard,omitempty" xml:"is_standard,omitempty"` // 是否批次管理 IsBatchMgt bool `json:"is_batch_mgt,omitempty" xml:"is_batch_mgt,omitempty"` // 是否效期管理 IsShelflife bool `json:"is_shelflife,omitempty" xml:"is_shelflife,omitempty"` // sn出库管理 WhcSnOutMode bool `json:"whc_sn_out_mode,omitempty" xml:"whc_sn_out_mode,omitempty"` // sn入库管理 WhcSnInMode bool `json:"whc_sn_in_mode,omitempty" xml:"whc_sn_in_mode,omitempty"` // 是否统一全仓数据-销售单元 IsUnifiedAllWh bool `json:"is_unified_all_wh,omitempty" xml:"is_unified_all_wh,omitempty"` // 是否统一全仓数据-运输单元 IsUnifiedAllWhCarton bool `json:"is_unified_all_wh_carton,omitempty" xml:"is_unified_all_wh_carton,omitempty"` // 是否需要测量图片-运输单元 NeedMeasureImageCarton bool `json:"need_measure_image_carton,omitempty" xml:"need_measure_image_carton,omitempty"` // 是否启用标识 UseYn bool `json:"use_yn,omitempty" xml:"use_yn,omitempty"` // 是否需要测量图片-销售单元 NeedMeasureImage bool `json:"need_measure_image,omitempty" xml:"need_measure_image,omitempty"` }
CnskuFeatureDto 结构体
type CnskuRelationDto ¶ added in v1.2.5
type CnskuRelationDto struct { // r_quantity:2 代表数量 TypeAttrMap string `json:"type_attr_map,omitempty" xml:"type_attr_map,omitempty"` // 组合货品type:8 RelationType int64 `json:"relation_type,omitempty" xml:"relation_type,omitempty"` // 货主Id TargetUserId int64 `json:"target_user_id,omitempty" xml:"target_user_id,omitempty"` // 组合货品子品Id TargetItemId int64 `json:"target_item_id,omitempty" xml:"target_item_id,omitempty"` // 组合货品主品Id,创建主品后自动填充 ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 状态 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
CnskuRelationDto 结构体
type CnskuResult ¶ added in v1.2.5
type CnskuResult struct { // 对应货品信息 Data []CnskuDto `json:"data,omitempty" xml:"data>cnsku_dto,omitempty"` // 异常信息Code SysErrorCode string `json:"sys_error_code,omitempty" xml:"sys_error_code,omitempty"` // 异常信息 ErrorMSG string `json:"error_m_s_g,omitempty" xml:"error_m_s_g,omitempty"` // 页码 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 总个数 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否系统异常 IsSystemFailed bool `json:"is_system_failed,omitempty" xml:"is_system_failed,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
CnskuResult 结构体
type CnskuSnSampleDto ¶ added in v1.2.5
type CnskuSnSampleDto struct { // SN示例 SampleRuleList []CnskuSnSampleRuleDto `json:"sample_rule_list,omitempty" xml:"sample_rule_list>cnsku_sn_sample_rule_dto,omitempty"` // sn示例顺序 SnSeq string `json:"sn_seq,omitempty" xml:"sn_seq,omitempty"` // sn示例顺序 SampleDesc string `json:"sample_desc,omitempty" xml:"sample_desc,omitempty"` }
CnskuSnSampleDto 结构体
type CnskuSnSampleRuleDto ¶ added in v1.2.5
type CnskuSnSampleRuleDto struct { // 规则正则表达式 RuleRegularExpression string `json:"rule_regular_expression,omitempty" xml:"rule_regular_expression,omitempty"` // 规则描述 RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"` // 规则对应图面urlurl RuleImgUrl string `json:"rule_img_url,omitempty" xml:"rule_img_url,omitempty"` // SN截取正则表达式 SnMgtSubExpression string `json:"sn_mgt_sub_expression,omitempty" xml:"sn_mgt_sub_expression,omitempty"` // 规则示例 RuleSample string `json:"rule_sample,omitempty" xml:"rule_sample,omitempty"` // SN截取结束位置 SnMgtSubEnd int64 `json:"sn_mgt_sub_end,omitempty" xml:"sn_mgt_sub_end,omitempty"` // SN截取开始位置 SnMgtSubStart int64 `json:"sn_mgt_sub_start,omitempty" xml:"sn_mgt_sub_start,omitempty"` // SN是否需要截取 IsSnMgtSub bool `json:"is_sn_mgt_sub,omitempty" xml:"is_sn_mgt_sub,omitempty"` }
CnskuSnSampleRuleDto 结构体
type CnskuSuiteGoodsRelationDto ¶ added in v1.2.5
type CnskuSuiteGoodsRelationDto struct { // 真实货值 GoodsValue string `json:"goods_value,omitempty" xml:"goods_value,omitempty"` // 主品Id,创建可不填 BelongSuiteGoodId int64 `json:"belong_suite_good_id,omitempty" xml:"belong_suite_good_id,omitempty"` // 单子品数量,要求>0 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` // 成分子品Id GoodsId int64 `json:"goods_id,omitempty" xml:"goods_id,omitempty"` }
CnskuSuiteGoodsRelationDto 结构体
type Cooperation ¶
type Cooperation struct { // 供应商授权的支付方式:ALIPAY(支付宝)、OFFPREPAY(预付款)、OFFTRANSFER(转帐)、OFFSETTLEMENT(后期结算) AuthPayway []string `json:"auth_payway,omitempty" xml:"auth_payway>string,omitempty"` // 授权产品线名称,和product_line中的值按序对应 ProductLineName []string `json:"product_line_name,omitempty" xml:"product_line_name>string,omitempty"` // 分销商nick DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 授权产品线 ProductLine string `json:"product_line,omitempty" xml:"product_line,omitempty"` // 分销方式: AGENT(代销) 、DEALER(经销) TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 供应商NICK SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 合作起始时间 StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"` // 合作终止时间 EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"` // 合作状态: NORMAL(合作中)、 ENDING(终止中) 、END (终止) Status string `json:"status,omitempty" xml:"status,omitempty"` // 合作关系ID CooperateId int64 `json:"cooperate_id,omitempty" xml:"cooperate_id,omitempty"` // 分销商ID DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"` // 等级ID GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"` // 供应商ID SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"` }
Cooperation 结构体
type DealerOrder ¶
type DealerOrder struct { // 产品明细 DealerOrderDetails []DealerOrderDetail `json:"dealer_order_details,omitempty" xml:"dealer_order_details>dealer_order_detail,omitempty"` // 属性列表,key-value形式。 Features []Feature `json:"features,omitempty" xml:"features>feature,omitempty"` // 物流方式:SELF_PICKUP(自提)、LOGISTICS(物流发货) LogisticsType string `json:"logistics_type,omitempty" xml:"logistics_type,omitempty"` // 物流费用(精确到2位小数;单位:元。如:200.07,表示:200元7分 ) LogisticsFee string `json:"logistics_fee,omitempty" xml:"logistics_fee,omitempty"` // 折让费用(精确到2位小数;单位:元。如:200.07,表示:200元7分 ) RebateFee string `json:"rebate_fee,omitempty" xml:"rebate_fee,omitempty"` // 修改时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 申请时间 AppliedTime string `json:"applied_time,omitempty" xml:"applied_time,omitempty"` // 分销商最后一次确认/申请/拒绝的时间 AuditTimeApplier string `json:"audit_time_applier,omitempty" xml:"audit_time_applier,omitempty"` // 采购总价(精确到2位小数;单位:元。如:200.07,表示:200元7分 ) TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"` // WAIT_FOR_SUPPLIER_AUDIT1:分销商提交申请,待供应商审核;SUPPLIER_REFUSE:供应商驳回申请,待分销商确认;WAIT_FOR_APPLIER_AUDIT:供应商修改后,待分销商确认;WAIT_FOR_SUPPLIER_AUDIT2:分销商拒绝修改,待供应商再审核;BOTH_AGREE_WAIT_PAY:审核通过下单成功,待分销商付款WAIT_FOR_SUPPLIER_DELIVER:付款成功,待供应商发货;WAIT_FOR_APPLIER_STORAGE:供应商发货,待分销商收货;TRADE_FINISHED:分销商收货,交易成功;TRADE_CLOSED:经销采购单关闭。 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 关闭原因 CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"` // 支付方式:ALIPAY_SURETY(支付宝担保交易)TRANSFER(线下转账)PREPAY(预存款)IMMEDIATELY(即时到账) PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 供应商nick SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 供应商驳回申请的原因 RefuseReasonSupplier string `json:"refuse_reason_supplier,omitempty" xml:"refuse_reason_supplier,omitempty"` // 分销商拒绝供应商修改的原因 RefuseReasonApplier string `json:"refuse_reason_applier,omitempty" xml:"refuse_reason_applier,omitempty"` // 分销商nick ApplierNick string `json:"applier_nick,omitempty" xml:"applier_nick,omitempty"` // 供应商最后一次审核通过/修改/驳回的时间 AuditTimeSupplier string `json:"audit_time_supplier,omitempty" xml:"audit_time_supplier,omitempty"` // 支付宝交易号 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 付款时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 供应商备注。仅供应商可见。 SupplierMemo string `json:"supplier_memo,omitempty" xml:"supplier_memo,omitempty"` // 属性键 DistMemo string `json:"dist_memo,omitempty" xml:"dist_memo,omitempty"` // 总采购数量 QuantityCount int64 `json:"quantity_count,omitempty" xml:"quantity_count,omitempty"` // 收货人信息 Receiver *Receiver `json:"receiver,omitempty" xml:"receiver,omitempty"` // 已发货数量 DeliveredQuantityCount int64 `json:"delivered_quantity_count,omitempty" xml:"delivered_quantity_count,omitempty"` // 经销采购单编号,API发货使用此字段 DealerOrderId int64 `json:"dealer_order_id,omitempty" xml:"dealer_order_id,omitempty"` // 供应商备注旗帜。1:红色 2:黄色 3:绿色 4:蓝色 5:粉红色。仅供应商可见。 SupplierMemoFlag int64 `json:"supplier_memo_flag,omitempty" xml:"supplier_memo_flag,omitempty"` }
DealerOrder 结构体
type DealerOrderDetail ¶
type DealerOrderDetail struct { // 属性信息列表,key-value形式。如attr_key为storeCode,attr_value则为仓库编码。 Features []Feature `json:"features,omitempty" xml:"features>feature,omitempty"` // 最终价格(精确到2位小数;单位:元。如:200.07,表示:200元7分 ) FinalPrice string `json:"final_price,omitempty" xml:"final_price,omitempty"` // 产品规格 SkuSpec string `json:"sku_spec,omitempty" xml:"sku_spec,omitempty"` // 原始价格(精确到2位小数;单位:元。如:200.07,表示:200元7分 ) OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"` // 产品快照url SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"` // 产品标题 ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"` // 金额小计(采购数量乘以最终价格。精确到2位小数;单位:元。如:200.07,表示:200元7分 ) PriceCount string `json:"price_count,omitempty" xml:"price_count,omitempty"` // 商家编码,是sku则为sku的商家编码,否则是产品的商家编码 SkuNumber string `json:"sku_number,omitempty" xml:"sku_number,omitempty"` // 产品id ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 经销采购单明细id DealerDetailId int64 `json:"dealer_detail_id,omitempty" xml:"dealer_detail_id,omitempty"` // 经销采购单编号 DealerOrderId int64 `json:"dealer_order_id,omitempty" xml:"dealer_order_id,omitempty"` // 采购数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // sku id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 该条明细是否已删除。true:已删除;false:未删除。 IsDeleted bool `json:"is_deleted,omitempty" xml:"is_deleted,omitempty"` }
DealerOrderDetail 结构体
type Discount ¶
type Discount struct { // 折扣详情 Details []DiscountDetail `json:"details,omitempty" xml:"details>discount_detail,omitempty"` // 折扣名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 折扣ID DiscountId int64 `json:"discount_id,omitempty" xml:"discount_id,omitempty"` }
Discount 结构体
type DiscountDetail ¶
type DiscountDetail struct { // 折扣类型:GRADE(按会员等级优惠)、DISTRIBUTOR(按分销商优惠) TargetType string `json:"target_type,omitempty" xml:"target_type,omitempty"` // 等级名称或者分销商名称 TargetName string `json:"target_name,omitempty" xml:"target_name,omitempty"` // 优惠方式:PERCENT(按折扣优惠)、PRICE(按减价优惠) DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 折扣详情ID DetailId int64 `json:"detail_id,omitempty" xml:"detail_id,omitempty"` // 会员等级的id或者分销商id TargetId int64 `json:"target_id,omitempty" xml:"target_id,omitempty"` // 优惠比率或者优惠价格 10%或10 DiscountValue int64 `json:"discount_value,omitempty" xml:"discount_value,omitempty"` }
DiscountDetail 结构体
type Distributor ¶
type Distributor struct { // 分销商的支付宝帐户 AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"` // 联系人 ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"` // 分销商姓名 DistributorName string `json:"distributor_name,omitempty" xml:"distributor_name,omitempty"` // 分销商的email Email string `json:"email,omitempty" xml:"email,omitempty"` // 分销商的手机号 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 分销商的电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 分销商的网店链接 ShopWebLink string `json:"shop_web_link,omitempty" xml:"shop_web_link,omitempty"` // 分销商的真实姓名,认证姓名 FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` // 分销商卖家的开店时间 Starts string `json:"starts,omitempty" xml:"starts,omitempty"` // 分销商Id DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"` // 分销商店铺主营类目 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 店铺等级 Level int64 `json:"level,omitempty" xml:"level,omitempty"` // 分销商的淘宝卖家评价 Appraise int64 `json:"appraise,omitempty" xml:"appraise,omitempty"` }
Distributor 结构体
type DpBuyerDetail ¶ added in v1.2.5
type DpBuyerDetail struct { // 地区 Area string `json:"area,omitempty" xml:"area,omitempty"` // 收货地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 移动电话 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 邮编 Post string `json:"post,omitempty" xml:"post,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 固定电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 收货人全名 FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` // 省份 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` }
DpBuyerDetail 结构体
type ErpLogisticsInfo ¶
type ErpLogisticsInfo struct { // 发货类型 CN=菜鸟发货,SC的商家仓发货 ConsignType string `json:"consign_type,omitempty" xml:"consign_type,omitempty"` // 商品的最小库存单位Sku的id SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 子订单类型:标示该子交易单来源交易,还是BMS增加的,枚举值(00=交易,10=BMS绑定) Type string `json:"type,omitempty" xml:"type,omitempty"` // 如是菜鸟仓,则将菜鸟仓的区域仓code进行填充,如是商家仓发货则填充SC StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 货品仓储code ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 货品仓储id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 组合商品ID CombineItemId string `json:"combine_item_id,omitempty" xml:"combine_item_id,omitempty"` // 组合商品Code CombineItemCode string `json:"combine_item_code,omitempty" xml:"combine_item_code,omitempty"` // 货品条码 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 推荐配送公司编码 DeliveryCps string `json:"delivery_cps,omitempty" xml:"delivery_cps,omitempty"` // 仓商家编码 BizStoreCode string `json:"biz_store_code,omitempty" xml:"biz_store_code,omitempty"` // 推荐配送erp编码 BizDeliveryCode string `json:"biz_delivery_code,omitempty" xml:"biz_delivery_code,omitempty"` // 仓配建议类型 BizSdType string `json:"biz_sd_type,omitempty" xml:"biz_sd_type,omitempty"` // 商品数字编号 NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 应发数量 NeedConsignNum int64 `json:"need_consign_num,omitempty" xml:"need_consign_num,omitempty"` // 采购单子单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 采购单号 OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 组合货品比例 ItemRatio int64 `json:"item_ratio,omitempty" xml:"item_ratio,omitempty"` }
ErpLogisticsInfo 结构体
type Feature ¶
type Feature struct { // 属性键 AttrKey string `json:"attr_key,omitempty" xml:"attr_key,omitempty"` // 属性值 AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"` }
Feature 结构体
type FeatureDo ¶
type FeatureDo struct { // 属性键 AttrKey string `json:"attr_key,omitempty" xml:"attr_key,omitempty"` // 属性值 AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"` }
FeatureDo 结构体
type FenxiaoGrade ¶
type FenxiaoGrade struct { // 分销商等级名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 记录创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 记录最后修改时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 主键 GradeId int64 `json:"grade_id,omitempty" xml:"grade_id,omitempty"` }
FenxiaoGrade 结构体
type FenxiaoItemRecord ¶
type FenxiaoItemRecord struct { // 下载时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 更新时间(系统时间,无业务意义) Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 分销方式:AGENT(只做代销,默认值)、DEALER(只做经销) TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 分销商ID DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 产品ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` }
FenxiaoItemRecord 结构体
type FenxiaoProduct ¶
type FenxiaoProduct struct { // sku列表 Skus []SkuList `json:"skus,omitempty" xml:"skus>sku_list,omitempty"` // 产品分销商信息 Pdus []PduList `json:"pdus,omitempty" xml:"pdus>pdu_list,omitempty"` // 产品图片 Images []ProductImageList `json:"images,omitempty" xml:"images>product_image_list,omitempty"` // 产品名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 采购价格,单位:元。 CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"` // 最低零售价,单位:分。 RetailPriceLow string `json:"retail_price_low,omitempty" xml:"retail_price_low,omitempty"` // 最高零售价,单位:分。 RetailPriceHigh string `json:"retail_price_high,omitempty" xml:"retail_price_high,omitempty"` // 商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 产品图片路径 Pictures string `json:"pictures,omitempty" xml:"pictures,omitempty"` // 产品描述路径,通过http请求获取 DescPath string `json:"desc_path,omitempty" xml:"desc_path,omitempty"` // 所在地:省 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 所在地:市 City string `json:"city,omitempty" xml:"city,omitempty"` // 运费类型,可选值:seller(供应商承担运费)、buyer(分销商承担运费) PostageType string `json:"postage_type,omitempty" xml:"postage_type,omitempty"` // 平邮费用,单位:元 PostageOrdinary string `json:"postage_ordinary,omitempty" xml:"postage_ordinary,omitempty"` // 快递费用,单位:元 PostageFast string `json:"postage_fast,omitempty" xml:"postage_fast,omitempty"` // ems费用,单位:元 PostageEms string `json:"postage_ems,omitempty" xml:"postage_ems,omitempty"` // 发布状态,可选值:up(上架)、down(下架) Status string `json:"status,omitempty" xml:"status,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 更新时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 分销方式:AGENT(只做代销,默认值)、DEALER(只做经销)、ALL(代销和经销都做) TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 采购基准价,单位:元。 StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"` // 铺货时间 UpshelfTime string `json:"upshelf_time,omitempty" xml:"upshelf_time,omitempty"` // 查询产品列表时,查询入参增加is_authz:yes|no yes:需要授权 no:不需要授权 IsAuthz string `json:"is_authz,omitempty" xml:"is_authz,omitempty"` // 类目id CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"` // 产品属性,格式为pid:vid;pid:vid Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 属性别名,格式为pid:vid:alias;pid:vid:alias PropertyAlias string `json:"property_alias,omitempty" xml:"property_alias,omitempty"` // 自定义属性,格式为pid:value;pid:value InputProperties string `json:"input_properties,omitempty" xml:"input_properties,omitempty"` // 产品描述的内容 Description string `json:"description,omitempty" xml:"description,omitempty"` // 经销采购价 DealerCostPrice string `json:"dealer_cost_price,omitempty" xml:"dealer_cost_price,omitempty"` // 零售基准价,单位:元 StandardRetailPrice string `json:"standard_retail_price,omitempty" xml:"standard_retail_price,omitempty"` // 产品ID Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` // 产品线ID ProductcatId int64 `json:"productcat_id,omitempty" xml:"productcat_id,omitempty"` // 产品库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 运费模板ID PostageId int64 `json:"postage_id,omitempty" xml:"postage_id,omitempty"` // 下载人数 ItemsCount int64 `json:"items_count,omitempty" xml:"items_count,omitempty"` // 累计采购次数 OrdersCount int64 `json:"orders_count,omitempty" xml:"orders_count,omitempty"` // 折扣ID(新增参数) DiscountId int64 `json:"discount_id,omitempty" xml:"discount_id,omitempty"` // 关联的后端商品id ScitemId int64 `json:"scitem_id,omitempty" xml:"scitem_id,omitempty"` // 根据商品ID查询时,返回这个产品对应的商品ID,只对分销商查询接口有效 QueryItemId int64 `json:"query_item_id,omitempty" xml:"query_item_id,omitempty"` // 产品spu id SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"` // 导入的商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 预扣库存 ReservedQuantity int64 `json:"reserved_quantity,omitempty" xml:"reserved_quantity,omitempty"` // 配额可用库存 QuotaQuantity int64 `json:"quota_quantity,omitempty" xml:"quota_quantity,omitempty"` // 是否有发票,可选值:false(否)、true(是) HaveInvoice bool `json:"have_invoice,omitempty" xml:"have_invoice,omitempty"` // 是否有保修,可选值:false(否)、true(是) HaveQuarantee bool `json:"have_quarantee,omitempty" xml:"have_quarantee,omitempty"` }
FenxiaoProduct 结构体
type FenxiaoSku ¶
type FenxiaoSku struct { // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 市场价 StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"` // 代销采购价,单位:元 CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"` // 经销采购价 DealerCostPrice string `json:"dealer_cost_price,omitempty" xml:"dealer_cost_price,omitempty"` // 商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // sku的销售属性组合字符串。格式:pid:vid;pid:vid,如:1627207:3232483;1630696:3284570,表示:机身颜色:军绿色;手机套餐:一电一充。 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // SkuID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 预扣库存 ReservedQuantity int64 `json:"reserved_quantity,omitempty" xml:"reserved_quantity,omitempty"` // 配额可用库存 QuotaQuantity int64 `json:"quota_quantity,omitempty" xml:"quota_quantity,omitempty"` // 关联的后端商品id ScitemId int64 `json:"scitem_id,omitempty" xml:"scitem_id,omitempty"` // 关联的前端宝贝对应的skuid AuctionSkuId int64 `json:"auction_sku_id,omitempty" xml:"auction_sku_id,omitempty"` }
FenxiaoSku 结构体
type GradeDiscount ¶
type GradeDiscount struct { // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 模式:1-代销、2-经销 TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 折扣类型:1-等级、2-分销商折扣 DiscountType int64 `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 等级ID或分销商ID DiscountId int64 `json:"discount_id,omitempty" xml:"discount_id,omitempty"` // 采购价格 Price float64 `json:"price,omitempty" xml:"price,omitempty"` }
GradeDiscount 结构体
type InventoryInfoDetailDto ¶
type InventoryInfoDetailDto struct { // subList SubList []InventorySubDetailDto `json:"sub_list,omitempty" xml:"sub_list>inventory_sub_detail_dto,omitempty"` // 后端商品code ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // 仓库code StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 占用库存数 OccupyQuantity int64 `json:"occupy_quantity,omitempty" xml:"occupy_quantity,omitempty"` // 仓库物理库存数 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 预扣库存数 ReserveQuantity int64 `json:"reserve_quantity,omitempty" xml:"reserve_quantity,omitempty"` // 后端商品id ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // distType InvStoreType int64 `json:"inv_store_type,omitempty" xml:"inv_store_type,omitempty"` // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 1前端商品 2供应链货品 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` }
InventoryInfoDetailDto 结构体
type InventoryQueryForStoreRequest ¶
type InventoryQueryForStoreRequest struct { // 后端商品code, sc_item_code或 sc_item_id需传入其中之一 ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // 仓库code StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 后端商品id, sc_item_code或 sc_item_id需传入其中之一 ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 实体类型 2:仓库类型, 6:门店类型 InvStoreType int64 `json:"inv_store_type,omitempty" xml:"inv_store_type,omitempty"` // 货品填0即可,前端商品填skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 1前端商品 2供应链货品 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` }
InventoryQueryForStoreRequest 结构体
type InventoryQueryResult ¶
type InventoryQueryResult struct { // 查询成功列表 ItemInventorys []InventoryInfoDetailDto `json:"item_inventorys,omitempty" xml:"item_inventorys>inventory_info_detail_dto,omitempty"` // tipInfos TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` }
InventoryQueryResult 结构体
type InventorySubDetailDto ¶
type InventorySubDetailDto struct { // ONLINE_INVENTORY:线上可售卖库存。SHARE_INVENTORY:线下独享库存,门店自提可用 InvBizCode string `json:"inv_biz_code,omitempty" xml:"inv_biz_code,omitempty"` // 预扣库存数 ReserveQuantity int64 `json:"reserve_quantity,omitempty" xml:"reserve_quantity,omitempty"` // 仓库物理库存数 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 占用库存数 OccupyQuantity int64 `json:"occupy_quantity,omitempty" xml:"occupy_quantity,omitempty"` }
InventorySubDetailDto 结构体
type InventorySum ¶
type InventorySum struct { // 商家仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 库存类型名称 InventoryTypeName string `json:"inventory_type_name,omitempty" xml:"inventory_type_name,omitempty"` // 商品商家编码 ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // 总预扣数量 ReserveQuantity int64 `json:"reserve_quantity,omitempty" xml:"reserve_quantity,omitempty"` // 库存类型:<br/>1:正常 <br/>2:损坏 <br/>3:冻结 <br/>10:质押 <br/>11-20:商家自定义 InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"` // 商品后端ID,如果有传sc_item_code,参数可以为0 ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 总物理库存数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 总占用数量 OccupyQuantity int64 `json:"occupy_quantity,omitempty" xml:"occupy_quantity,omitempty"` }
InventorySum 结构体
type LoginUser ¶
type LoginUser struct { // 会员NICK Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 分销用户类型(1:分销商,2:供应商,3:品牌商;2、3都表示有供货能力,只是身份不同) UserType string `json:"user_type,omitempty" xml:"user_type,omitempty"` // 入驻时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 分销用户ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
LoginUser 结构体
type OrderList ¶ added in v1.2.5
type OrderList struct { // 子采购单详情 SubOrderDetailYphList []SubOrderList `json:"sub_order_detail_yph_list,omitempty" xml:"sub_order_detail_yph_list>sub_order_list,omitempty"` // 建议废弃 Feature对象列表目前已有的属性: attr_key为 www,attr_value为1 表示是www子订单; attr_key为 wwwStoreCode,attr_value是www子订单发货的仓库编码; attr_key为 isWt,attr_value为1 表示是网厅子订单; attr_key为wtInfo,attr_value为网厅相关合约信息; attr_key为shipper,attr_value为cn表示菜鸟发货; attr_key为 storeCode,attr_value为仓库信息; attr_key为 erpHold,attr_value为1表示强管控中, attr_value为2表示分单完成; Features []FeatureDo `json:"features,omitempty" xml:"features>feature_do,omitempty"` // 支付宝交易号,在分销商使用担保交易支付时存在。 来源主订单的payOrderId。 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 运单号 LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"` // 采购单付款时间。格式:yyyy-MM-dd HH:mm:ss PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 采购单留言 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 采购单主单买家实付金额,当前台订单只有一个供应商时该字段有值。单位:元。 BuyerActualPayYuan string `json:"buyer_actual_pay_yuan,omitempty" xml:"buyer_actual_pay_yuan,omitempty"` // 发货时间,格式:格式:yyyy-MM-dd HH:mm:ss ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 物流公司 LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"` // 分销商昵称 DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 采购单邮费 PostageYuan string `json:"postage_yuan,omitempty" xml:"postage_yuan,omitempty"` // 供应商备注信息。 只有供应商身份查询输出此新信息 SupplierMemo string `json:"supplier_memo,omitempty" xml:"supplier_memo,omitempty"` // 采购单编号 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 采购单最后修改时间(包括订单状态变更和订单操作)。格式:yyyy-MM-dd HH:mm:ss GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 分销商实付金额,单位:元 DistributorPayPriceYuan string `json:"distributor_pay_price_yuan,omitempty" xml:"distributor_pay_price_yuan,omitempty"` // 供应商昵称 SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 确认收货金额,单位:元 ConfirmPaidFeeYuan string `json:"confirm_paid_fee_yuan,omitempty" xml:"confirm_paid_fee_yuan,omitempty"` // 采购单创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 分销商来源网站 DistributorFromSys string `json:"distributor_from_sys,omitempty" xml:"distributor_from_sys,omitempty"` // 交易成功的时间,分销商确认收货/付款的时间。格式:yyyy-MM-dd HH:mm:ss EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 采购单总额(不含邮费),单位:元 TotalPriceYuan string `json:"total_price_yuan,omitempty" xml:"total_price_yuan,omitempty"` // 主采购单交易状态,枚举:WAIT_SELLER_SEND_GOODS-已付款,待发货;WAIT_SELLER_CONFIRM_PAY-待确认收款;TRADE_REFUNDING-退款中;WAIT_BUYER_PAY-等待买家付款;WAIT_BUYER_CONFIRM_GOODS-已付款,已发货;TRADE_FINISHED-交易成功了;TRADE_CLOSED-交易关闭;TRADE_FOR_PAY-已付款;TRADE_REFUNDED-已退款 OrderStatusCode string `json:"order_status_code,omitempty" xml:"order_status_code,omitempty"` // 主采购单退款状态,枚举:ORDER_RF_NO_REFUND-没有过申请退款;ORDER_RF_REFUNDING-退款活动中,至少有一个子单在退款中;ORDER_RF_END_REFUND-退款结束,即曾经发生过退款且所有退款都完结了 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 寄售模式文字(商家仓,菜鸟仓,门店发货) LogisType string `json:"logis_type,omitempty" xml:"logis_type,omitempty"` // tp单创单时间 TpCreateTime string `json:"tp_create_time,omitempty" xml:"tp_create_time,omitempty"` // 支付方式,枚举:101-支付宝担保交易;102-代销分账;103-即时到账;104-预存款;201-线下转账汇款交易;301-资金账户预存款交易;302-资金账户即时到账交易;303-先款后货;401-账期支付;402-国际分账;403-直营无需支付;404-外币分账;10000-无需支付 PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 配送方式,枚举:1-平邮;2-快递;3-ems;4-虚拟物品 Shipping int64 `json:"shipping,omitempty" xml:"shipping,omitempty"` // 采购单总额(不含邮费,单位:分) TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // 消费者主订单ID (经销模式下,不存在该单号) TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 主采购单交易状态-数字表示,枚举:1-已付款,待发货;2-待确认收款;4-等待买家付款;5-已付款,已发货;6-交易成功;7-交易关闭;8-已付款; OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 确认收货金额,单位:分 ConfirmPaidFee int64 `json:"confirm_paid_fee,omitempty" xml:"confirm_paid_fee,omitempty"` // 查询的经营模式,当不指定时,默认查询代销订单 代销:1 经销:2 寄售(自营寄售):5 平台寄售:6 TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场;302-猫超一盘货;506-虾选一盘货 ChannelCode int64 `json:"channel_code,omitempty" xml:"channel_code,omitempty"` // 采购单主单买家实付金额,当前台订单只有一个供应商时该字段有值。单位:分。 BuyerActualPay int64 `json:"buyer_actual_pay,omitempty" xml:"buyer_actual_pay,omitempty"` // 分销采购单号(分销流水号) FenxiaoId int64 `json:"fenxiao_id,omitempty" xml:"fenxiao_id,omitempty"` // 采购单邮费,单位:分 Postage int64 `json:"postage,omitempty" xml:"postage,omitempty"` // 供应商来源网站。 入驻时定义供应商来源的外部系统编码, values: taobao, alibaba SupplierFromSys int64 `json:"supplier_from_sys,omitempty" xml:"supplier_from_sys,omitempty"` // 分销商实付金额,单位:分 DistributorPayPrice int64 `json:"distributor_pay_price,omitempty" xml:"distributor_pay_price,omitempty"` // 主采购单退款状态-数字表示,枚举:9-没有过申请退款;10-退款活动中,至少有一个子单在退款中;11-退款结束,即曾经发生过退款且所有退款都完结了 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 寄售模式code(0-菜鸟仓,1-商家仓,2-门店发货) LogisTypeCode int64 `json:"logis_type_code,omitempty" xml:"logis_type_code,omitempty"` // 消费者详细信息(收货人姓名、收货人手机、收货人电话、收货人邮编、收货人省份、收货人详细地址) DpBuyerDetail *DpBuyerDetail `json:"dp_buyer_detail,omitempty" xml:"dp_buyer_detail,omitempty"` }
OrderList 结构体
type OrderMessages ¶
type OrderMessages struct { // 留言时间 MessageTime string `json:"message_time,omitempty" xml:"message_time,omitempty"` // 留言标题,例如:分销商留言,供应商留言,买家留言 MessageTitle string `json:"message_title,omitempty" xml:"message_title,omitempty"` // 留言内容 MessageContent string `json:"message_content,omitempty" xml:"message_content,omitempty"` // 留言时的图片地址 PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"` }
OrderMessages 结构体
type PaginationResult ¶
type PaginationResult struct { // 仓库信息数组 Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
PaginationResult 结构体
type PduList ¶
type PduList struct { // 产品销售属性值 SkuProperties string `json:"sku_properties,omitempty" xml:"sku_properties,omitempty"` // 分销商用户名 DistributorName string `json:"distributor_name,omitempty" xml:"distributor_name,omitempty"` // 产品ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // 分销商ID DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"` // 产品代销配额库存 QuantityAgent int64 `json:"quantity_agent,omitempty" xml:"quantity_agent,omitempty"` }
PduList 结构体
type ProductCat ¶
type ProductCat struct { // 产品线名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 产品最低零售价 RetailLowPercent string `json:"retail_low_percent,omitempty" xml:"retail_low_percent,omitempty"` // 产品最高零售价 RetailHighPercent string `json:"retail_high_percent,omitempty" xml:"retail_high_percent,omitempty"` // 产品代销采购价 CostPercentAgent string `json:"cost_percent_agent,omitempty" xml:"cost_percent_agent,omitempty"` // 产品经销采购价 CostPercentDealer string `json:"cost_percent_dealer,omitempty" xml:"cost_percent_dealer,omitempty"` // 产品线ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 产品数量 ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"` }
ProductCat 结构体
type ProductImageList ¶
type ProductImageList struct { // 图片对应的url ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` // 图片类型(PRODUCT:产品图片 EXTPRODUCT:产品辅图 PROPERTIES:产品属性图片 ) Type string `json:"type,omitempty" xml:"type,omitempty"` // 当图片类型为属性图片时,表示图片对应的属性pv对。 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 图片id ImageId int64 `json:"image_id,omitempty" xml:"image_id,omitempty"` // 图片顺序 ImagePosition int64 `json:"image_position,omitempty" xml:"image_position,omitempty"` }
ProductImageList 结构体
type ProductSkuDo ¶
type ProductSkuDo struct { // sku的销售属性组合字符串。格式:pid:vid;pid:vid,如:1627207:3232483;1630696:3284570,表示:机身颜色:军绿色;手机套餐:一电一充。 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 关联的前端宝贝skuid AuctionSkuId int64 `json:"auction_sku_id,omitempty" xml:"auction_sku_id,omitempty"` // 代销采购价:单位分 CostPriceFen int64 `json:"cost_price_fen,omitempty" xml:"cost_price_fen,omitempty"` // 经销采购价:单位分 PriceCostDealerFen int64 `json:"price_cost_dealer_fen,omitempty" xml:"price_cost_dealer_fen,omitempty"` // 库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 配额可用库存 QuotaQuantity int64 `json:"quota_quantity,omitempty" xml:"quota_quantity,omitempty"` // 预扣库存 ReservedQuantity int64 `json:"reserved_quantity,omitempty" xml:"reserved_quantity,omitempty"` // 关联的后端商品id ScitemId int64 `json:"scitem_id,omitempty" xml:"scitem_id,omitempty"` // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 市场价单位分 StandardPriceFen int64 `json:"standard_price_fen,omitempty" xml:"standard_price_fen,omitempty"` }
ProductSkuDo 结构体
type PurchaseOrder ¶ added in v1.2.5
type PurchaseOrder struct { // 子采购单详情 SubOrderDetailYphList []SubOrderDetail `json:"sub_order_detail_yph_list,omitempty" xml:"sub_order_detail_yph_list>sub_order_detail,omitempty"` // 建议废弃 Feature对象列表目前已有的属性: attr_key为 www,attr_value为1 表示是www子订单; attr_key为 wwwStoreCode,attr_value是www子订单发货的仓库编码; attr_key为 isWt,attr_value为1 表示是网厅子订单; attr_key为wtInfo,attr_value为网厅相关合约信息; attr_key为shipper,attr_value为cn表示菜鸟发货; attr_key为 storeCode,attr_value为仓库信息; attr_key为 erpHold,attr_value为1表示强管控中, attr_value为2表示分单完成; Features []FeatureDo `json:"features,omitempty" xml:"features>feature_do,omitempty"` // 支付宝交易号 PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"` // 运单号 LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"` // 采购单付款时间。格式:yyyy-MM-dd HH:mm:ss PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 采购单留言,默认是分销商留言。在代销模式下信息包括消费者(买家)留言和分销商留言信息 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 采购单主单买家实付金额,当tc主单只有一个供应商时该字段才有值 BuyerActualPayYuan string `json:"buyer_actual_pay_yuan,omitempty" xml:"buyer_actual_pay_yuan,omitempty"` // 发货时间,格式:yyyy-MM-dd HH:mm:ss ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 物流公司名称 LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"` // 支付宝交易号,担保交易使用。 AlipayOrderNo string `json:"alipay_order_no,omitempty" xml:"alipay_order_no,omitempty"` // 分销商昵称 DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 邮费,单位:元 PostageYuan string `json:"postage_yuan,omitempty" xml:"postage_yuan,omitempty"` // 供应商备注信息。 只有供应商身份查询输出此信息。 SupplierMemo string `json:"supplier_memo,omitempty" xml:"supplier_memo,omitempty"` // 采购单编号 BizOrderId string `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"` // 采购单最后更新时间,包括订单状态变更和订单操作。格式:yyyy-MM-dd HH:mm:ss GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 交易状态,枚举:WAIT_BUYER_PAY-等待付款;WAIT_SELLER_CONFIRM-付款信息待确认,待发货;WAIT_SELLER_SEND_GOODS-已付款,待发货;WAIT_BUYER_CONFIRM_GOODS-已付款,已发货;TRADE_FINISHED-交易成功;TRADE_CLOSED-交易关闭 OrderStatusCode string `json:"order_status_code,omitempty" xml:"order_status_code,omitempty"` // 分销商实付金额,单位:元 DistributorPayPriceYuan string `json:"distributor_pay_price_yuan,omitempty" xml:"distributor_pay_price_yuan,omitempty"` // 供应商昵称 SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 确认收货金额,单位:元 ConfirmPaidFeeYuan string `json:"confirm_paid_fee_yuan,omitempty" xml:"confirm_paid_fee_yuan,omitempty"` // 采购单创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 分销商来源网站 DistributorFromSys string `json:"distributor_from_sys,omitempty" xml:"distributor_from_sys,omitempty"` // 订单结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 采购单总价,单位:元 TotalPriceYuan string `json:"total_price_yuan,omitempty" xml:"total_price_yuan,omitempty"` // 主采购单退款状态,枚举:ORDER_RF_NO_REFUND-没有过申请退款;ORDER_RF_REFUNDING-退款活动中,至少有一个子单在退款中;ORDER_RF_END_REFUND-退款结束,即曾经发生过退款且所有退款都完结了 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 寄售模式文字(菜鸟仓,商家仓,门店发货) LogisType string `json:"logis_type,omitempty" xml:"logis_type,omitempty"` // 支付方式,枚举:101-支付宝担保交易;102-代销分账;103-即时到账;104-预存款;201-线下转账汇款交易;301-资金账户预存款交易;302-资金账户即时到账交易;303-先款后货;401-账期支付;402-国际分账;403-直营无需支付;404-外币分账;10000-无需支付 PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 配送方式,枚举:1-平邮;2-快递;3-ems;4-虚拟物品 Shipping int64 `json:"shipping,omitempty" xml:"shipping,omitempty"` // 采购单总额(不含邮费) TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // 消费者主订单ID (经销模式下,不存在该单号) TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 已执行确认收货的金额,单位:分 ConfirmPaidFee int64 `json:"confirm_paid_fee,omitempty" xml:"confirm_paid_fee,omitempty"` // 供应商备注旗帜vlaue在1-5之间。 非1-5之间,都采用1作为默认。 1:红色 2:黄色 3:绿色 4:蓝色 5:粉红色 供应商角色查询返回 SupplierFlag int64 `json:"supplier_flag,omitempty" xml:"supplier_flag,omitempty"` // 交易模式(分销方式):1-代销;2-经销;5-寄售;6-平台寄售 TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场;302-猫超一盘货;506-虾选一盘货 ChannelCode int64 `json:"channel_code,omitempty" xml:"channel_code,omitempty"` // 采购单主单买家实付金额,当前台主单只有一个供应商时该字段才有值,单位:分 BuyerActualPay int64 `json:"buyer_actual_pay,omitempty" xml:"buyer_actual_pay,omitempty"` // 分销采购单号(分销流水号) FenxiaoId int64 `json:"fenxiao_id,omitempty" xml:"fenxiao_id,omitempty"` // 邮费,单位:分 Postage int64 `json:"postage,omitempty" xml:"postage,omitempty"` // 供应商来源网站,1-淘宝,2-阿里巴巴 SupplierFromSys int64 `json:"supplier_from_sys,omitempty" xml:"supplier_from_sys,omitempty"` // 分销商实付金额,单位:分 DistributorPayPrice int64 `json:"distributor_pay_price,omitempty" xml:"distributor_pay_price,omitempty"` // 主采购单交易状态-数字表示,枚举:1-已付款,待发货;2-待确认收款;4-等待买家付款;5-已付款,已发货;6-交易成功;7-交易关闭;8-已付款; OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"` // 主采购单退款状态-数字表示,枚举:9-没有过申请退款;10-退款活动中,至少有一个子单在退款中;11-退款结束,即曾经发生过退款且所有退款都完结了 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 寄售模式code(0-菜鸟仓,1-商家仓,2-门店发货) LogisTypeCode int64 `json:"logis_type_code,omitempty" xml:"logis_type_code,omitempty"` // 消费者信息(收货人姓名、收货人手机、收货人电话、收货人邮编、收货人省份、收货人详细地址) DpBuyerDetail *DpBuyerDetail `json:"dp_buyer_detail,omitempty" xml:"dp_buyer_detail,omitempty"` }
PurchaseOrder 结构体
type QueryPagination ¶
type QueryPagination struct { // 当前页码数 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` // 分页记录个数,如果用户输入的记录数大于50,则一页显示50条记录 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
QueryPagination 结构体
type Receiver ¶
type Receiver struct { // 邮政编码 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 移动电话 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 固定电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 收货人的详细地址信息 Address string `json:"address,omitempty" xml:"address,omitempty"` // 收货人全名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 收货人所在省份 State string `json:"state,omitempty" xml:"state,omitempty"` // 区/县 District string `json:"district,omitempty" xml:"district,omitempty"` // 证件号 CardId string `json:"card_id,omitempty" xml:"card_id,omitempty"` // 收货人的城市 City string `json:"city,omitempty" xml:"city,omitempty"` }
Receiver 结构体
type RefundDetail ¶
type RefundDetail struct { // 退款明细项,记录退款涉及的订单 ReturnLogistics []RefundLogistics `json:"return_logistics,omitempty" xml:"return_logistics>refund_logistics,omitempty"` // 退款明细项,记录退款涉及的订单 RefundItems []RefundItem `json:"refund_items,omitempty" xml:"refund_items>refund_item,omitempty"` // 退款创建时间 RefundCreateTime string `json:"refund_create_time,omitempty" xml:"refund_create_time,omitempty"` // 退款的金额(元) RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 支付给供应商的金额(元),分销订单子单实付金额-退款金额 PaySupFee string `json:"pay_sup_fee,omitempty" xml:"pay_sup_fee,omitempty"` // 退款原因 RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"` // 退款说明 RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"` // 分销商nick DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 供应商nick SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 退款修改时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 超时时间 Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"` // 退款单最后修改时间,格式 yyyy-MM-dd HH:mm:ss GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 退款金额,单位:元 RefundFeeYuan string `json:"refund_fee_yuan,omitempty" xml:"refund_fee_yuan,omitempty"` // 支付给供应商的金额,单位:元 PaySupFeeYuan string `json:"pay_sup_fee_yuan,omitempty" xml:"pay_sup_fee_yuan,omitempty"` // 退款单状态code,RF_STATUS_NO_REFUND-已撤回;RF_STATUS_WAIT_SELLER_AGREE-等待卖家同意;RF_STATUS_SELLER_REFUSE-卖家拒绝退款,等待买家修改;RF_STATUS_WAIT_BUYER_RETURN_GOODS-等待买家退货;RF_STATUS_WAIT_SELLER_CONFIRM_GOODS-买家退货,等待卖家确认收货;RF_STATUS_SELLER_REFUSE_RETURN_GOODS-卖家拒绝收货;RF_STATUS_WAIT_SYSTEM_TRANSFER-等待系统打款;RF_STATUS_SUCCESS-退款成功;RF_STATUS_CLOSED-退款关闭 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 分销子订单号,如果是by子单发起退款,就会在退款主单上记录分销子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 退款状态1:分销商已经申请退款,等待供应商确认2:供应商已经同意退货,等待分销商退货3:分销商已经退货,等待供应商确认收货4:退款关闭5:退款成功 6:供应商拒绝退款12:供应商同意退款,待系统打款 9:没有申请退款 10:供应商拒绝确认收货,待分销商重新修改 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 分销主订单号 PurchaseOrderId int64 `json:"purchase_order_id,omitempty" xml:"purchase_order_id,omitempty"` // 退款流程类型:4:发货前退款;1:发货后退款不退货;2:发货后退款退货;3:售后退款;5:拒收;6:售后退货退款 RefundFlowType int64 `json:"refund_flow_type,omitempty" xml:"refund_flow_type,omitempty"` // 超时类型:<br/>1:供应商同意退款/同意退货超时;<br/>2:供应商确认收货超时 ToType int64 `json:"to_type,omitempty" xml:"to_type,omitempty"` // 前台消费者订单对应的退款详情 BuyerRefund *BuyerRefund `json:"buyer_refund,omitempty" xml:"buyer_refund,omitempty"` // 分销退款单号 RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 退款单类型,10-未发货退款;20-已发货退货;30-已发货仅退款;40-拒收 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` // 是否退货,如果是已发货退货退款/售后退货退款,就是true IsReturnGoods bool `json:"is_return_goods,omitempty" xml:"is_return_goods,omitempty"` // 是否退货 ReturnGoods bool `json:"return_goods,omitempty" xml:"return_goods,omitempty"` }
RefundDetail 结构体
type RefundDetailList ¶ added in v1.2.5
type RefundDetailList struct { // 退货的物流信息 ReturnLogistics []RefundLogistics `json:"return_logistics,omitempty" xml:"return_logistics>refund_logistics,omitempty"` // 退款明细项,记录退款涉及的订单 RefundItems []RefundItem `json:"refund_items,omitempty" xml:"refund_items>refund_item,omitempty"` // 退款单最后修改时间,格式 yyyy-MM-dd HH:mm:ss GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 退款说明 RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"` // 退款金额,单位:元 RefundFeeYuan string `json:"refund_fee_yuan,omitempty" xml:"refund_fee_yuan,omitempty"` // 支付给供应商的金额,单位:元 PaySupFeeYuan string `json:"pay_sup_fee_yuan,omitempty" xml:"pay_sup_fee_yuan,omitempty"` // 退款创建时间 RefundCreateTime string `json:"refund_create_time,omitempty" xml:"refund_create_time,omitempty"` // 退款单状态code,RF_STATUS_NO_REFUND-已撤回;RF_STATUS_WAIT_SELLER_AGREE-等待卖家同意;RF_STATUS_SELLER_REFUSE-卖家拒绝退款,等待买家修改;RF_STATUS_WAIT_BUYER_RETURN_GOODS-等待买家退货;RF_STATUS_WAIT_SELLER_CONFIRM_GOODS-买家退货,等待卖家确认收货;RF_STATUS_SELLER_REFUSE_RETURN_GOODS-卖家拒绝收货;RF_STATUS_WAIT_SYSTEM_TRANSFER-等待系统打款;RF_STATUS_SUCCESS-退款成功;RF_STATUS_CLOSED-退款关闭 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 退款金额,单位:分 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 退款单状态,10-已撤回;20-等待卖家同意;30-卖家拒绝退款,等待买家修改;40-等待买家退货;50-买家退货,等待卖家确认收货;60-卖家拒绝收货;90-等待系统打款;100-退款成功;200-退款关闭 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 发生退款的分销子采购单id SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 买家退款单信息 BuyerRefund *BuyerRefund `json:"buyer_refund,omitempty" xml:"buyer_refund,omitempty"` // 分销采购单id PurchaseOrderId int64 `json:"purchase_order_id,omitempty" xml:"purchase_order_id,omitempty"` // 支付给供应商的金额,单位:分 PaySupFee int64 `json:"pay_sup_fee,omitempty" xml:"pay_sup_fee,omitempty"` // 退款单类型,10-未发货退款;20-已发货退货;30-已发货仅退款;40-拒收 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` // 退款单id RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 是否退货 ReturnGoods bool `json:"return_goods,omitempty" xml:"return_goods,omitempty"` }
RefundDetailList 结构体
type RefundItem ¶ added in v1.2.5
type RefundItem struct { // 退款明细ID,针对一笔退款每一个品就映射为一个明细,每一个明细有一个全局唯一的ID RefundItemId int64 `json:"refund_item_id,omitempty" xml:"refund_item_id,omitempty"` // 分销子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 退货数量 RefundQuantity int64 `json:"refund_quantity,omitempty" xml:"refund_quantity,omitempty"` }
RefundItem 结构体
type RefundLogistics ¶ added in v1.2.5
type RefundLogistics struct { // 退货物流公司编码,如顺丰、韵达等 CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"` // 退货物流公司名称,如顺丰 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 退货物流运单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` }
RefundLogistics 结构体
type RegionalPriceDto ¶
type RegionalPriceDto struct { // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 区县,特殊可选 District string `json:"district,omitempty" xml:"district,omitempty"` // 街道,特殊可选 Street string `json:"street,omitempty" xml:"street,omitempty"` // 金额(分) Price int64 `json:"price,omitempty" xml:"price,omitempty"` }
RegionalPriceDto 结构体
type Requisition ¶
type Requisition struct { // 分销商nick DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 店铺地址 DistShopAddress string `json:"dist_shop_address,omitempty" xml:"dist_shop_address,omitempty"` // 开店时间 DistOpenDate string `json:"dist_open_date,omitempty" xml:"dist_open_date,omitempty"` // 申请时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 分销申请加盟时,给供应商的留言 DistMessage string `json:"dist_message,omitempty" xml:"dist_message,omitempty"` // 主营类目名称 DistCategoryName string `json:"dist_category_name,omitempty" xml:"dist_category_name,omitempty"` // 合作申请ID RequisitionId int64 `json:"requisition_id,omitempty" xml:"requisition_id,omitempty"` // 分销商id DistributorId int64 `json:"distributor_id,omitempty" xml:"distributor_id,omitempty"` // 申请状态(1-申请中、2-成功、3-被退回、4-已撤消、5-过期) Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 是否消保(0-不是、1-是) DistIsXiaobao int64 `json:"dist_is_xiaobao,omitempty" xml:"dist_is_xiaobao,omitempty"` // 店铺星级 DistLevel int64 `json:"dist_level,omitempty" xml:"dist_level,omitempty"` // 好评率 DistAppraise int64 `json:"dist_appraise,omitempty" xml:"dist_appraise,omitempty"` // 主营类目 DistCategory int64 `json:"dist_category,omitempty" xml:"dist_category,omitempty"` }
Requisition 结构体
type ResultDto ¶
type ResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultDto 结构体
type ScItem ¶
type ScItem struct { // 条形码 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 商品属性格式是 p1:v1,p2:v2,p3:v3 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 品牌名称 BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"` // 仓储商编码,可以支持多个,格式wmsname:code WmsCode string `json:"wms_code,omitempty" xml:"wms_code,omitempty"` // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 商家编码 OuterCode string `json:"outer_code,omitempty" xml:"outer_code,omitempty"` // LIQUID:液体,1:粉体,SOLID:固体 MatterStatus string `json:"matter_status,omitempty" xml:"matter_status,omitempty"` // 重量.单位:克 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // 宽 单位:mm Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 品牌id BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"` // 价格:分(吊牌价) Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 高 单位:mm Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 体积:立方厘米 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 长度 单位:mm Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 1.普通供应链商品 2.供应链组合主商品 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` // 1表示区域销售,0或是空是非区域销售 IsAreaSale int64 `json:"is_area_sale,omitempty" xml:"is_area_sale,omitempty"` // 后端商品options字段 Options int64 `json:"options,omitempty" xml:"options,omitempty"` // 是否易碎 false :不是 true:是 IsFriable bool `json:"is_friable,omitempty" xml:"is_friable,omitempty"` // 是否保质期:false:不是 true:是 IsWarranty bool `json:"is_warranty,omitempty" xml:"is_warranty,omitempty"` // 是否危险 false:不是 true:是 IsDangerous bool `json:"is_dangerous,omitempty" xml:"is_dangerous,omitempty"` // 贵重品:false:不是 true:是 IsCostly bool `json:"is_costly,omitempty" xml:"is_costly,omitempty"` }
ScItem 结构体
type ScItemMap ¶
type ScItemMap struct { // 后端商品所有者名称 RelUserNick string `json:"rel_user_nick,omitempty" xml:"rel_user_nick,omitempty"` // Ic商家nick(分销商nick) UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 后端商品所有者商家编码 RelOuterCode string `json:"rel_outer_code,omitempty" xml:"rel_outer_code,omitempty"` // 后端商品ID RelItemId int64 `json:"rel_item_id,omitempty" xml:"rel_item_id,omitempty"` // map_type=1时,item_id为IC商品id<br/><br/>map_type=7时,item_id为分销商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 后端商品所有者id RelUserId int64 `json:"rel_user_id,omitempty" xml:"rel_user_id,omitempty"` // 1:前台和后台关系<br/>7:分销和后台关系 MapType int64 `json:"map_type,omitempty" xml:"map_type,omitempty"` // Ic商家id(分销商id) UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 当宝贝下没SKU时该字段为空 SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
ScItemMap 结构体
type ScItemSearchDto ¶ added in v1.2.5
type ScItemSearchDto struct { // 剔除的货品类型 NonScItemTypeList []string `json:"non_sc_item_type_list,omitempty" xml:"non_sc_item_type_list>string,omitempty"` // 货品类型 ScItemTypeList []string `json:"sc_item_type_list,omitempty" xml:"sc_item_type_list>string,omitempty"` // 货品编码列表 OuterIdList []string `json:"outer_id_list,omitempty" xml:"outer_id_list>string,omitempty"` // 条形码列表 WhcBarCodeList []string `json:"whc_bar_code_list,omitempty" xml:"whc_bar_code_list>string,omitempty"` // 商家类目ID列表 MerchantCategoryIdList []int64 `json:"merchant_category_id_list,omitempty" xml:"merchant_category_id_list>int64,omitempty"` // 标签 AuctionTags []string `json:"auction_tags,omitempty" xml:"auction_tags>string,omitempty"` // 货品ID列表 ScItemIdList []int64 `json:"sc_item_id_list,omitempty" xml:"sc_item_id_list>int64,omitempty"` // 货品名称 ScItemName string `json:"sc_item_name,omitempty" xml:"sc_item_name,omitempty"` // 货品不包含的特征 NonFeatureCondition string `json:"non_feature_condition,omitempty" xml:"non_feature_condition,omitempty"` // 品牌名称 BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"` // 货品编码 ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // 货品包含的特征 FeatureCondition string `json:"feature_condition,omitempty" xml:"feature_condition,omitempty"` // 条形码 WhcBarcode string `json:"whc_barcode,omitempty" xml:"whc_barcode,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 标记位,3表示后端商品 ItemDim int64 `json:"item_dim,omitempty" xml:"item_dim,omitempty"` // 货品状态,0 正常 ScItemStatus int64 `json:"sc_item_status,omitempty" xml:"sc_item_status,omitempty"` // 货品ID ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 页码 CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"` // 市场类目ID CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` }
ScItemSearchDto 结构体
type SkuList ¶
type SkuList struct { // 名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 市场价 StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"` // sku的销售属性组合字符串。格式:pid:vid;pid:vid,如:1627207:3232483;1630696:3284570,表示:机身颜色:军绿色;手机套餐:一电一充。 Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 代销采购价,单位:元 CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"` // 经销采购价 DealerCostPrice string `json:"dealer_cost_price,omitempty" xml:"dealer_cost_price,omitempty"` // SkuID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 关联的后端商品id ScitemId int64 `json:"scitem_id,omitempty" xml:"scitem_id,omitempty"` // 预扣库存 ReservedQuantity int64 `json:"reserved_quantity,omitempty" xml:"reserved_quantity,omitempty"` // 配额可用库存 QuotaQuantity int64 `json:"quota_quantity,omitempty" xml:"quota_quantity,omitempty"` }
SkuList 结构体
type Store ¶
type Store struct { // 联系电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 商家的仓库编码,不允许重复 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 仓库的物理地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 仓库类型 StoreType string `json:"store_type,omitempty" xml:"store_type,omitempty"` // 邮编 PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"` // 联系人 Contact string `json:"contact,omitempty" xml:"contact,omitempty"` // 商家的仓库名称 StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"` // 仓库对应的淘宝区域 AddressAreaName string `json:"address_area_name,omitempty" xml:"address_area_name,omitempty"` // 仓库简称 AliasName string `json:"alias_name,omitempty" xml:"alias_name,omitempty"` }
Store 结构体
type SubOrderDetail ¶
type SubOrderDetail struct { // 建议废弃 Feature对象列表目前已有的属性: attr_key为 www,attr_value为1 表示是www子订单; attr_key为 wwwStoreCode,attr_value是www子订单发货的仓库编码; attr_key为 isWt,attr_value为1 表示是网厅子订单; attr_key为wtInfo,attr_value为网厅相关合约信息; attr_key为shipper,attr_value为cn表示菜鸟发货; attr_key为 storeCode,attr_value为仓库信息; attr_key为 erpHold,attr_value为1表示强管控中, attr_value为2表示分单完成; Features []FeatureDo `json:"features,omitempty" xml:"features>feature_do,omitempty"` // 商品商家编码,供应商发布产品是定义的产品编码 ItemOuterId string `json:"item_outer_id,omitempty" xml:"item_outer_id,omitempty"` // SKU商家编码,供应商发布产品SKU是定义的编码 SkuOuterId string `json:"sku_outer_id,omitempty" xml:"sku_outer_id,omitempty"` // SKU属性值。如: 颜色:红色:别名;尺码:L:别名 SkuProperties string `json:"sku_properties,omitempty" xml:"sku_properties,omitempty"` // 废弃: 产品快照地址 SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"` // 子单创建时间。格式 yyyy-MM-dd HH:mm:ss 。 Created string `json:"created,omitempty" xml:"created,omitempty"` // 采购单交易状态。 可选值: WAIT_BUYER_PAY(等待付款) WAIT_SELLER_CONFIRM(付款信息待确认,待发货) WAIT_SELLER_SEND_GOODS(已付款,待发货) WAIT_BUYER_CONFIRM_GOODS(已付款,已发货) TRADE_FINISHED(交易成功) TRADE_CLOSED(交易关闭) TRADE_REFUNDING(退款中) TRADE_REFUNDED(已退款) PAID_FORBID_CONSIGN(已付款, 禁止发货(大快消行业)) WAIT_BUYER_CONFIRM_GOODS_ACOUNTED(已付款(已分账),已发货。只对代销分账支持) PAY_ACOUNTED_GOODS_CONFIRM (已分账发货成功) PAY_WAIT_ACOUNT_GOODS_CONFIRM(已付款,确认收货) Status string `json:"status,omitempty" xml:"status,omitempty"` // 退款金额,单位元。(精确到2位小数;单位:元。如:12.23,表示:12元2角3分) RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 消费者的交易订单状态(代销采购单对应下游200订单状态)。 可选值: WAIT_SELLER_SEND_GOODS(已付款,待发货) WAIT_BUYER_CONFIRM_GOODS(已付款,已发货) TRADE_CLOSED(已退款成功) TRADE_REFUNDING(退款中) TRADE_FINISHED(交易成功) TRADE_CLOSED_BY_TAOBAO(交易关闭) Order200Status string `json:"order_200_status,omitempty" xml:"order_200_status,omitempty"` // 分销商店铺中宝贝一口价,消费者看见的宝贝价格。单位元 代销场景下存在,此价格不是实付款的价格。 AuctionPrice string `json:"auction_price,omitempty" xml:"auction_price,omitempty"` // 采购的产品标题。 Title string `json:"title,omitempty" xml:"title,omitempty"` // 产品的采购价格。(精确到2位小数;单位:元。如:200.07,表示:200元7分) Price string `json:"price,omitempty" xml:"price,omitempty"` // 分销商应付金额。 计算公式:num(采购数量)*price(采购价) - 折扣。(精确到2位小数;单位:元。如:200.07,表示:200元7分) TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 分销商实付金额。 total_fee(分销商应付金额)+ 改价。(精确到2位小数;单位:元。如:200.07,表示:200元7分) DistributorPayment string `json:"distributor_payment,omitempty" xml:"distributor_payment,omitempty"` // 买家订单上对应的子单零售金额。 计算公式:消费者订单的成交价 * 购买数量 + 调整金额 - 优惠折扣(精确到2位小数;单位:元。如:200.07,表示:200元7分) BuyerPayment string `json:"buyer_payment,omitempty" xml:"buyer_payment,omitempty"` // 发票应开金额。 子单的消费者实付分摊金额。根据买家实际付款去除邮费后,按各个子单(商品)金额比例进行分摊后的金额,仅供开发票时做票面金额参考。 BillFee string `json:"bill_fee,omitempty" xml:"bill_fee,omitempty"` // 商品优惠类型:聚划算、秒杀或其他 TcPreferentialType string `json:"tc_preferential_type,omitempty" xml:"tc_preferential_type,omitempty"` // 消费者订单优惠金额,始终为正数,单位是分,不带小数 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 采购子订单优惠活动类型。0=无优惠;1=限时折 PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 老的SKU属性值。如: 颜色:红色:别名;尺码:L:别名 OldSkuProperties string `json:"old_sku_properties,omitempty" xml:"old_sku_properties,omitempty"` // 消费者订单优惠金额,始终为正数,单位是元 DiscountFeeYuan string `json:"discount_fee_yuan,omitempty" xml:"discount_fee_yuan,omitempty"` // sku属性值 SkuPropertyVal string `json:"sku_property_val,omitempty" xml:"sku_property_val,omitempty"` // 分销商实付金额,单位:元 DistributorPayPriceYuan string `json:"distributor_pay_price_yuan,omitempty" xml:"distributor_pay_price_yuan,omitempty"` // 退款金额,单位:元 RefundFeeYuan string `json:"refund_fee_yuan,omitempty" xml:"refund_fee_yuan,omitempty"` // 确认收货金额,单位:元 ConfirmPaidFeeYuan string `json:"confirm_paid_fee_yuan,omitempty" xml:"confirm_paid_fee_yuan,omitempty"` // 买家实付金额,单位:元 BuyerPayPriceYuan string `json:"buyer_pay_price_yuan,omitempty" xml:"buyer_pay_price_yuan,omitempty"` // 老的sku属性值 OldSkuPropertyVal string `json:"old_sku_property_val,omitempty" xml:"old_sku_property_val,omitempty"` // 支付宝交易号,担保交易使用。 AlipayOrderNo string `json:"alipay_order_no,omitempty" xml:"alipay_order_no,omitempty"` // 图片地址 SnapPath string `json:"snap_path,omitempty" xml:"snap_path,omitempty"` // 子采购单创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 发票应开金额。 子单的消费者实付分摊金额。根据买家实际付款去除邮费后,按各个子单(商品)金额比例进行分摊后的金额,仅供开发票时做票面金额参考。单位:元 BillFeeYuan string `json:"bill_fee_yuan,omitempty" xml:"bill_fee_yuan,omitempty"` // 单个商品价格,单位:元 PriceYuan string `json:"price_yuan,omitempty" xml:"price_yuan,omitempty"` // 分销商应付金额,单位:元 DistributorPriceYuan string `json:"distributor_price_yuan,omitempty" xml:"distributor_price_yuan,omitempty"` // 子采购单退款状态,枚举:RF_STATUS_NO_REFUND-没有申请退款;RF_STATUS_REFUNDING-退款中;RF_STATUS_END_REFUND-退款结束,退款成功或者退款关闭都会走到这里 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 子采购单交易状态,枚举:AUDITING-意向单审核中;LOCKED-订单付款前锁定;WAIT_FOR_ALLOCATE_GOODS-待分货;ALLOCATING-分货中;WAIT_FOR_PAY-等待付款;PAID_WAIT_FOR_CONFIRM-已付款待确认付款操作;PAID-已确认付款,可直接发货;DELIVERED-已提交交货;CONSIGNED-已发货;RECEIVING-已提交确认收货,但收货未完成;ORDER_CLOSE-交易关闭;ORDER_SUCCESS-交易成功 SubOrderStatusCode string `json:"sub_order_status_code,omitempty" xml:"sub_order_status_code,omitempty"` // 商品商家编码,供应商发布产品时定义的产品编码 AuctionOutId string `json:"auction_out_id,omitempty" xml:"auction_out_id,omitempty"` // SKU商家编码,供应商发布产品SKU是定义的编码 AuctionOutSkuId string `json:"auction_out_sku_id,omitempty" xml:"auction_out_sku_id,omitempty"` // 建议废弃:只有当担保交易支付时存在,为TP800的订单编号 子采购单id,淘宝交易主键,采购单未付款时为0.(只有支付宝 付款才有这个id,其余付款形式该字段为0) Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 子采购单编号 FenxiaoId int64 `json:"fenxiao_id,omitempty" xml:"fenxiao_id,omitempty"` // 分销产品的SKU ID。 当存在时才会有值,建议使用sku_outer_id,sku_properties这两个值 SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 消费者订单子订单ID(经销模式下不存在该值) TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 分销平台上的产品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 产品的采购数量。取值范围:大于零的整数 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 后端商品id ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 优惠金额,始终为正数,单位是分,不带小数 TcDiscountFee int64 `json:"tc_discount_fee,omitempty" xml:"tc_discount_fee,omitempty"` // 商品的卖出金额调整,金额增加时为正数,金额减少时为负数,单位是分,不带小数 TcAdjustFee int64 `json:"tc_adjust_fee,omitempty" xml:"tc_adjust_fee,omitempty"` // 消费者购买宝贝SKU ID,不存在时为0。 2015年3月15日之前创建的采购单该字段都是0。 AuctionSkuId int64 `json:"auction_sku_id,omitempty" xml:"auction_sku_id,omitempty"` // 消费者购买宝贝ID,不存在时为0。 2015年4月15日之前创建的采购单该字段都是0。 AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"` // 子订单留言信息 TopMemo *TopMemoDto `json:"top_memo,omitempty" xml:"top_memo,omitempty"` // 买家实付金额,单位:分 BuyerPayPrice int64 `json:"buyer_pay_price,omitempty" xml:"buyer_pay_price,omitempty"` // 购买数量 BuyNum int64 `json:"buy_num,omitempty" xml:"buy_num,omitempty"` // 前台子订单id SubTcOrderId int64 `json:"sub_tc_order_id,omitempty" xml:"sub_tc_order_id,omitempty"` // 确认收货金额,单位:分 ConfirmPaidFee int64 `json:"confirm_paid_fee,omitempty" xml:"confirm_paid_fee,omitempty"` // 消费者购买宝贝ID,不存在时为0。 2015年4月15日之前创建的采购单该字段都是0。 RealAuctionId int64 `json:"real_auction_id,omitempty" xml:"real_auction_id,omitempty"` // 消费者购买宝贝SKU ID,不存在时为0。 2015年3月15日之前创建的采购单该字段都是0。 RealAuctionSkuId int64 `json:"real_auction_sku_id,omitempty" xml:"real_auction_sku_id,omitempty"` // 子采购单id SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 分销商应付金额,单位:分 DistributorPrice int64 `json:"distributor_price,omitempty" xml:"distributor_price,omitempty"` // sku商家编码 AuctionSellerSkuId int64 `json:"auction_seller_sku_id,omitempty" xml:"auction_seller_sku_id,omitempty"` // 分销商实付金额,单位:分 DistributorPayPrice int64 `json:"distributor_pay_price,omitempty" xml:"distributor_pay_price,omitempty"` // 子采购单退款状态-数字形式,枚举:9-没有申请退款;20-退款中;21-退款结束,退款成功或者退款关闭都会走到这里 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 子采购单交易状态-数字表示,枚举:10-意向单审核中;20-订单付款前锁定;30-待分货;40-分货中;50-订单等待付款;55-已付款待确认付款操作;60-已付款;70-已提交交货;80-已发货;90-已提交确认收货,但收货未完成;100-交易关闭;110-交易成功 SubOrderStatus int64 `json:"sub_order_status,omitempty" xml:"sub_order_status,omitempty"` // 二级供应商id SecondarySupplierId int64 `json:"secondary_supplier_id,omitempty" xml:"secondary_supplier_id,omitempty"` // tp单创单时间的货品采购单价 TpCreateTimePrice *BigDecimal `json:"tp_create_time_price,omitempty" xml:"tp_create_time_price,omitempty"` }
SubOrderDetail 结构体
type SubOrderList ¶ added in v1.2.5
type SubOrderList struct { // 建议废弃 Feature对象列表目前已有的属性: attr_key为 www,attr_value为1 表示是www子订单; attr_key为 wwwStoreCode,attr_value是www子订单发货的仓库编码; attr_key为 isWt,attr_value为1 表示是网厅子订单; attr_key为wtInfo,attr_value为网厅相关合约信息; attr_key为shipper,attr_value为cn表示菜鸟发货; attr_key为 storeCode,attr_value为仓库信息; attr_key为 erpHold,attr_value为1表示强管控中, attr_value为2表示分单完成; Features []FeatureDo `json:"features,omitempty" xml:"features>feature_do,omitempty"` // 买家实付金额,单位:元 BuyerPayPrice string `json:"buyer_pay_price,omitempty" xml:"buyer_pay_price,omitempty"` // 优惠活动折扣金额,单位:元 DiscountFeeYuan string `json:"discount_fee_yuan,omitempty" xml:"discount_fee_yuan,omitempty"` // 商品sku属性值 SkuPropertyVal string `json:"sku_property_val,omitempty" xml:"sku_property_val,omitempty"` // 分销商实付金额,单位:元 DistributorPayPriceYuan string `json:"distributor_pay_price_yuan,omitempty" xml:"distributor_pay_price_yuan,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 退款金额,单位:元。(精确到2位小数;单位:元。如:12.23,表示:12元2角3分) RefundFeeYuan string `json:"refund_fee_yuan,omitempty" xml:"refund_fee_yuan,omitempty"` // 已执行确认收货的金额,单位:元 ConfirmPaidFeeYuan string `json:"confirm_paid_fee_yuan,omitempty" xml:"confirm_paid_fee_yuan,omitempty"` // 买家实付金额,单位:元 BuyerPayPriceYuan string `json:"buyer_pay_price_yuan,omitempty" xml:"buyer_pay_price_yuan,omitempty"` // 优惠活动类型 0-无优惠 1-限时折 PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 创单时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 商品优惠类型:聚划算、秒杀或其他 TcPreferentialType string `json:"tc_preferential_type,omitempty" xml:"tc_preferential_type,omitempty"` // 发票应开金额,单位:元。子单的消费者实付分摊金额。根据买家实际付款去除邮费后,按各个子单(商品)金额比例进行分摊后的金额,仅供开发票时做票面金额参考。 BillFeeYuan string `json:"bill_fee_yuan,omitempty" xml:"bill_fee_yuan,omitempty"` // 分销商店铺中宝贝一口价,消费者看见的宝贝价格。单位:元。 代销场景下存在,此价格不是实付款的价格。 AuctionPrice string `json:"auction_price,omitempty" xml:"auction_price,omitempty"` // 产品的采购价格。(精确到2位小数;单位:元。如:200.07,表示:200元7分) PriceYuan string `json:"price_yuan,omitempty" xml:"price_yuan,omitempty"` // 消费者的交易订单状态(代销采购单对应下游200订单状态)。 可选值: WAIT_SELLER_SEND_GOODS(已付款,待发货) WAIT_BUYER_CONFIRM_GOODS(已付款,已发货) TRADE_CLOSED(已退款成功) TRADE_REFUNDING(退款中) TRADE_FINISHED(交易成功) TRADE_CLOSED_BY_TAOBAO(交易关闭) Order200Status string `json:"order_200_status,omitempty" xml:"order_200_status,omitempty"` // 分销商应付金额,单位:元 DistributorPriceYuan string `json:"distributor_price_yuan,omitempty" xml:"distributor_price_yuan,omitempty"` // 子采购单交易状态,枚举:AUDITING-意向单审核中;LOCKED-订单付款前锁定;WAIT_FOR_ALLOCATE_GOODS-待分货;ALLOCATING-分货中;WAIT_FOR_PAY-等待付款;PAID_WAIT_FOR_CONFIRM-已付款待确认付款操作;PAID-已确认付款,可直接发货;DELIVERED-已提交交货;CONSIGNED-已发货;RECEIVING-已提交确认收货,但收货未完成;ORDER_CLOSE-交易关闭;ORDER_SUCCESS-交易成功 SubOrderStatusCode string `json:"sub_order_status_code,omitempty" xml:"sub_order_status_code,omitempty"` // 子采购单退款状态,枚举:RF_STATUS_NO_REFUND-没有申请退款;RF_STATUS_REFUNDING-退款中;RF_STATUS_END_REFUND-退款结束,退款成功或者退款关闭都会走到这里 RefundStatusCode string `json:"refund_status_code,omitempty" xml:"refund_status_code,omitempty"` // 子采购单商品商家编码,供应商发布产品时定义的产品编码 AuctionOutId string `json:"auction_out_id,omitempty" xml:"auction_out_id,omitempty"` // SKU商家编码,供应商发布产品SKU是定义的编码 AuctionOutSkuId string `json:"auction_out_sku_id,omitempty" xml:"auction_out_sku_id,omitempty"` // 退款金额,单位:分 RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 购买数量 BuyNum int64 `json:"buy_num,omitempty" xml:"buy_num,omitempty"` // 优惠活动折扣金额,单位:分 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 子订单的前台订单号 SubTcOrderId int64 `json:"sub_tc_order_id,omitempty" xml:"sub_tc_order_id,omitempty"` // 确认收货金额,单位:分 ConfirmPaidFee int64 `json:"confirm_paid_fee,omitempty" xml:"confirm_paid_fee,omitempty"` // 发票应开金额。 子单的消费者实付分摊金额。根据买家实际付款去除邮费后,按各个子单(商品)金额比例进行分摊后的金额,仅供开发票时做票面金额参考。 BillFee int64 `json:"bill_fee,omitempty" xml:"bill_fee,omitempty"` // 消费者购买宝贝ID,不存在时为0。 2015年4月15日之前创建的采购单该字段都是0。 RealAuctionId int64 `json:"real_auction_id,omitempty" xml:"real_auction_id,omitempty"` // 消费者购买宝贝SKU ID,不存在时为0。 2015年3月15日之前创建的采购单该字段都是0。 RealAuctionSkuId int64 `json:"real_auction_sku_id,omitempty" xml:"real_auction_sku_id,omitempty"` // 采购单子单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 单个商品价格,单位:分 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 优惠金额,始终为正数,单位是分,不带小数 TcDiscountFee int64 `json:"tc_discount_fee,omitempty" xml:"tc_discount_fee,omitempty"` // 分销商应付金额,单位:分 DistributorPrice int64 `json:"distributor_price,omitempty" xml:"distributor_price,omitempty"` // 后端商品id ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 分销采购单号(分销流水号) FenxiaoId int64 `json:"fenxiao_id,omitempty" xml:"fenxiao_id,omitempty"` // 商品的卖出金额调整,金额增加时为正数,金额减少时为负数,单位是分,不带小数 TcAdjustFee int64 `json:"tc_adjust_fee,omitempty" xml:"tc_adjust_fee,omitempty"` // 消费者购买宝贝ID,不存在时为0。 2015年4月15日之前创建的采购单该字段都是0。 AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"` // 消费者购买宝贝SKU ID,不存在时为0。 2015年3月15日之前创建的采购单该字段都是0 AuctionSkuId int64 `json:"auction_sku_id,omitempty" xml:"auction_sku_id,omitempty"` // 分销商实付金额,单位:分 DistributorPayPrice int64 `json:"distributor_pay_price,omitempty" xml:"distributor_pay_price,omitempty"` // 子采购单交易状态-数字表示,枚举:10-意向单审核中;20-订单付款前锁定;30-待分货;40-分货中;50-订单等待付款;55-已付款待确认付款操作;60-已付款;70-已提交交货;80-已发货;90-已提交确认收货,但收货未完成;100-交易关闭;110-交易成功 SubOrderStatus int64 `json:"sub_order_status,omitempty" xml:"sub_order_status,omitempty"` // 子采购单退款状态-数字形式,枚举:9-没有申请退款;20-退款中;21-退款结束,退款成功或者退款关闭都会走到这里 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 二级供应商id SecondarySupplierId int64 `json:"secondary_supplier_id,omitempty" xml:"secondary_supplier_id,omitempty"` // tp单创单时间点的货品采购价 TpCreateTimePrice *BigDecimal `json:"tp_create_time_price,omitempty" xml:"tp_create_time_price,omitempty"` }
SubOrderList 结构体
type TaobaoFenxiaoCooperationGetAPIRequest ¶
type TaobaoFenxiaoCooperationGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoCooperationGetAPIRequest 供应商或分销商获取合作关系信息 API请求 taobao.fenxiao.cooperation.get
获取供应商的合作关系信息
func NewTaobaoFenxiaoCooperationGetRequest ¶
func NewTaobaoFenxiaoCooperationGetRequest() *TaobaoFenxiaoCooperationGetAPIRequest
NewTaobaoFenxiaoCooperationGetRequest 初始化TaobaoFenxiaoCooperationGetAPIRequest对象
func (TaobaoFenxiaoCooperationGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoCooperationGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoCooperationGetAPIRequest) GetChannelCode ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetChannelCode() string
GetChannelCode ChannelCode Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetEndDate ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetRoleType ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetRoleType() int64
GetRoleType RoleType Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetStartDate ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetStatus ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoFenxiaoCooperationGetAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoCooperationGetAPIRequest) GetTradeType() string
GetTradeType TradeType Getter
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetChannelCode ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetChannelCode(_channelCode string) error
SetChannelCode is ChannelCode Setter 渠道code
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetEndDate ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 合作结束时间yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数,默认1)
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页记录数(默认20,最大50)
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetRoleType ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetRoleType(_roleType int64) error
SetRoleType is RoleType Setter 1是供应商,2 是分销商
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetStartDate ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 合作开始时间yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetStatus ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 合作状态: NORMAL(合作中)、 ENDING(终止中) 、END (终止)
func (*TaobaoFenxiaoCooperationGetAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoCooperationGetAPIRequest) SetTradeType(_tradeType string) error
SetTradeType is TradeType Setter 分销方式:AGENT(代销) 、DEALER(经销)
type TaobaoFenxiaoCooperationGetAPIResponse ¶
type TaobaoFenxiaoCooperationGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoCooperationGetAPIResponseModel }
TaobaoFenxiaoCooperationGetAPIResponse 供应商或分销商获取合作关系信息 API返回值 taobao.fenxiao.cooperation.get
获取供应商的合作关系信息
type TaobaoFenxiaoCooperationGetAPIResponseModel ¶
type TaobaoFenxiaoCooperationGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_cooperation_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 合作分销关系 Cooperations []Cooperation `json:"cooperations,omitempty" xml:"cooperations>cooperation,omitempty"` // 结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoCooperationGetAPIResponseModel is 供应商或分销商获取合作关系信息 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest 供应商/分销商通过采购申请/经销采购单申请 API请求 taobao.fenxiao.dealer.requisitionorder.agree
供应商或分销商通过采购申请/经销采购单审核
func NewTaobaoFenxiaoDealerRequisitionorderAgreeRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderAgreeRequest() *TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderAgreeRequest 初始化TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetDealerOrderId ¶
func (r TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) GetDealerOrderId() int64
GetDealerOrderId DealerOrderId Getter
func (*TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) SetDealerOrderId ¶
func (r *TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
SetDealerOrderId is DealerOrderId Setter 采购申请/经销采购单编号
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponse 供应商/分销商通过采购申请/经销采购单申请 API返回值 taobao.fenxiao.dealer.requisitionorder.agree
供应商或分销商通过采购申请/经销采购单审核
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_agree_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功。true:成功;false:失败。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponseModel is 供应商/分销商通过采购申请/经销采购单申请 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest 供应商/分销商关闭采购申请/经销采购单 API请求 taobao.fenxiao.dealer.requisitionorder.close
供应商或分销商关闭采购申请/经销采购单
func NewTaobaoFenxiaoDealerRequisitionorderCloseRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderCloseRequest() *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderCloseRequest 初始化TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetDealerOrderId ¶
func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetDealerOrderId() int64
GetDealerOrderId DealerOrderId Getter
func (TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReason ¶
func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReason() int64
GetReason Reason Getter
func (TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReasonDetail ¶
func (r TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) GetReasonDetail() string
GetReasonDetail ReasonDetail Getter
func (*TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetDealerOrderId ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
SetDealerOrderId is DealerOrderId Setter 经销采购单编号
func (*TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReason ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReason(_reason int64) error
SetReason is Reason Setter 关闭原因:<br/>1:长时间无法联系到分销商,取消交易。<br/>2:分销商错误提交申请,取消交易。<br/>3:缺货,近段时间都无法发货。<br/>4:分销商恶意提交申请单。<br/>5:其他原因。
func (*TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReasonDetail ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest) SetReasonDetail(_reasonDetail string) error
SetReasonDetail is ReasonDetail Setter 关闭详细原因,字数5-200字
type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderCloseAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderCloseAPIResponse 供应商/分销商关闭采购申请/经销采购单 API返回值 taobao.fenxiao.dealer.requisitionorder.close
供应商或分销商关闭采购申请/经销采购单
type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderCloseAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功。true:成功;false:失败。 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderCloseAPIResponseModel is 供应商/分销商关闭采购申请/经销采购单 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest 创建经销采购申请 API请求 taobao.fenxiao.dealer.requisitionorder.create
创建经销采购申请
func NewTaobaoFenxiaoDealerRequisitionorderCreateRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderCreateRequest() *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderCreateRequest 初始化TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetAddress ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetBuyerName ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetBuyerName() string
GetBuyerName BuyerName Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetCity ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetDistrict ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetDistrict() string
GetDistrict District Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetIdCardNumber ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetIdCardNumber() string
GetIdCardNumber IdCardNumber Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetLogisticsType ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetLogisticsType() string
GetLogisticsType LogisticsType Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetMobile ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetMobile() string
GetMobile Mobile Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetOrderDetail ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetOrderDetail() []string
GetOrderDetail OrderDetail Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPhone ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPhone() string
GetPhone Phone Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPostCode ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetPostCode() string
GetPostCode PostCode Getter
func (TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetProvince ¶
func (r TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) GetProvince() string
GetProvince Province Getter
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetAddress ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 收货人所在街道地址
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetBuyerName ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetBuyerName(_buyerName string) error
SetBuyerName is BuyerName Setter 买家姓名(自提方式填写提货人姓名)
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetCity ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetCity(_city string) error
SetCity is City Setter 收货人所在市
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetDistrict ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetDistrict(_district string) error
SetDistrict is District Setter 收货人所在区
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetIdCardNumber ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetIdCardNumber(_idCardNumber string) error
SetIdCardNumber is IdCardNumber Setter 身份证号(自提方式必填,填写提货人身份证号码,提货时用于确认提货人身份)
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetLogisticsType ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetLogisticsType(_logisticsType string) error
SetLogisticsType is LogisticsType Setter 配送方式。SELF_PICKUP:自提;LOGISTICS:仓库发货
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetMobile ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetMobile(_mobile string) error
SetMobile is Mobile Setter 买家的手机号码(1、此字段与phone字段至少填写一个。2、自提方式下此字段必填,保存提货人联系电话)
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetOrderDetail ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetOrderDetail(_orderDetail []string) error
SetOrderDetail is OrderDetail Setter 采购清单,存放多个采购明细,每个采购明细内部以‘:’隔开,多个采购明细之间以‘,’隔开. 例(分销产品id:skuid:购买数量:申请单价,分销产品id:skuid:购买数量:申请单价),申请单价的单位为分。不存在sku请留空skuid,如(分销产品id::购买数量:申请单价)
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPhone ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPhone(_phone string) error
SetPhone is Phone Setter 买家联系电话(此字段和mobile字段至少填写一个)
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPostCode ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetPostCode(_postCode string) error
SetPostCode is PostCode Setter 收货人所在地区邮政编码
func (*TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetProvince ¶
func (r *TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest) SetProvince(_province string) error
SetProvince is Province Setter 收货人所在省份
type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderCreateAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderCreateAPIResponse 创建经销采购申请 API返回值 taobao.fenxiao.dealer.requisitionorder.create
创建经销采购申请
type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderCreateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 经销采购申请编号 DealerOrderId int64 `json:"dealer_order_id,omitempty" xml:"dealer_order_id,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderCreateAPIResponseModel is 创建经销采购申请 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderGetAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderGetAPIRequest 批量查询采购申请/经销采购单 API请求 taobao.fenxiao.dealer.requisitionorder.get
批量查询采购申请/经销采购单,目前支持供应商和分销商查询
func NewTaobaoFenxiaoDealerRequisitionorderGetRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderGetRequest() *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderGetRequest 初始化TaobaoFenxiaoDealerRequisitionorderGetAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetEndDate ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetFields ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetIdentity ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetIdentity() int64
GetIdentity Identity Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetOrderStatus ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetOrderStatus() int64
GetOrderStatus OrderStatus Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetStartDate ¶
func (r TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetEndDate ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 采购申请/经销采购单最迟修改时间。与start_date字段的最大时间间隔不能超过30天
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 多个字段用","分隔。 fields 如果为空:返回所有采购申请/经销采购单对象(dealer_orders)字段。 如果不为空:返回指定采购单对象(dealer_orders)字段。 例1: dealer_order_details.product_id 表示只返回product_id 例2: dealer_order_details 表示只返回明细列表
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetIdentity ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetIdentity(_identity int64) error
SetIdentity is Identity Setter 查询者自己在所要查询的采购申请/经销采购单中的身份。<br/>1:供应商。<br/>2:分销商。<br/>注:填写其他值当做错误处理。
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetOrderStatus ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetOrderStatus(_orderStatus int64) error
SetOrderStatus is OrderStatus Setter 采购申请/经销采购单状态。<br/>0:全部状态。<br/>1:分销商提交申请,待供应商审核。<br/>2:供应商驳回申请,待分销商确认。<br/>3:供应商修改后,待分销商确认。<br/>4:分销商拒绝修改,待供应商再审核。<br/>5:审核通过下单成功,待分销商付款。<br/>7:付款成功,待供应商发货。<br/>8:供应商发货,待分销商收货。<br/>9:分销商收货,交易成功。<br/>10:采购申请/经销采购单关闭。<br/><br/>注:无值按默认值0计,超出状态范围返回错误信息。
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数。无值或小于1的值按默认值1计)
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数(大于0但小于等于50的整数。无值或大于50或小于1的值按默认值50计)
func (*TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetStartDate ¶
func (r *TaobaoFenxiaoDealerRequisitionorderGetAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 采购申请/经销采购单最早修改时间
type TaobaoFenxiaoDealerRequisitionorderGetAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderGetAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderGetAPIResponse 批量查询采购申请/经销采购单 API返回值 taobao.fenxiao.dealer.requisitionorder.get
批量查询采购申请/经销采购单,目前支持供应商和分销商查询
type TaobaoFenxiaoDealerRequisitionorderGetAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 采购申请/经销采购单结果列表 DealerOrders []DealerOrder `json:"dealer_orders,omitempty" xml:"dealer_orders>dealer_order,omitempty"` // 按查询条件查到的记录总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderGetAPIResponseModel is 批量查询采购申请/经销采购单 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest 按编号查询采购申请/经销采购单 API请求 taobao.fenxiao.dealer.requisitionorder.query
按编号查询采购申请/经销采购单,目前支持供应商和分销商查询。
func NewTaobaoFenxiaoDealerRequisitionorderQueryRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderQueryRequest() *TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderQueryRequest 初始化TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetDealerOrderIds ¶
func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetDealerOrderIds() []int64
GetDealerOrderIds DealerOrderIds Getter
func (TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetFields ¶
func (r TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) GetFields() string
GetFields Fields Getter
func (*TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetDealerOrderIds ¶
func (r *TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetDealerOrderIds(_dealerOrderIds []int64) error
SetDealerOrderIds is DealerOrderIds Setter 经销采购单编号。<br/>多个编号用英文符号的逗号隔开。最多支持50个经销采购单编号的查询。
func (*TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 多个字段用","分隔。 fields 如果为空:返回所有经销采购单对象(dealer_orders)字段。 如果不为空:返回指定采购单对象(dealer_orders)字段。 例1: dealer_order_details.product_id 表示只返回product_id 例2: dealer_order_details 表示只返回明细列表
type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderQueryAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderQueryAPIResponse 按编号查询采购申请/经销采购单 API返回值 taobao.fenxiao.dealer.requisitionorder.query
按编号查询采购申请/经销采购单,目前支持供应商和分销商查询。
type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderQueryAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 经销采购单结果列表 DealerOrders []DealerOrder `json:"dealer_orders,omitempty" xml:"dealer_orders>dealer_order,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderQueryAPIResponseModel is 按编号查询采购申请/经销采购单 成功返回结果
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest ¶
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest 修改经销采购单备注 API请求 taobao.fenxiao.dealer.requisitionorder.remark.update
供应商修改经销采购单备注
func NewTaobaoFenxiaoDealerRequisitionorderRemarkUpdateRequest ¶
func NewTaobaoFenxiaoDealerRequisitionorderRemarkUpdateRequest() *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest
NewTaobaoFenxiaoDealerRequisitionorderRemarkUpdateRequest 初始化TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest对象
func (TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetDealerOrderId ¶
func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetDealerOrderId() int64
GetDealerOrderId DealerOrderId Getter
func (TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemo ¶
func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemo() string
GetSupplierMemo SupplierMemo Getter
func (TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemoFlag ¶
func (r TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) GetSupplierMemoFlag() int64
GetSupplierMemoFlag SupplierMemoFlag Getter
func (*TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetDealerOrderId ¶
func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetDealerOrderId(_dealerOrderId int64) error
SetDealerOrderId is DealerOrderId Setter 经销采购单ID
func (*TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemo ¶
func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemo(_supplierMemo string) error
SetSupplierMemo is SupplierMemo Setter 备注留言,可为空
func (*TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemoFlag ¶
func (r *TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest) SetSupplierMemoFlag(_supplierMemoFlag int64) error
SetSupplierMemoFlag is SupplierMemoFlag Setter 旗子的标记,必选。<br/>1-5之间的数字。<br/>非1-5之间,都采用1作为默认。<br/>1:红色<br/>2:黄色<br/>3:绿色<br/>4:蓝色<br/>5:粉红色
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponse ¶
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponseModel }
TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponse 修改经销采购单备注 API返回值 taobao.fenxiao.dealer.requisitionorder.remark.update
供应商修改经销采购单备注
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponseModel ¶
type TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_dealer_requisitionorder_remark_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponseModel is 修改经销采购单备注 成功返回结果
type TaobaoFenxiaoDiscountsGetAPIRequest ¶
type TaobaoFenxiaoDiscountsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDiscountsGetAPIRequest 获取折扣信息 API请求 taobao.fenxiao.discounts.get
查询折扣信息
func NewTaobaoFenxiaoDiscountsGetRequest ¶
func NewTaobaoFenxiaoDiscountsGetRequest() *TaobaoFenxiaoDiscountsGetAPIRequest
NewTaobaoFenxiaoDiscountsGetRequest 初始化TaobaoFenxiaoDiscountsGetAPIRequest对象
func (TaobaoFenxiaoDiscountsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDiscountsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDiscountsGetAPIRequest) GetDiscountId ¶
func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetDiscountId() int64
GetDiscountId DiscountId Getter
func (TaobaoFenxiaoDiscountsGetAPIRequest) GetExtFields ¶
func (r TaobaoFenxiaoDiscountsGetAPIRequest) GetExtFields() string
GetExtFields ExtFields Getter
func (*TaobaoFenxiaoDiscountsGetAPIRequest) SetDiscountId ¶
func (r *TaobaoFenxiaoDiscountsGetAPIRequest) SetDiscountId(_discountId int64) error
SetDiscountId is DiscountId Setter 折扣ID
func (*TaobaoFenxiaoDiscountsGetAPIRequest) SetExtFields ¶
func (r *TaobaoFenxiaoDiscountsGetAPIRequest) SetExtFields(_extFields string) error
SetExtFields is ExtFields Setter 指定查询额外的信息,可选值:DETAIL(查询折扣详情),多个可选值用逗号分割。(只允许指定折扣ID情况下使用)
type TaobaoFenxiaoDiscountsGetAPIResponse ¶
type TaobaoFenxiaoDiscountsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoDiscountsGetAPIResponseModel }
TaobaoFenxiaoDiscountsGetAPIResponse 获取折扣信息 API返回值 taobao.fenxiao.discounts.get
查询折扣信息
type TaobaoFenxiaoDiscountsGetAPIResponseModel ¶
type TaobaoFenxiaoDiscountsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_discounts_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 折扣数据结构 Discounts []Discount `json:"discounts,omitempty" xml:"discounts>discount,omitempty"` // 记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoDiscountsGetAPIResponseModel is 获取折扣信息 成功返回结果
type TaobaoFenxiaoDistributorItemsGetAPIRequest ¶
type TaobaoFenxiaoDistributorItemsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDistributorItemsGetAPIRequest 查询商品下载记录 API请求 taobao.fenxiao.distributor.items.get
供应商查询分销商商品下载记录。
func NewTaobaoFenxiaoDistributorItemsGetRequest ¶
func NewTaobaoFenxiaoDistributorItemsGetRequest() *TaobaoFenxiaoDistributorItemsGetAPIRequest
NewTaobaoFenxiaoDistributorItemsGetRequest 初始化TaobaoFenxiaoDistributorItemsGetAPIRequest对象
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetDistributorId ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetDistributorId() int64
GetDistributorId DistributorId Getter
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetEndModified ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoDistributorItemsGetAPIRequest) GetStartModified ¶
func (r TaobaoFenxiaoDistributorItemsGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetDistributorId ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetDistributorId(_distributorId int64) error
SetDistributorId is DistributorId Setter 分销商ID 。
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetEndModified ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 设置结束时间,空为不设置。
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数,默认1)
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页记录数(默认20,最大50)
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoDistributorItemsGetAPIRequest) SetStartModified ¶
func (r *TaobaoFenxiaoDistributorItemsGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 设置开始时间。空为不设置。
type TaobaoFenxiaoDistributorItemsGetAPIResponse ¶
type TaobaoFenxiaoDistributorItemsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoDistributorItemsGetAPIResponseModel }
TaobaoFenxiaoDistributorItemsGetAPIResponse 查询商品下载记录 API返回值 taobao.fenxiao.distributor.items.get
供应商查询分销商商品下载记录。
type TaobaoFenxiaoDistributorItemsGetAPIResponseModel ¶
type TaobaoFenxiaoDistributorItemsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_distributor_items_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 下载记录对象 Records []FenxiaoItemRecord `json:"records,omitempty" xml:"records>fenxiao_item_record,omitempty"` // 查询结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoDistributorItemsGetAPIResponseModel is 查询商品下载记录 成功返回结果
type TaobaoFenxiaoDistributorProductsGetAPIRequest ¶
type TaobaoFenxiaoDistributorProductsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDistributorProductsGetAPIRequest 分销商查询产品信息 API请求 taobao.fenxiao.distributor.products.get
分销商查询供应商产品信息
func NewTaobaoFenxiaoDistributorProductsGetRequest ¶
func NewTaobaoFenxiaoDistributorProductsGetRequest() *TaobaoFenxiaoDistributorProductsGetAPIRequest
NewTaobaoFenxiaoDistributorProductsGetRequest 初始化TaobaoFenxiaoDistributorProductsGetAPIRequest对象
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetDownloadStatus ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetDownloadStatus() string
GetDownloadStatus DownloadStatus Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetEndTime ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetFields ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetItemIds ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetItemIds() []int64
GetItemIds ItemIds Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetOrderBy ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetOrderBy() string
GetOrderBy OrderBy Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPids ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetPids() []int64
GetPids Pids Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetProductcatId ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetProductcatId() int64
GetProductcatId ProductcatId Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetStartTime ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetSupplierNick ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetSupplierNick() string
GetSupplierNick SupplierNick Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTimeType ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTimeType() string
GetTimeType TimeType Getter
func (TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoDistributorProductsGetAPIRequest) GetTradeType() string
GetTradeType TradeType Getter
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetDownloadStatus ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetDownloadStatus(_downloadStatus string) error
SetDownloadStatus is DownloadStatus Setter 下载状态,默认是未下载;可选值:UNDOWNLOAD:未下载 ;DOWNLOADED:已下载;下载:指将供应商授权的产品发布为店铺新宝贝的过程,下载成功后,分销商需要将新生成的宝贝重新编辑并上架后售卖。
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetEndTime ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 结束时间
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 指定查询额外的信息,可选值:skus(sku数据)、images(多图),多个可选值用逗号分割。
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetItemIds ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetItemIds(_itemIds []int64) error
SetItemIds is ItemIds Setter 根据商品ID列表查询,优先级次于产品ID列表,高于其他分页查询条件。如果商品不是分销商品,自动过滤。最大限制20,用逗号分割,例如:“1001,1002,1003,1004,1005”
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetOrderBy(_orderBy string) error
SetOrderBy is OrderBy Setter order_by
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数,默认1)
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页记录数(默认20,最大50)
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPids ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetPids(_pids []int64) error
SetPids is Pids Setter 产品ID列表(最大限制30),用逗号分割,例如:“1001,1002,1003,1004,1005”
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetProductcatId ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetProductcatId(_productcatId int64) error
SetProductcatId is ProductcatId Setter 产品线ID
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetStartTime ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 开始修改时间
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetSupplierNick ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetSupplierNick(_supplierNick string) error
SetSupplierNick is SupplierNick Setter 供应商nick,分页查询时,必传
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTimeType ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTimeType(_timeType string) error
SetTimeType is TimeType Setter time_type
func (*TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoDistributorProductsGetAPIRequest) SetTradeType(_tradeType string) error
SetTradeType is TradeType Setter 分销方式;可选择:AGENT : 代销;DEALER:经销;DIRECT:直营
type TaobaoFenxiaoDistributorProductsGetAPIResponse ¶
type TaobaoFenxiaoDistributorProductsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoDistributorProductsGetAPIResponseModel }
TaobaoFenxiaoDistributorProductsGetAPIResponse 分销商查询产品信息 API返回值 taobao.fenxiao.distributor.products.get
分销商查询供应商产品信息
type TaobaoFenxiaoDistributorProductsGetAPIResponseModel ¶
type TaobaoFenxiaoDistributorProductsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_distributor_products_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品对象记录集。返回 FenxiaoProduct 包含的字段信息。 Products []FenxiaoProduct `json:"products,omitempty" xml:"products>fenxiao_product,omitempty"` // 是否存在下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaoFenxiaoDistributorProductsGetAPIResponseModel is 分销商查询产品信息 成功返回结果
type TaobaoFenxiaoDistributorsGetAPIRequest ¶
type TaobaoFenxiaoDistributorsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoDistributorsGetAPIRequest 获取分销商信息 API请求 taobao.fenxiao.distributors.get
查询和当前登录供应商有合作关系的分销商的信息
func NewTaobaoFenxiaoDistributorsGetRequest ¶
func NewTaobaoFenxiaoDistributorsGetRequest() *TaobaoFenxiaoDistributorsGetAPIRequest
NewTaobaoFenxiaoDistributorsGetRequest 初始化TaobaoFenxiaoDistributorsGetAPIRequest对象
func (TaobaoFenxiaoDistributorsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoDistributorsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoDistributorsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoDistributorsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoDistributorsGetAPIRequest) GetNicks ¶
func (r TaobaoFenxiaoDistributorsGetAPIRequest) GetNicks() string
GetNicks Nicks Getter
func (*TaobaoFenxiaoDistributorsGetAPIRequest) SetNicks ¶
func (r *TaobaoFenxiaoDistributorsGetAPIRequest) SetNicks(_nicks string) error
SetNicks is Nicks Setter 分销商用户名列表。多个之间以“,”分隔;最多支持50个分销商用户名。
type TaobaoFenxiaoDistributorsGetAPIResponse ¶
type TaobaoFenxiaoDistributorsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoDistributorsGetAPIResponseModel }
TaobaoFenxiaoDistributorsGetAPIResponse 获取分销商信息 API返回值 taobao.fenxiao.distributors.get
查询和当前登录供应商有合作关系的分销商的信息
type TaobaoFenxiaoDistributorsGetAPIResponseModel ¶
type TaobaoFenxiaoDistributorsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_distributors_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 分销商详细信息 Distributors []Distributor `json:"distributors,omitempty" xml:"distributors>distributor,omitempty"` }
TaobaoFenxiaoDistributorsGetAPIResponseModel is 获取分销商信息 成功返回结果
type TaobaoFenxiaoGradesGetAPIRequest ¶
TaobaoFenxiaoGradesGetAPIRequest 分销商等级查询 API请求 taobao.fenxiao.grades.get
根据供应商ID,查询他的分销商等级信息
func NewTaobaoFenxiaoGradesGetRequest ¶
func NewTaobaoFenxiaoGradesGetRequest() *TaobaoFenxiaoGradesGetAPIRequest
NewTaobaoFenxiaoGradesGetRequest 初始化TaobaoFenxiaoGradesGetAPIRequest对象
func (TaobaoFenxiaoGradesGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoGradesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoGradesGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoGradesGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TaobaoFenxiaoGradesGetAPIResponse ¶
type TaobaoFenxiaoGradesGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoGradesGetAPIResponseModel }
TaobaoFenxiaoGradesGetAPIResponse 分销商等级查询 API返回值 taobao.fenxiao.grades.get
根据供应商ID,查询他的分销商等级信息
type TaobaoFenxiaoGradesGetAPIResponseModel ¶
type TaobaoFenxiaoGradesGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_grades_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 分销商等级信息 FenxiaoGrades []FenxiaoGrade `json:"fenxiao_grades,omitempty" xml:"fenxiao_grades>fenxiao_grade,omitempty"` }
TaobaoFenxiaoGradesGetAPIResponseModel is 分销商等级查询 成功返回结果
type TaobaoFenxiaoLoginUserGetAPIRequest ¶
TaobaoFenxiaoLoginUserGetAPIRequest 获取分销用户登录信息 API请求 taobao.fenxiao.login.user.get
获取用户登录信息
func NewTaobaoFenxiaoLoginUserGetRequest ¶
func NewTaobaoFenxiaoLoginUserGetRequest() *TaobaoFenxiaoLoginUserGetAPIRequest
NewTaobaoFenxiaoLoginUserGetRequest 初始化TaobaoFenxiaoLoginUserGetAPIRequest对象
func (TaobaoFenxiaoLoginUserGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoLoginUserGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoLoginUserGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoLoginUserGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
type TaobaoFenxiaoLoginUserGetAPIResponse ¶
type TaobaoFenxiaoLoginUserGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoLoginUserGetAPIResponseModel }
TaobaoFenxiaoLoginUserGetAPIResponse 获取分销用户登录信息 API返回值 taobao.fenxiao.login.user.get
获取用户登录信息
type TaobaoFenxiaoLoginUserGetAPIResponseModel ¶
type TaobaoFenxiaoLoginUserGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_login_user_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 登录用户信息 LoginUser *LoginUser `json:"login_user,omitempty" xml:"login_user,omitempty"` }
TaobaoFenxiaoLoginUserGetAPIResponseModel is 获取分销用户登录信息 成功返回结果
type TaobaoFenxiaoOrderConfirmPaidAPIRequest ¶
type TaobaoFenxiaoOrderConfirmPaidAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoOrderConfirmPaidAPIRequest 确认收款 API请求 taobao.fenxiao.order.confirm.paid
供应商确认收款(非支付宝交易)。
func NewTaobaoFenxiaoOrderConfirmPaidRequest ¶
func NewTaobaoFenxiaoOrderConfirmPaidRequest() *TaobaoFenxiaoOrderConfirmPaidAPIRequest
NewTaobaoFenxiaoOrderConfirmPaidRequest 初始化TaobaoFenxiaoOrderConfirmPaidAPIRequest对象
func (TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetConfirmRemark ¶
func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetConfirmRemark() string
GetConfirmRemark ConfirmRemark Getter
func (TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetPurchaseOrderId ¶
func (r TaobaoFenxiaoOrderConfirmPaidAPIRequest) GetPurchaseOrderId() int64
GetPurchaseOrderId PurchaseOrderId Getter
func (*TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetConfirmRemark ¶
func (r *TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetConfirmRemark(_confirmRemark string) error
SetConfirmRemark is ConfirmRemark Setter 确认支付信息(字数小于100)
func (*TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetPurchaseOrderId ¶
func (r *TaobaoFenxiaoOrderConfirmPaidAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
SetPurchaseOrderId is PurchaseOrderId Setter 采购单编号。
type TaobaoFenxiaoOrderConfirmPaidAPIResponse ¶
type TaobaoFenxiaoOrderConfirmPaidAPIResponse struct { model.CommonResponse TaobaoFenxiaoOrderConfirmPaidAPIResponseModel }
TaobaoFenxiaoOrderConfirmPaidAPIResponse 确认收款 API返回值 taobao.fenxiao.order.confirm.paid
供应商确认收款(非支付宝交易)。
type TaobaoFenxiaoOrderConfirmPaidAPIResponseModel ¶
type TaobaoFenxiaoOrderConfirmPaidAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_order_confirm_paid_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 确认结果成功与否 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoOrderConfirmPaidAPIResponseModel is 确认收款 成功返回结果
type TaobaoFenxiaoOrderRemarkUpdateAPIRequest ¶
type TaobaoFenxiaoOrderRemarkUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoOrderRemarkUpdateAPIRequest 修改采购单备注 API请求 taobao.fenxiao.order.remark.update
供应商修改采购单备注
func NewTaobaoFenxiaoOrderRemarkUpdateRequest ¶
func NewTaobaoFenxiaoOrderRemarkUpdateRequest() *TaobaoFenxiaoOrderRemarkUpdateAPIRequest
NewTaobaoFenxiaoOrderRemarkUpdateRequest 初始化TaobaoFenxiaoOrderRemarkUpdateAPIRequest对象
func (TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetPurchaseOrderId ¶
func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetPurchaseOrderId() int64
GetPurchaseOrderId PurchaseOrderId Getter
func (TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemo ¶
func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemo() string
GetSupplierMemo SupplierMemo Getter
func (TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemoFlag ¶
func (r TaobaoFenxiaoOrderRemarkUpdateAPIRequest) GetSupplierMemoFlag() int64
GetSupplierMemoFlag SupplierMemoFlag Getter
func (*TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetPurchaseOrderId ¶
func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
SetPurchaseOrderId is PurchaseOrderId Setter 采购单编号
func (*TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemo ¶
func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemo(_supplierMemo string) error
SetSupplierMemo is SupplierMemo Setter 备注内容(供应商操作)
func (*TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemoFlag ¶
func (r *TaobaoFenxiaoOrderRemarkUpdateAPIRequest) SetSupplierMemoFlag(_supplierMemoFlag int64) error
SetSupplierMemoFlag is SupplierMemoFlag Setter 旗子的标记,1-5之间的数字。非1-5之间,都采用1作为默认。<br/>1:红色<br/>2:黄色<br/>3:绿色<br/>4:蓝色<br/>5:粉红色
type TaobaoFenxiaoOrderRemarkUpdateAPIResponse ¶
type TaobaoFenxiaoOrderRemarkUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoOrderRemarkUpdateAPIResponseModel }
TaobaoFenxiaoOrderRemarkUpdateAPIResponse 修改采购单备注 API返回值 taobao.fenxiao.order.remark.update
供应商修改采购单备注
type TaobaoFenxiaoOrderRemarkUpdateAPIResponseModel ¶
type TaobaoFenxiaoOrderRemarkUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_order_remark_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoOrderRemarkUpdateAPIResponseModel is 修改采购单备注 成功返回结果
type TaobaoFenxiaoOrdersGetAPIRequest ¶
type TaobaoFenxiaoOrdersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoOrdersGetAPIRequest 查询采购单信息 API请求 taobao.fenxiao.orders.get
查询代销采购单单据。
1. 支持商家按照供应商、分销商两种角色来查询数据。如果没有指定角色角色,系统会自动判断,此时如果商家存在供应商、分销商两种角色时,按照供应商角色查询。 2. 同时此接口还可以查询除供销经销外的其他经营模式的数据。如果需要查询供销经销单据请参考接口:taobao.fenxiao.dealer.requisitionorder.query
3. 发货请调用物流API中的发货接口taobao.logistics.offline.send 进行发货,需要注意的是这里是供应商发货,因此调发货接口时需要传人供应商账号对应的sessionkey,tid 需传入供销平台的采购单(即fenxiao_id 分销流水号))。
func NewTaobaoFenxiaoOrdersGetRequest ¶
func NewTaobaoFenxiaoOrdersGetRequest() *TaobaoFenxiaoOrdersGetAPIRequest
NewTaobaoFenxiaoOrdersGetRequest 初始化TaobaoFenxiaoOrdersGetAPIRequest对象
func (TaobaoFenxiaoOrdersGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoOrdersGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoOrdersGetAPIRequest) GetChannelCodes ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetChannelCodes() []int64
GetChannelCodes ChannelCodes Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetEndCreated ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetEndCreated() string
GetEndCreated EndCreated Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetFields ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetPurchaseOrderId ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetPurchaseOrderId() int64
GetPurchaseOrderId PurchaseOrderId Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetStartCreated ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetStartCreated() string
GetStartCreated StartCreated Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetStatus ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetTcOrderId ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTcOrderId() int64
GetTcOrderId TcOrderId Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetTimeType ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTimeType() string
GetTimeType TimeType Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetTradeTypes ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetTradeTypes() []int64
GetTradeTypes TradeTypes Getter
func (TaobaoFenxiaoOrdersGetAPIRequest) GetUserRoleType ¶
func (r TaobaoFenxiaoOrdersGetAPIRequest) GetUserRoleType() int64
GetUserRoleType UserRoleType Getter
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetChannelCodes ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetChannelCodes(_channelCodes []int64) error
SetChannelCodes is ChannelCodes Setter 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetEndCreated ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetEndCreated(_endCreated string) error
SetEndCreated is EndCreated Setter 结束时间,格式 yyyy-MM-dd HH:mm:ss 支持到秒的查询。若不传时分秒,默认为0时0分0秒。当指定了purchase_order_id或者tc_order_id时,此值可选,否则此参数必传。 结束时间和开始时间的时间间隔不能超过7天,精确到秒。
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 指定返回的字段(废弃该参数) 多个字段用","分隔。 fields 如果为空:返回所有采购单对象(purchase_orders)字段。 如果不为空:返回指定采购单对象(purchase_orders)字段。 例1: sub_purchase_orders.tc_order_id 表示只返回tc_order_id 例2: sub_purchase_orders表示只返回子采购单列表
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码。(大于0的整数。默认为1)
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。(每页条数不超过50条)
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetPurchaseOrderId ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
SetPurchaseOrderId is PurchaseOrderId Setter 采购单编号或分销流水号。 当指定此参数后,其他可选参数可以为空
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetStartCreated ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetStartCreated(_startCreated string) error
SetStartCreated is StartCreated Setter 起始时间,格式 yyyy-MM-dd HH:mm:ss 支持到秒的查询。若不传时分秒,默认为0时0分0秒。当指定了purchase_order_id或者tc_order_id时,此值可选,否则此参数必传。 结束时间和开始时间的时间间隔不能超过7天,精确到秒。
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetStatus ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 交易状态,不传默认查询所有采购单 根据用户角色选择自身状态可选值: * 供应商: WAIT_SELLER_SEND_GOODS(等待发货) WAIT_SELLER_CONFIRM_PAY(待确认收款) WAIT_BUYER_PAY(等待付款) WAIT_BUYER_CONFIRM_GOODS(已发货) TRADE_REFUNDING(退款中) TRADE_FINISHED(采购成功) TRADE_CLOSED(已关闭) * 分销商: WAIT_BUYER_PAY(等待付款) WAIT_BUYER_CONFIRM_GOODS(待收货确认) TRADE_FOR_PAY(已付款) TRADE_REFUNDING(退款中) TRADE_FINISHED(采购成功) TRADE_CLOSED(已关闭)
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetTcOrderId ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTcOrderId(_tcOrderId int64) error
SetTcOrderId is TcOrderId Setter 消费者交易单号(采购单下游买家订单id)。 当在代销、寄售交易中,此单号存在。
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetTimeType ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTimeType(_timeType string) error
SetTimeType is TimeType Setter 时间类型: trade_time_type(默认类型,按照采购单创建时间范围查询,推荐按照此时间类型查询) update_time_type(采购单按照更新时间范围查询)
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetTradeTypes ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetTradeTypes(_tradeTypes []int64) error
SetTradeTypes is TradeTypes Setter 查询的经营模式,当不指定时,默认查询代销订单 代销:1 经销:2 寄售(自营寄售):5 平台寄售:6
func (*TaobaoFenxiaoOrdersGetAPIRequest) SetUserRoleType ¶
func (r *TaobaoFenxiaoOrdersGetAPIRequest) SetUserRoleType(_userRoleType int64) error
SetUserRoleType is UserRoleType Setter 当前查询用户的角色 当不指定时,默认为供应商 供应商:2,分销商:1
type TaobaoFenxiaoOrdersGetAPIResponse ¶
type TaobaoFenxiaoOrdersGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoOrdersGetAPIResponseModel }
TaobaoFenxiaoOrdersGetAPIResponse 查询采购单信息 API返回值 taobao.fenxiao.orders.get
查询代销采购单单据。
1. 支持商家按照供应商、分销商两种角色来查询数据。如果没有指定角色角色,系统会自动判断,此时如果商家存在供应商、分销商两种角色时,按照供应商角色查询。 2. 同时此接口还可以查询除供销经销外的其他经营模式的数据。如果需要查询供销经销单据请参考接口:taobao.fenxiao.dealer.requisitionorder.query
3. 发货请调用物流API中的发货接口taobao.logistics.offline.send 进行发货,需要注意的是这里是供应商发货,因此调发货接口时需要传人供应商账号对应的sessionkey,tid 需传入供销平台的采购单(即fenxiao_id 分销流水号))。
type TaobaoFenxiaoOrdersGetAPIResponseModel ¶
type TaobaoFenxiaoOrdersGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_orders_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 采购单及子采购单信息。 返回 PurchaseOrder 包含的字段信息。 PurchaseOrders []TopDpOrderDo `json:"purchase_orders,omitempty" xml:"purchase_orders>top_dp_order_do,omitempty"` // 查询到的采购单记录总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoOrdersGetAPIResponseModel is 查询采购单信息 成功返回结果
type TaobaoFenxiaoProductAddAPIRequest ¶
type TaobaoFenxiaoProductAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductAddAPIRequest 添加产品 API请求 taobao.fenxiao.product.add
添加分销平台产品数据。业务逻辑与分销系统前台页面一致。<br/><br/> * 产品图片默认为空<br/> * 产品发布后默认为下架状态
func NewTaobaoFenxiaoProductAddRequest ¶
func NewTaobaoFenxiaoProductAddRequest() *TaobaoFenxiaoProductAddAPIRequest
NewTaobaoFenxiaoProductAddRequest 初始化TaobaoFenxiaoProductAddAPIRequest对象
func (TaobaoFenxiaoProductAddAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductAddAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductAddAPIRequest) GetCategoryId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetCity ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetCostPrice ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetCostPrice() string
GetCostPrice CostPrice Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetDealerCostPrice ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetDealerCostPrice() string
GetDealerCostPrice DealerCostPrice Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetDesc ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetDiscountId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetDiscountId() int64
GetDiscountId DiscountId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetHaveInvoice ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetHaveInvoice() string
GetHaveInvoice HaveInvoice Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetHaveQuarantee ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetHaveQuarantee() string
GetHaveQuarantee HaveQuarantee Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetImage ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetInputProperties ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetInputProperties() string
GetInputProperties InputProperties Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetIsAuthz ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetIsAuthz() string
GetIsAuthz IsAuthz Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetItemId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetName ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetOuterId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPicPath ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPostageEms ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageEms() string
GetPostageEms PostageEms Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPostageFast ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageFast() string
GetPostageFast PostageFast Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPostageId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageId() int64
GetPostageId PostageId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPostageOrdinary ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageOrdinary() string
GetPostageOrdinary PostageOrdinary Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPostageType ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPostageType() string
GetPostageType PostageType Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetProductcatId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetProductcatId() int64
GetProductcatId ProductcatId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetPropertyAlias ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetProv ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetProv() string
GetProv Prov Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetQuantity ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceHigh ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceHigh() string
GetRetailPriceHigh RetailPriceHigh Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceLow ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetRetailPriceLow() string
GetRetailPriceLow RetailPriceLow Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuCostPrices ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuCostPrices() string
GetSkuCostPrices SkuCostPrices Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuDealerCostPrices ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuDealerCostPrices() string
GetSkuDealerCostPrices SkuDealerCostPrices Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuOuterIds ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuOuterIds() string
GetSkuOuterIds SkuOuterIds Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuProperties ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuProperties() string
GetSkuProperties SkuProperties Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuQuantitys ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuQuantitys() string
GetSkuQuantitys SkuQuantitys Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSkuStandardPrices ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSkuStandardPrices() string
GetSkuStandardPrices SkuStandardPrices Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetSpuId ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetStandardPrice ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetStandardPrice() string
GetStandardPrice StandardPrice Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetStandardRetailPrice ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetStandardRetailPrice() string
GetStandardRetailPrice StandardRetailPrice Getter
func (TaobaoFenxiaoProductAddAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoProductAddAPIRequest) GetTradeType() string
GetTradeType TradeType Getter
func (*TaobaoFenxiaoProductAddAPIRequest) SetCategoryId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 所属类目id,参考Taobao.itemcats.get,不支持成人等类目,输入成人类目id保存提示类目属性错误。
func (*TaobaoFenxiaoProductAddAPIRequest) SetCity ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetCity(_city string) error
SetCity is City Setter 所在地:市,例:“杭州”
func (*TaobaoFenxiaoProductAddAPIRequest) SetCostPrice ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetCostPrice(_costPrice string) error
SetCostPrice is CostPrice Setter 代销采购价格,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetDealerCostPrice ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
SetDealerCostPrice is DealerCostPrice Setter 经销采购价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetDesc ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 产品描述,长度为5到25000字符。
func (*TaobaoFenxiaoProductAddAPIRequest) SetDiscountId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetDiscountId(_discountId int64) error
SetDiscountId is DiscountId Setter 折扣ID
func (*TaobaoFenxiaoProductAddAPIRequest) SetHaveInvoice ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetHaveInvoice(_haveInvoice string) error
SetHaveInvoice is HaveInvoice Setter 是否有发票,可选值:false(否)、true(是),默认false。
func (*TaobaoFenxiaoProductAddAPIRequest) SetHaveQuarantee ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetHaveQuarantee(_haveQuarantee string) error
SetHaveQuarantee is HaveQuarantee Setter 是否有保修,可选值:false(否)、true(是),默认false。
func (*TaobaoFenxiaoProductAddAPIRequest) SetImage ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 产品主图,大小不超过500k,格式为gif,jpg,jpeg,png,bmp等图片
func (*TaobaoFenxiaoProductAddAPIRequest) SetInputProperties ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetInputProperties(_inputProperties string) error
SetInputProperties is InputProperties Setter 自定义属性。格式为pid:value;pid:value
func (*TaobaoFenxiaoProductAddAPIRequest) SetIsAuthz ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetIsAuthz(_isAuthz string) error
SetIsAuthz is IsAuthz Setter 添加产品时,添加入参isAuthz:yes|no <br/>yes:需要授权 <br/>no:不需要授权 <br/>默认是需要授权
func (*TaobaoFenxiaoProductAddAPIRequest) SetItemId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 导入的商品ID
func (*TaobaoFenxiaoProductAddAPIRequest) SetName ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetName(_name string) error
SetName is Name Setter 产品名称,长度不超过60个字节。
func (*TaobaoFenxiaoProductAddAPIRequest) SetOuterId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码,长度不能超过60个字节。
func (*TaobaoFenxiaoProductAddAPIRequest) SetPicPath ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 产品主图图片空间相对路径或绝对路径
func (*TaobaoFenxiaoProductAddAPIRequest) SetPostageEms ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageEms(_postageEms string) error
SetPostageEms is PostageEms Setter ems费用,单位:元。例:“10.56”。 大小为0.00元到999999元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetPostageFast ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageFast(_postageFast string) error
SetPostageFast is PostageFast Setter 快递费用,单位:元。例:“10.56”。 大小为0.01元到999999元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetPostageId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageId(_postageId int64) error
SetPostageId is PostageId Setter 运费模板ID,参考taobao.postages.get。
func (*TaobaoFenxiaoProductAddAPIRequest) SetPostageOrdinary ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageOrdinary(_postageOrdinary string) error
SetPostageOrdinary is PostageOrdinary Setter 平邮费用,单位:元。例:“10.56”。 大小为0.01元到999999元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetPostageType ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPostageType(_postageType string) error
SetPostageType is PostageType Setter 运费类型,可选值:seller(供应商承担运费)、buyer(分销商承担运费),默认seller。
func (*TaobaoFenxiaoProductAddAPIRequest) SetProductcatId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetProductcatId(_productcatId int64) error
SetProductcatId is ProductcatId Setter 产品线ID
func (*TaobaoFenxiaoProductAddAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 产品属性,格式为pid:vid;pid:vid
func (*TaobaoFenxiaoProductAddAPIRequest) SetPropertyAlias ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 属性别名,格式为:pid:vid:alias;pid:vid:alias(alias为别名)
func (*TaobaoFenxiaoProductAddAPIRequest) SetProv ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetProv(_prov string) error
SetProv is Prov Setter 所在地:省,例:“浙江”
func (*TaobaoFenxiaoProductAddAPIRequest) SetQuantity ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 产品库存必须是1到999999。
func (*TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceHigh ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceHigh(_retailPriceHigh string) error
SetRetailPriceHigh is RetailPriceHigh Setter 最高零售价,单位:元。例:“10.56”。必须在0.01元到10000000元之间,最高零售价必须大于最低零售价。
func (*TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceLow ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetRetailPriceLow(_retailPriceLow string) error
SetRetailPriceLow is RetailPriceLow Setter 最低零售价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuCostPrices ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuCostPrices(_skuCostPrices string) error
SetSkuCostPrices is SkuCostPrices Setter sku的采购价。如果多个,用逗号分隔,并与其他sku信息保持相同顺序
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuDealerCostPrices ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuDealerCostPrices(_skuDealerCostPrices string) error
SetSkuDealerCostPrices is SkuDealerCostPrices Setter sku的经销采购价。如果多个,用逗号分隔,并与其他sku信息保持相同顺序。其中每个值的单位:元。例:“10.56,12.3”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuOuterIds ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
SetSkuOuterIds is SkuOuterIds Setter sku的商家编码。如果多个,用逗号分隔,并与其他sku信息保持相同顺序
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuProperties ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuProperties(_skuProperties string) error
SetSkuProperties is SkuProperties Setter sku的属性。如果多个,用逗号分隔,并与其他sku信息保持相同顺序
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuQuantitys ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuQuantitys(_skuQuantitys string) error
SetSkuQuantitys is SkuQuantitys Setter sku的库存。如果多个,用逗号分隔,并与其他sku信息保持相同顺序
func (*TaobaoFenxiaoProductAddAPIRequest) SetSkuStandardPrices ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSkuStandardPrices(_skuStandardPrices string) error
SetSkuStandardPrices is SkuStandardPrices Setter sku的采购基准价。如果多个,用逗号分隔,并与其他sku信息保持相同顺序
func (*TaobaoFenxiaoProductAddAPIRequest) SetSpuId ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 产品spuID,达尔文产品必须要传spuID,否则不能发布。其他非达尔文产品,看情况传
func (*TaobaoFenxiaoProductAddAPIRequest) SetStandardPrice ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetStandardPrice(_standardPrice string) error
SetStandardPrice is StandardPrice Setter 采购基准价格,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetStandardRetailPrice ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetStandardRetailPrice(_standardRetailPrice string) error
SetStandardRetailPrice is StandardRetailPrice Setter 零售基准价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductAddAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoProductAddAPIRequest) SetTradeType(_tradeType string) error
SetTradeType is TradeType Setter 分销方式:AGENT(只做代销,默认值)、DEALER(只做经销)、ALL(代销和经销都做)
type TaobaoFenxiaoProductAddAPIResponse ¶
type TaobaoFenxiaoProductAddAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductAddAPIResponseModel }
TaobaoFenxiaoProductAddAPIResponse 添加产品 API返回值 taobao.fenxiao.product.add
添加分销平台产品数据。业务逻辑与分销系统前台页面一致。<br/><br/> * 产品图片默认为空<br/> * 产品发布后默认为下架状态
type TaobaoFenxiaoProductAddAPIResponseModel ¶
type TaobaoFenxiaoProductAddAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品创建时间 时间格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 产品ID Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` }
TaobaoFenxiaoProductAddAPIResponseModel is 添加产品 成功返回结果
type TaobaoFenxiaoProductGradepriceGetAPIRequest ¶
type TaobaoFenxiaoProductGradepriceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductGradepriceGetAPIRequest 等级折扣查询 API请求 taobao.fenxiao.product.gradeprice.get
等级折扣查询
func NewTaobaoFenxiaoProductGradepriceGetRequest ¶
func NewTaobaoFenxiaoProductGradepriceGetRequest() *TaobaoFenxiaoProductGradepriceGetAPIRequest
NewTaobaoFenxiaoProductGradepriceGetRequest 初始化TaobaoFenxiaoProductGradepriceGetAPIRequest对象
func (TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductGradepriceGetAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductGradepriceGetAPIRequest) GetSkuId ¶
func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoFenxiaoProductGradepriceGetAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoProductGradepriceGetAPIRequest) GetTradeType() int64
GetTradeType TradeType Getter
func (*TaobaoFenxiaoProductGradepriceGetAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品id
func (*TaobaoFenxiaoProductGradepriceGetAPIRequest) SetSkuId ¶
func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter skuId
func (*TaobaoFenxiaoProductGradepriceGetAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoProductGradepriceGetAPIRequest) SetTradeType(_tradeType int64) error
SetTradeType is TradeType Setter 经、代销模式(1:代销、2:经销)
type TaobaoFenxiaoProductGradepriceGetAPIResponse ¶
type TaobaoFenxiaoProductGradepriceGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductGradepriceGetAPIResponseModel }
TaobaoFenxiaoProductGradepriceGetAPIResponse 等级折扣查询 API返回值 taobao.fenxiao.product.gradeprice.get
等级折扣查询
type TaobaoFenxiaoProductGradepriceGetAPIResponseModel ¶
type TaobaoFenxiaoProductGradepriceGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_gradeprice_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 等级折扣列表 GradeDiscounts []GradeDiscount `json:"grade_discounts,omitempty" xml:"grade_discounts>grade_discount,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductGradepriceGetAPIResponseModel is 等级折扣查询 成功返回结果
type TaobaoFenxiaoProductGradepriceUpdateAPIRequest ¶
type TaobaoFenxiaoProductGradepriceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductGradepriceUpdateAPIRequest 根据sku设置折扣价 API请求 taobao.fenxiao.product.gradeprice.update
供应商可以针对产品不同的sku,指定对应交易类型(代销or经销)方式下,设定折扣方式(按等级or指定分销商)以及对应优惠后的采购价格
func NewTaobaoFenxiaoProductGradepriceUpdateRequest ¶
func NewTaobaoFenxiaoProductGradepriceUpdateRequest() *TaobaoFenxiaoProductGradepriceUpdateAPIRequest
NewTaobaoFenxiaoProductGradepriceUpdateRequest 初始化TaobaoFenxiaoProductGradepriceUpdateAPIRequest对象
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetIds ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetIds() []int64
GetIds Ids Getter
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetPrices ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetPrices() []string
GetPrices Prices Getter
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetSkuId ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTargetType ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTargetType() string
GetTargetType TargetType Getter
func (TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoProductGradepriceUpdateAPIRequest) GetTradeType() string
GetTradeType TradeType Getter
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetIds ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetIds(_ids []int64) error
SetIds is Ids Setter 会员等级的id或者分销商id,例如:”1001,2001,1002”
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetPrices ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetPrices(_prices []string) error
SetPrices is Prices Setter 优惠价格,大小为0到100000000之间的整数或两位小数,例:优惠价格为:100元2角5分,传入的参数应写成:100.25
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品Id
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetSkuId ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter skuId,如果产品有skuId,必须要输入skuId;没有skuId的时候不必选
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTargetType ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTargetType(_targetType string) error
SetTargetType is TargetType Setter 选择折扣方式:GRADE(按等级进行设置);DISCITUTOR(按分销商进行设置)。例如"GRADE,DISTRIBUTOR"
func (*TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoProductGradepriceUpdateAPIRequest) SetTradeType(_tradeType string) error
SetTradeType is TradeType Setter 交易类型: AGENT(代销)、DEALER(经销),ALL(代销和经销)
type TaobaoFenxiaoProductGradepriceUpdateAPIResponse ¶
type TaobaoFenxiaoProductGradepriceUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductGradepriceUpdateAPIResponseModel }
TaobaoFenxiaoProductGradepriceUpdateAPIResponse 根据sku设置折扣价 API返回值 taobao.fenxiao.product.gradeprice.update
供应商可以针对产品不同的sku,指定对应交易类型(代销or经销)方式下,设定折扣方式(按等级or指定分销商)以及对应优惠后的采购价格
type TaobaoFenxiaoProductGradepriceUpdateAPIResponseModel ¶
type TaobaoFenxiaoProductGradepriceUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_gradeprice_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回操作结果:成功或失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductGradepriceUpdateAPIResponseModel is 根据sku设置折扣价 成功返回结果
type TaobaoFenxiaoProductImageDeleteAPIRequest ¶
type TaobaoFenxiaoProductImageDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductImageDeleteAPIRequest 产品图片删除 API请求 taobao.fenxiao.product.image.delete
产品图片删除,只删除图片信息,不真正删除图片
func NewTaobaoFenxiaoProductImageDeleteRequest ¶
func NewTaobaoFenxiaoProductImageDeleteRequest() *TaobaoFenxiaoProductImageDeleteAPIRequest
NewTaobaoFenxiaoProductImageDeleteRequest 初始化TaobaoFenxiaoProductImageDeleteAPIRequest对象
func (TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductImageDeleteAPIRequest) GetPosition ¶
func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoFenxiaoProductImageDeleteAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductImageDeleteAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductImageDeleteAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoFenxiaoProductImageDeleteAPIRequest) SetPosition ¶
func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片位置
func (*TaobaoFenxiaoProductImageDeleteAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoProductImageDeleteAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductImageDeleteAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter properties表示sku图片的属性。key:value形式,key是pid,value是vid。如果position是0的话,则properties需要是必传项
type TaobaoFenxiaoProductImageDeleteAPIResponse ¶
type TaobaoFenxiaoProductImageDeleteAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductImageDeleteAPIResponseModel }
TaobaoFenxiaoProductImageDeleteAPIResponse 产品图片删除 API返回值 taobao.fenxiao.product.image.delete
产品图片删除,只删除图片信息,不真正删除图片
type TaobaoFenxiaoProductImageDeleteAPIResponseModel ¶
type TaobaoFenxiaoProductImageDeleteAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_image_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductImageDeleteAPIResponseModel is 产品图片删除 成功返回结果
type TaobaoFenxiaoProductImageUploadAPIRequest ¶
type TaobaoFenxiaoProductImageUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductImageUploadAPIRequest 产品图片上传 API请求 taobao.fenxiao.product.image.upload
产品主图图片空间相对路径或绝对路径添加或更新,或者是图片上传。如果指定位置的图片已存在,则覆盖原有信息。如果位置为1,自动设为主图;如果位置为0,表示属性图片
func NewTaobaoFenxiaoProductImageUploadRequest ¶
func NewTaobaoFenxiaoProductImageUploadRequest() *TaobaoFenxiaoProductImageUploadAPIRequest
NewTaobaoFenxiaoProductImageUploadRequest 初始化TaobaoFenxiaoProductImageUploadAPIRequest对象
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetImage ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetPicPath ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetPosition ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetPosition() int64
GetPosition Position Getter
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductImageUploadAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductImageUploadAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoFenxiaoProductImageUploadAPIRequest) SetImage ¶
func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 产品图片
func (*TaobaoFenxiaoProductImageUploadAPIRequest) SetPicPath ¶
func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 产品主图图片空间相对路径或绝对路径
func (*TaobaoFenxiaoProductImageUploadAPIRequest) SetPosition ¶
func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetPosition(_position int64) error
SetPosition is Position Setter 图片位置,0-14之间。0:操作sku属性图片,1:主图,2-5:细节图,6-14:额外主图
func (*TaobaoFenxiaoProductImageUploadAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoProductImageUploadAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductImageUploadAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter properties表示sku图片的属性。key:value形式,key是pid,value是vid。如果position是0的话,则properties需要是必传项
type TaobaoFenxiaoProductImageUploadAPIResponse ¶
type TaobaoFenxiaoProductImageUploadAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductImageUploadAPIResponseModel }
TaobaoFenxiaoProductImageUploadAPIResponse 产品图片上传 API返回值 taobao.fenxiao.product.image.upload
产品主图图片空间相对路径或绝对路径添加或更新,或者是图片上传。如果指定位置的图片已存在,则覆盖原有信息。如果位置为1,自动设为主图;如果位置为0,表示属性图片
type TaobaoFenxiaoProductImageUploadAPIResponseModel ¶
type TaobaoFenxiaoProductImageUploadAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_image_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductImageUploadAPIResponseModel is 产品图片上传 成功返回结果
type TaobaoFenxiaoProductImportFromAuctionAPIRequest ¶
type TaobaoFenxiaoProductImportFromAuctionAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductImportFromAuctionAPIRequest 导入商品生成产品 API请求 taobao.fenxiao.product.import.from.auction
供应商选择关联店铺的前台宝贝,导入生成产品
func NewTaobaoFenxiaoProductImportFromAuctionRequest ¶
func NewTaobaoFenxiaoProductImportFromAuctionRequest() *TaobaoFenxiaoProductImportFromAuctionAPIRequest
NewTaobaoFenxiaoProductImportFromAuctionRequest 初始化TaobaoFenxiaoProductImportFromAuctionAPIRequest对象
func (TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetAuctionId ¶
func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetAuctionId() int64
GetAuctionId AuctionId Getter
func (TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetProductLineId ¶
func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetProductLineId() int64
GetProductLineId ProductLineId Getter
func (TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetTradeType ¶
func (r TaobaoFenxiaoProductImportFromAuctionAPIRequest) GetTradeType() int64
GetTradeType TradeType Getter
func (*TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetAuctionId ¶
func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetAuctionId(_auctionId int64) error
SetAuctionId is AuctionId Setter 店铺宝贝id
func (*TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetProductLineId ¶
func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetProductLineId(_productLineId int64) error
SetProductLineId is ProductLineId Setter 产品线id
func (*TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetTradeType ¶
func (r *TaobaoFenxiaoProductImportFromAuctionAPIRequest) SetTradeType(_tradeType int64) error
SetTradeType is TradeType Setter 导入产品需要支持的交易类型:[1 代销][ 2 经销 ][3 代销和经销]
type TaobaoFenxiaoProductImportFromAuctionAPIResponse ¶
type TaobaoFenxiaoProductImportFromAuctionAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductImportFromAuctionAPIResponseModel }
TaobaoFenxiaoProductImportFromAuctionAPIResponse 导入商品生成产品 API返回值 taobao.fenxiao.product.import.from.auction
供应商选择关联店铺的前台宝贝,导入生成产品
type TaobaoFenxiaoProductImportFromAuctionAPIResponseModel ¶
type TaobaoFenxiaoProductImportFromAuctionAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_import_from_auction_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 OptTime string `json:"opt_time,omitempty" xml:"opt_time,omitempty"` // 生成的产品id Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` }
TaobaoFenxiaoProductImportFromAuctionAPIResponseModel is 导入商品生成产品 成功返回结果
type TaobaoFenxiaoProductMapAddAPIRequest ¶
type TaobaoFenxiaoProductMapAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductMapAddAPIRequest 创建分销和后端商品映射关系 API请求 taobao.fenxiao.product.map.add
创建分销和供应链商品映射关系。
func NewTaobaoFenxiaoProductMapAddRequest ¶
func NewTaobaoFenxiaoProductMapAddRequest() *TaobaoFenxiaoProductMapAddAPIRequest
NewTaobaoFenxiaoProductMapAddRequest 初始化TaobaoFenxiaoProductMapAddAPIRequest对象
func (TaobaoFenxiaoProductMapAddAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductMapAddAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductMapAddAPIRequest) GetNotCheckOuterCode ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetNotCheckOuterCode() bool
GetNotCheckOuterCode NotCheckOuterCode Getter
func (TaobaoFenxiaoProductMapAddAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductMapAddAPIRequest) GetScItemId ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetScItemId() int64
GetScItemId ScItemId Getter
func (TaobaoFenxiaoProductMapAddAPIRequest) GetScItemIds ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetScItemIds() string
GetScItemIds ScItemIds Getter
func (TaobaoFenxiaoProductMapAddAPIRequest) GetSkuIds ¶
func (r TaobaoFenxiaoProductMapAddAPIRequest) GetSkuIds() string
GetSkuIds SkuIds Getter
func (*TaobaoFenxiaoProductMapAddAPIRequest) SetNotCheckOuterCode ¶
func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetNotCheckOuterCode(_notCheckOuterCode bool) error
SetNotCheckOuterCode is NotCheckOuterCode Setter 是否需要校验商家编码,true不校验,false校验。
func (*TaobaoFenxiaoProductMapAddAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 分销产品id。
func (*TaobaoFenxiaoProductMapAddAPIRequest) SetScItemId ¶
func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetScItemId(_scItemId int64) error
SetScItemId is ScItemId Setter 后端商品id(如果当前分销产品没有sku和后端商品时需要指定)。
func (*TaobaoFenxiaoProductMapAddAPIRequest) SetScItemIds ¶
func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetScItemIds(_scItemIds string) error
SetScItemIds is ScItemIds Setter 在有sku的情况下,与各个sku对应的后端商品id列表。逗号分隔,顺序需要保证与sku_ids一致。
func (*TaobaoFenxiaoProductMapAddAPIRequest) SetSkuIds ¶
func (r *TaobaoFenxiaoProductMapAddAPIRequest) SetSkuIds(_skuIds string) error
SetSkuIds is SkuIds Setter 分销产品的sku id。逗号分隔,顺序需要保证与sc_item_ids一致(没有sku就不传)。
type TaobaoFenxiaoProductMapAddAPIResponse ¶
type TaobaoFenxiaoProductMapAddAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductMapAddAPIResponseModel }
TaobaoFenxiaoProductMapAddAPIResponse 创建分销和后端商品映射关系 API返回值 taobao.fenxiao.product.map.add
创建分销和供应链商品映射关系。
type TaobaoFenxiaoProductMapAddAPIResponseModel ¶
type TaobaoFenxiaoProductMapAddAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_map_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作结果 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductMapAddAPIResponseModel is 创建分销和后端商品映射关系 成功返回结果
type TaobaoFenxiaoProductQuantityUpdateAPIRequest ¶
type TaobaoFenxiaoProductQuantityUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductQuantityUpdateAPIRequest 产品库存修改 API请求 taobao.fenxiao.product.quantity.update
修改产品库存信息,支持全量修改以及增量修改两种方式
func NewTaobaoFenxiaoProductQuantityUpdateRequest ¶
func NewTaobaoFenxiaoProductQuantityUpdateRequest() *TaobaoFenxiaoProductQuantityUpdateAPIRequest
NewTaobaoFenxiaoProductQuantityUpdateRequest 初始化TaobaoFenxiaoProductQuantityUpdateAPIRequest对象
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetQuantity ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetQuantity() string
GetQuantity Quantity Getter
func (TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetType ¶
func (r TaobaoFenxiaoProductQuantityUpdateAPIRequest) GetType() int64
GetType Type Getter
func (*TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter sku属性值,产品有sku时填写,多个sku用,分隔。为空时默认该产品无sku,则只修改产品的库存。请参照taobao.fenxiao.products.get接口返回的properties设置入参
func (*TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetQuantity(_quantity string) error
SetQuantity is Quantity Setter 库存修改值。产品有sku时,与sku属性顺序对应,用,分隔。产品无sku时,只写库存值。当全量更新库存时,quantity必须为大于等于0的正整数;当增量更新库存时,quantity为整数,可小于等于0。若增量更新时传入的库存为负数,则负数与实际库存之和不能小于0。比如当前实际库存为1,传入增量更新quantity=-1,库存改为0
func (*TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetType ¶
func (r *TaobaoFenxiaoProductQuantityUpdateAPIRequest) SetType(_type int64) error
SetType is Type Setter 库存更新方式,可选。1为全量更新,2为增量更新。如果不填,默认为全量更新。当选择全量更新时,如果库存更新值传入的是负数,会出错并返回错误码;当选择增量更新时,如果库存更新值为负数且绝对值大于当前库存,则sku库存会设置为0
type TaobaoFenxiaoProductQuantityUpdateAPIResponse ¶
type TaobaoFenxiaoProductQuantityUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductQuantityUpdateAPIResponseModel }
TaobaoFenxiaoProductQuantityUpdateAPIResponse 产品库存修改 API返回值 taobao.fenxiao.product.quantity.update
修改产品库存信息,支持全量修改以及增量修改两种方式
type TaobaoFenxiaoProductQuantityUpdateAPIResponseModel ¶
type TaobaoFenxiaoProductQuantityUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_quantity_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductQuantityUpdateAPIResponseModel is 产品库存修改 成功返回结果
type TaobaoFenxiaoProductSkuAddAPIRequest ¶
type TaobaoFenxiaoProductSkuAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductSkuAddAPIRequest 产品sku添加接口 API请求 taobao.fenxiao.product.sku.add
添加产品SKU信息
func NewTaobaoFenxiaoProductSkuAddRequest ¶
func NewTaobaoFenxiaoProductSkuAddRequest() *TaobaoFenxiaoProductSkuAddAPIRequest
NewTaobaoFenxiaoProductSkuAddRequest 初始化TaobaoFenxiaoProductSkuAddAPIRequest对象
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetAgentCostPrice ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetAgentCostPrice() string
GetAgentCostPrice AgentCostPrice Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetDealerCostPrice ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetDealerCostPrice() string
GetDealerCostPrice DealerCostPrice Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetQuantity ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetSkuNumber ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetSkuNumber() string
GetSkuNumber SkuNumber Getter
func (TaobaoFenxiaoProductSkuAddAPIRequest) GetStandardPrice ¶
func (r TaobaoFenxiaoProductSkuAddAPIRequest) GetStandardPrice() string
GetStandardPrice StandardPrice Getter
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetAgentCostPrice ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetAgentCostPrice(_agentCostPrice string) error
SetAgentCostPrice is AgentCostPrice Setter 代销采购价
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetDealerCostPrice ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
SetDealerCostPrice is DealerCostPrice Setter 经销采购价
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter sku属性
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetQuantity ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter sku产品库存,在0到1000000之间,如果不传,则库存为0
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetSkuNumber ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetSkuNumber(_skuNumber string) error
SetSkuNumber is SkuNumber Setter 商家编码
func (*TaobaoFenxiaoProductSkuAddAPIRequest) SetStandardPrice ¶
func (r *TaobaoFenxiaoProductSkuAddAPIRequest) SetStandardPrice(_standardPrice string) error
SetStandardPrice is StandardPrice Setter 采购基准价,最大值1000000000
type TaobaoFenxiaoProductSkuAddAPIResponse ¶
type TaobaoFenxiaoProductSkuAddAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductSkuAddAPIResponseModel }
TaobaoFenxiaoProductSkuAddAPIResponse 产品sku添加接口 API返回值 taobao.fenxiao.product.sku.add
添加产品SKU信息
type TaobaoFenxiaoProductSkuAddAPIResponseModel ¶
type TaobaoFenxiaoProductSkuAddAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_sku_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductSkuAddAPIResponseModel is 产品sku添加接口 成功返回结果
type TaobaoFenxiaoProductSkuDeleteAPIRequest ¶
type TaobaoFenxiaoProductSkuDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductSkuDeleteAPIRequest 产品SKU删除接口 API请求 taobao.fenxiao.product.sku.delete
根据sku properties删除sku数据
func NewTaobaoFenxiaoProductSkuDeleteRequest ¶
func NewTaobaoFenxiaoProductSkuDeleteRequest() *TaobaoFenxiaoProductSkuDeleteAPIRequest
NewTaobaoFenxiaoProductSkuDeleteRequest 初始化TaobaoFenxiaoProductSkuDeleteAPIRequest对象
func (TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductSkuDeleteAPIRequest) GetProperties() string
GetProperties Properties Getter
func (*TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品id
func (*TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductSkuDeleteAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter sku属性
type TaobaoFenxiaoProductSkuDeleteAPIResponse ¶
type TaobaoFenxiaoProductSkuDeleteAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductSkuDeleteAPIResponseModel }
TaobaoFenxiaoProductSkuDeleteAPIResponse 产品SKU删除接口 API返回值 taobao.fenxiao.product.sku.delete
根据sku properties删除sku数据
type TaobaoFenxiaoProductSkuDeleteAPIResponseModel ¶
type TaobaoFenxiaoProductSkuDeleteAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_sku_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductSkuDeleteAPIResponseModel is 产品SKU删除接口 成功返回结果
type TaobaoFenxiaoProductSkuUpdateAPIRequest ¶
type TaobaoFenxiaoProductSkuUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductSkuUpdateAPIRequest 产品sku编辑接口 API请求 taobao.fenxiao.product.sku.update
产品SKU信息更新
func NewTaobaoFenxiaoProductSkuUpdateRequest ¶
func NewTaobaoFenxiaoProductSkuUpdateRequest() *TaobaoFenxiaoProductSkuUpdateAPIRequest
NewTaobaoFenxiaoProductSkuUpdateRequest 初始化TaobaoFenxiaoProductSkuUpdateAPIRequest对象
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetAgentCostPrice ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetAgentCostPrice() string
GetAgentCostPrice AgentCostPrice Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetDealerCostPrice ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetDealerCostPrice() string
GetDealerCostPrice DealerCostPrice Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetQuantity ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetSkuNumber ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetSkuNumber() string
GetSkuNumber SkuNumber Getter
func (TaobaoFenxiaoProductSkuUpdateAPIRequest) GetStandardPrice ¶
func (r TaobaoFenxiaoProductSkuUpdateAPIRequest) GetStandardPrice() string
GetStandardPrice StandardPrice Getter
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetAgentCostPrice ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetAgentCostPrice(_agentCostPrice string) error
SetAgentCostPrice is AgentCostPrice Setter 代销采购价
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetDealerCostPrice ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
SetDealerCostPrice is DealerCostPrice Setter 经销采购价
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter sku属性
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 产品SKU库存
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetSkuNumber ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetSkuNumber(_skuNumber string) error
SetSkuNumber is SkuNumber Setter 商家编码
func (*TaobaoFenxiaoProductSkuUpdateAPIRequest) SetStandardPrice ¶
func (r *TaobaoFenxiaoProductSkuUpdateAPIRequest) SetStandardPrice(_standardPrice string) error
SetStandardPrice is StandardPrice Setter 采购基准价
type TaobaoFenxiaoProductSkuUpdateAPIResponse ¶
type TaobaoFenxiaoProductSkuUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductSkuUpdateAPIResponseModel }
TaobaoFenxiaoProductSkuUpdateAPIResponse 产品sku编辑接口 API返回值 taobao.fenxiao.product.sku.update
产品SKU信息更新
type TaobaoFenxiaoProductSkuUpdateAPIResponseModel ¶
type TaobaoFenxiaoProductSkuUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_sku_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 操作结果 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoProductSkuUpdateAPIResponseModel is 产品sku编辑接口 成功返回结果
type TaobaoFenxiaoProductSkusGetAPIRequest ¶
type TaobaoFenxiaoProductSkusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductSkusGetAPIRequest SKU查询接口 API请求 taobao.fenxiao.product.skus.get
产品sku查询
func NewTaobaoFenxiaoProductSkusGetRequest ¶
func NewTaobaoFenxiaoProductSkusGetRequest() *TaobaoFenxiaoProductSkusGetAPIRequest
NewTaobaoFenxiaoProductSkusGetRequest 初始化TaobaoFenxiaoProductSkusGetAPIRequest对象
func (TaobaoFenxiaoProductSkusGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductSkusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductSkusGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductSkusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductSkusGetAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductSkusGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TaobaoFenxiaoProductSkusGetAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductSkusGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
type TaobaoFenxiaoProductSkusGetAPIResponse ¶
type TaobaoFenxiaoProductSkusGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductSkusGetAPIResponseModel }
TaobaoFenxiaoProductSkusGetAPIResponse SKU查询接口 API返回值 taobao.fenxiao.product.skus.get
产品sku查询
type TaobaoFenxiaoProductSkusGetAPIResponseModel ¶
type TaobaoFenxiaoProductSkusGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_skus_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // sku信息 Skus []FenxiaoSku `json:"skus,omitempty" xml:"skus>fenxiao_sku,omitempty"` // 记录数量 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoProductSkusGetAPIResponseModel is SKU查询接口 成功返回结果
type TaobaoFenxiaoProductToChannelImportAPIRequest ¶
type TaobaoFenxiaoProductToChannelImportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductToChannelImportAPIRequest 产品导入到渠道 API请求 taobao.fenxiao.product.to.channel.import
支持供应商将已有产品导入到某个渠道销售
func NewTaobaoFenxiaoProductToChannelImportRequest ¶
func NewTaobaoFenxiaoProductToChannelImportRequest() *TaobaoFenxiaoProductToChannelImportAPIRequest
NewTaobaoFenxiaoProductToChannelImportRequest 初始化TaobaoFenxiaoProductToChannelImportAPIRequest对象
func (TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductToChannelImportAPIRequest) GetChannel ¶
func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetChannel() int64
GetChannel Channel Getter
func (TaobaoFenxiaoProductToChannelImportAPIRequest) GetProductId ¶
func (r TaobaoFenxiaoProductToChannelImportAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TaobaoFenxiaoProductToChannelImportAPIRequest) SetChannel ¶
func (r *TaobaoFenxiaoProductToChannelImportAPIRequest) SetChannel(_channel int64) error
SetChannel is Channel Setter 要导入的渠道[21 零售PLUS]目前仅支持此渠道
func (*TaobaoFenxiaoProductToChannelImportAPIRequest) SetProductId ¶
func (r *TaobaoFenxiaoProductToChannelImportAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 要导入的产品id
type TaobaoFenxiaoProductToChannelImportAPIResponse ¶
type TaobaoFenxiaoProductToChannelImportAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductToChannelImportAPIResponseModel }
TaobaoFenxiaoProductToChannelImportAPIResponse 产品导入到渠道 API返回值 taobao.fenxiao.product.to.channel.import
支持供应商将已有产品导入到某个渠道销售
type TaobaoFenxiaoProductToChannelImportAPIResponseModel ¶
type TaobaoFenxiaoProductToChannelImportAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_to_channel_import_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
TaobaoFenxiaoProductToChannelImportAPIResponseModel is 产品导入到渠道 成功返回结果
type TaobaoFenxiaoProductUpdateAPIRequest ¶
type TaobaoFenxiaoProductUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductUpdateAPIRequest 更新产品 API请求 taobao.fenxiao.product.update
更新分销平台产品数据,不传更新数据返回失败<br><br/>1. 对sku进行增、删操作时,原有的sku_ids字段会被忽略,请使用sku_properties和sku_properties_del。<br>
func NewTaobaoFenxiaoProductUpdateRequest ¶
func NewTaobaoFenxiaoProductUpdateRequest() *TaobaoFenxiaoProductUpdateAPIRequest
NewTaobaoFenxiaoProductUpdateRequest 初始化TaobaoFenxiaoProductUpdateAPIRequest对象
func (TaobaoFenxiaoProductUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductUpdateAPIRequest) GetCategoryId ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetCity ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCity() string
GetCity City Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetCostPrice ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetCostPrice() string
GetCostPrice CostPrice Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetDealerCostPrice ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDealerCostPrice() string
GetDealerCostPrice DealerCostPrice Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetDesc ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetDiscountId ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetDiscountId() int64
GetDiscountId DiscountId Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetHaveInvoice ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetHaveInvoice() string
GetHaveInvoice HaveInvoice Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetHaveQuarantee ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetHaveQuarantee() string
GetHaveQuarantee HaveQuarantee Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetImage ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetImage() *model.File
GetImage Image Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetInputProperties ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetInputProperties() string
GetInputProperties InputProperties Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetIsAuthz ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetIsAuthz() string
GetIsAuthz IsAuthz Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetName ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetOuterId ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPicPath ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPicPath() string
GetPicPath PicPath Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPid ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPid() int64
GetPid Pid Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPostageEms ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageEms() string
GetPostageEms PostageEms Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPostageFast ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageFast() string
GetPostageFast PostageFast Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPostageId ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageId() int64
GetPostageId PostageId Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPostageOrdinary ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageOrdinary() string
GetPostageOrdinary PostageOrdinary Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPostageType ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPostageType() string
GetPostageType PostageType Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetProperties ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetPropertyAlias ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetPropertyAlias() string
GetPropertyAlias PropertyAlias Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetProv ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetProv() string
GetProv Prov Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetQuantity ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceHigh ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceHigh() string
GetRetailPriceHigh RetailPriceHigh Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceLow ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetRetailPriceLow() string
GetRetailPriceLow RetailPriceLow Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuCostPrices ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuCostPrices() string
GetSkuCostPrices SkuCostPrices Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuDealerCostPrices ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuDealerCostPrices() string
GetSkuDealerCostPrices SkuDealerCostPrices Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuIds ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuIds() string
GetSkuIds SkuIds Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuOuterIds ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuOuterIds() string
GetSkuOuterIds SkuOuterIds Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuProperties ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuProperties() string
GetSkuProperties SkuProperties Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuPropertiesDel ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuPropertiesDel() string
GetSkuPropertiesDel SkuPropertiesDel Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuQuantitys ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuQuantitys() string
GetSkuQuantitys SkuQuantitys Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetSkuStandardPrices ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetSkuStandardPrices() string
GetSkuStandardPrices SkuStandardPrices Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetStandardPrice ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStandardPrice() string
GetStandardPrice StandardPrice Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetStandardRetailPrice ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStandardRetailPrice() string
GetStandardRetailPrice StandardRetailPrice Getter
func (TaobaoFenxiaoProductUpdateAPIRequest) GetStatus ¶
func (r TaobaoFenxiaoProductUpdateAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetCategoryId ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 所属类目id,参考Taobao.itemcats.get,不支持成人等类目,输入成人类目id保存提示类目属性错误。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetCity ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCity(_city string) error
SetCity is City Setter 所在地:市,例:“杭州”
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetCostPrice ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetCostPrice(_costPrice string) error
SetCostPrice is CostPrice Setter 代销采购价格,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetDealerCostPrice ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDealerCostPrice(_dealerCostPrice string) error
SetDealerCostPrice is DealerCostPrice Setter 经销采购价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetDesc ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 产品描述,长度为5到25000字符。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetDiscountId ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetDiscountId(_discountId int64) error
SetDiscountId is DiscountId Setter 折扣ID
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetHaveInvoice ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetHaveInvoice(_haveInvoice string) error
SetHaveInvoice is HaveInvoice Setter 是否有发票,可选值:false(否)、true(是),默认false。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetHaveQuarantee ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetHaveQuarantee(_haveQuarantee string) error
SetHaveQuarantee is HaveQuarantee Setter 是否有保修,可选值:false(否)、true(是),默认false。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetImage ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetImage(_image *model.File) error
SetImage is Image Setter 主图图片,如果pic_path参数不空,则优先使用pic_path,忽略该参数
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetInputProperties ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetInputProperties(_inputProperties string) error
SetInputProperties is InputProperties Setter 自定义属性。格式为pid:value;pid:value
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetIsAuthz ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetIsAuthz(_isAuthz string) error
SetIsAuthz is IsAuthz Setter 产品是否需要授权isAuthz:yes|no <br/>yes:需要授权 <br/>no:不需要授权
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetName ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 产品名称,长度不超过60个字节。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetOuterId ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码,长度不能超过60个字节。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPicPath ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPicPath(_picPath string) error
SetPicPath is PicPath Setter 产品主图图片空间相对路径或绝对路径
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPid ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPid(_pid int64) error
SetPid is Pid Setter 产品ID
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPostageEms ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageEms(_postageEms string) error
SetPostageEms is PostageEms Setter ems费用,单位:元。例:“10.56”。大小为0.01元到999999元之间。更新时必须指定运费类型为buyer,否则不更新。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPostageFast ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageFast(_postageFast string) error
SetPostageFast is PostageFast Setter 快递费用,单位:元。例:“10.56”。大小为0.01元到999999元之间。更新时必须指定运费类型为buyer,否则不更新。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPostageId ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageId(_postageId int64) error
SetPostageId is PostageId Setter 运费模板ID,参考taobao.postages.get。更新时必须指定运费类型为 buyer,否则不更新。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPostageOrdinary ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageOrdinary(_postageOrdinary string) error
SetPostageOrdinary is PostageOrdinary Setter 平邮费用,单位:元。例:“10.56”。大小为0.01元到999999元之间。更新时必须指定运费类型为buyer,否则不更新。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPostageType ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPostageType(_postageType string) error
SetPostageType is PostageType Setter 运费类型,可选值:seller(供应商承担运费)、buyer(分销商承担运费)。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetProperties ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 产品属性
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetPropertyAlias ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetPropertyAlias(_propertyAlias string) error
SetPropertyAlias is PropertyAlias Setter 属性别名
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetProv ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetProv(_prov string) error
SetProv is Prov Setter 所在地:省,例:“浙江”
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetQuantity ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 产品库存必须是1到999999。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceHigh ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceHigh(_retailPriceHigh string) error
SetRetailPriceHigh is RetailPriceHigh Setter 最高零售价,单位:元。例:“10.56”。必须在0.01元到10000000元之间,最高零售价必须大于最低零售价。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceLow ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetRetailPriceLow(_retailPriceLow string) error
SetRetailPriceLow is RetailPriceLow Setter 最低零售价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuCostPrices ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuCostPrices(_skuCostPrices string) error
SetSkuCostPrices is SkuCostPrices Setter sku采购价格,单位元,例:"10.50,11.00,20.50",字段必须和上面的sku_ids或sku_properties保持一致。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuDealerCostPrices ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuDealerCostPrices(_skuDealerCostPrices string) error
SetSkuDealerCostPrices is SkuDealerCostPrices Setter sku的经销采购价。如果多个,用逗号分隔,并与其他sku信息保持相同顺序。其中每个值的单位:元。例:“10.56,12.3”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuIds ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuIds(_skuIds string) error
SetSkuIds is SkuIds Setter sku id列表,例:1001,1002,1003。如果传入sku_properties将忽略此参数。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuOuterIds ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuOuterIds(_skuOuterIds string) error
SetSkuOuterIds is SkuOuterIds Setter sku商家编码 ,单位元,例:"S1000,S1002,S1003",字段必须和上面的id或sku_properties保持一致,如果没有可以写成",,"
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuProperties ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuProperties(_skuProperties string) error
SetSkuProperties is SkuProperties Setter sku属性。格式:pid:vid;pid:vid,表示一组属性如:1627207:3232483;1630696:3284570,表示一组:机身颜色:军绿色;手机套餐:一电一充。多组之间用逗号“,”区分。(属性的pid调用taobao.itemprops.get取得,属性值的vid用taobao.itempropvalues.get取得vid)<br/>通过此字段可新增和更新sku。若传入此值将忽略sku_ids字段。sku其他字段与此值保持一致。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuPropertiesDel ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuPropertiesDel(_skuPropertiesDel string) error
SetSkuPropertiesDel is SkuPropertiesDel Setter 根据sku属性删除sku信息。需要按组删除属性。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuQuantitys ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuQuantitys(_skuQuantitys string) error
SetSkuQuantitys is SkuQuantitys Setter sku库存,单位元,例:"10,20,30",字段必须和sku_ids或sku_properties保持一致。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetSkuStandardPrices ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetSkuStandardPrices(_skuStandardPrices string) error
SetSkuStandardPrices is SkuStandardPrices Setter sku采购基准价,单位元,例:"10.50,11.00,20.50",字段必须和上面的sku_ids或sku_properties保持一致。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetStandardPrice ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStandardPrice(_standardPrice string) error
SetStandardPrice is StandardPrice Setter 采购基准价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetStandardRetailPrice ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStandardRetailPrice(_standardRetailPrice string) error
SetStandardRetailPrice is StandardRetailPrice Setter 零售基准价,单位:元。例:“10.56”。必须在0.01元到10000000元之间。
func (*TaobaoFenxiaoProductUpdateAPIRequest) SetStatus ¶
func (r *TaobaoFenxiaoProductUpdateAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 发布状态,可选值:up(上架)、down(下架)、delete(删除),输入非法字符则忽略。
type TaobaoFenxiaoProductUpdateAPIResponse ¶
type TaobaoFenxiaoProductUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductUpdateAPIResponseModel }
TaobaoFenxiaoProductUpdateAPIResponse 更新产品 API返回值 taobao.fenxiao.product.update
更新分销平台产品数据,不传更新数据返回失败<br><br/>1. 对sku进行增、删操作时,原有的sku_ids字段会被忽略,请使用sku_properties和sku_properties_del。<br>
type TaobaoFenxiaoProductUpdateAPIResponseModel ¶
type TaobaoFenxiaoProductUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_product_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新时间,时间格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 产品ID Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` }
TaobaoFenxiaoProductUpdateAPIResponseModel is 更新产品 成功返回结果
type TaobaoFenxiaoProductcatAddAPIRequest ¶
type TaobaoFenxiaoProductcatAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductcatAddAPIRequest 新增产品线 API请求 taobao.fenxiao.productcat.add
新增产品线
func NewTaobaoFenxiaoProductcatAddRequest ¶
func NewTaobaoFenxiaoProductcatAddRequest() *TaobaoFenxiaoProductcatAddAPIRequest
NewTaobaoFenxiaoProductcatAddRequest 初始化TaobaoFenxiaoProductcatAddAPIRequest对象
func (TaobaoFenxiaoProductcatAddAPIRequest) GetAgentCostPercent ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetAgentCostPercent() int64
GetAgentCostPercent AgentCostPercent Getter
func (TaobaoFenxiaoProductcatAddAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductcatAddAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductcatAddAPIRequest) GetDealerCostPercent ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetDealerCostPercent() int64
GetDealerCostPercent DealerCostPercent Getter
func (TaobaoFenxiaoProductcatAddAPIRequest) GetName ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoFenxiaoProductcatAddAPIRequest) GetRetailHighPercent ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetRetailHighPercent() int64
GetRetailHighPercent RetailHighPercent Getter
func (TaobaoFenxiaoProductcatAddAPIRequest) GetRetailLowPercent ¶
func (r TaobaoFenxiaoProductcatAddAPIRequest) GetRetailLowPercent() int64
GetRetailLowPercent RetailLowPercent Getter
func (*TaobaoFenxiaoProductcatAddAPIRequest) SetAgentCostPercent ¶
func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetAgentCostPercent(_agentCostPercent int64) error
SetAgentCostPercent is AgentCostPercent Setter 代销默认采购价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatAddAPIRequest) SetDealerCostPercent ¶
func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetDealerCostPercent(_dealerCostPercent int64) error
SetDealerCostPercent is DealerCostPercent Setter 经销默认采购价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatAddAPIRequest) SetName ¶
func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetName(_name string) error
SetName is Name Setter 产品线名称
func (*TaobaoFenxiaoProductcatAddAPIRequest) SetRetailHighPercent ¶
func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetRetailHighPercent(_retailHighPercent int64) error
SetRetailHighPercent is RetailHighPercent Setter 最高零售价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatAddAPIRequest) SetRetailLowPercent ¶
func (r *TaobaoFenxiaoProductcatAddAPIRequest) SetRetailLowPercent(_retailLowPercent int64) error
SetRetailLowPercent is RetailLowPercent Setter 最低零售价比例,注意:100.00%,则输入为10000
type TaobaoFenxiaoProductcatAddAPIResponse ¶
type TaobaoFenxiaoProductcatAddAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductcatAddAPIResponseModel }
TaobaoFenxiaoProductcatAddAPIResponse 新增产品线 API返回值 taobao.fenxiao.productcat.add
新增产品线
type TaobaoFenxiaoProductcatAddAPIResponseModel ¶
type TaobaoFenxiaoProductcatAddAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_productcat_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品线ID ProductLineId int64 `json:"product_line_id,omitempty" xml:"product_line_id,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductcatAddAPIResponseModel is 新增产品线 成功返回结果
type TaobaoFenxiaoProductcatDeleteAPIRequest ¶
type TaobaoFenxiaoProductcatDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductcatDeleteAPIRequest 删除产品线 API请求 taobao.fenxiao.productcat.delete
删除产品线
func NewTaobaoFenxiaoProductcatDeleteRequest ¶
func NewTaobaoFenxiaoProductcatDeleteRequest() *TaobaoFenxiaoProductcatDeleteAPIRequest
NewTaobaoFenxiaoProductcatDeleteRequest 初始化TaobaoFenxiaoProductcatDeleteAPIRequest对象
func (TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductcatDeleteAPIRequest) GetProductLineId ¶
func (r TaobaoFenxiaoProductcatDeleteAPIRequest) GetProductLineId() int64
GetProductLineId ProductLineId Getter
func (*TaobaoFenxiaoProductcatDeleteAPIRequest) SetProductLineId ¶
func (r *TaobaoFenxiaoProductcatDeleteAPIRequest) SetProductLineId(_productLineId int64) error
SetProductLineId is ProductLineId Setter 产品线ID
type TaobaoFenxiaoProductcatDeleteAPIResponse ¶
type TaobaoFenxiaoProductcatDeleteAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductcatDeleteAPIResponseModel }
TaobaoFenxiaoProductcatDeleteAPIResponse 删除产品线 API返回值 taobao.fenxiao.productcat.delete
删除产品线
type TaobaoFenxiaoProductcatDeleteAPIResponseModel ¶
type TaobaoFenxiaoProductcatDeleteAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_productcat_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductcatDeleteAPIResponseModel is 删除产品线 成功返回结果
type TaobaoFenxiaoProductcatUpdateAPIRequest ¶
type TaobaoFenxiaoProductcatUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductcatUpdateAPIRequest 修改产品线 API请求 taobao.fenxiao.productcat.update
修改产品线
func NewTaobaoFenxiaoProductcatUpdateRequest ¶
func NewTaobaoFenxiaoProductcatUpdateRequest() *TaobaoFenxiaoProductcatUpdateAPIRequest
NewTaobaoFenxiaoProductcatUpdateRequest 初始化TaobaoFenxiaoProductcatUpdateAPIRequest对象
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetAgentCostPercent ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetAgentCostPercent() int64
GetAgentCostPercent AgentCostPercent Getter
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetDealerCostPercent ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetDealerCostPercent() int64
GetDealerCostPercent DealerCostPercent Getter
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetName ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetProductLineId ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetProductLineId() int64
GetProductLineId ProductLineId Getter
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailHighPercent ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailHighPercent() int64
GetRetailHighPercent RetailHighPercent Getter
func (TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailLowPercent ¶
func (r TaobaoFenxiaoProductcatUpdateAPIRequest) GetRetailLowPercent() int64
GetRetailLowPercent RetailLowPercent Getter
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetAgentCostPercent ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetAgentCostPercent(_agentCostPercent int64) error
SetAgentCostPercent is AgentCostPercent Setter 代销默认采购价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetDealerCostPercent ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetDealerCostPercent(_dealerCostPercent int64) error
SetDealerCostPercent is DealerCostPercent Setter 经销默认采购价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetName ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 产品线名称
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetProductLineId ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetProductLineId(_productLineId int64) error
SetProductLineId is ProductLineId Setter 产品线ID
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailHighPercent ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailHighPercent(_retailHighPercent int64) error
SetRetailHighPercent is RetailHighPercent Setter 最高零售价比例,注意:100.00%,则输入为10000
func (*TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailLowPercent ¶
func (r *TaobaoFenxiaoProductcatUpdateAPIRequest) SetRetailLowPercent(_retailLowPercent int64) error
SetRetailLowPercent is RetailLowPercent Setter 最低零售价比例,注意:100.00%,则输入为10000
type TaobaoFenxiaoProductcatUpdateAPIResponse ¶
type TaobaoFenxiaoProductcatUpdateAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductcatUpdateAPIResponseModel }
TaobaoFenxiaoProductcatUpdateAPIResponse 修改产品线 API返回值 taobao.fenxiao.productcat.update
修改产品线
type TaobaoFenxiaoProductcatUpdateAPIResponseModel ¶
type TaobaoFenxiaoProductcatUpdateAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_productcat_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoProductcatUpdateAPIResponseModel is 修改产品线 成功返回结果
type TaobaoFenxiaoProductcatsGetAPIRequest ¶
type TaobaoFenxiaoProductcatsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductcatsGetAPIRequest 查询产品线列表 API请求 taobao.fenxiao.productcats.get
查询供应商的所有产品线数据。根据登陆用户来查询,不需要其他入参
func NewTaobaoFenxiaoProductcatsGetRequest ¶
func NewTaobaoFenxiaoProductcatsGetRequest() *TaobaoFenxiaoProductcatsGetAPIRequest
NewTaobaoFenxiaoProductcatsGetRequest 初始化TaobaoFenxiaoProductcatsGetAPIRequest对象
func (TaobaoFenxiaoProductcatsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductcatsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductcatsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductcatsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductcatsGetAPIRequest) GetFields ¶
func (r TaobaoFenxiaoProductcatsGetAPIRequest) GetFields() string
GetFields Fields Getter
func (*TaobaoFenxiaoProductcatsGetAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoProductcatsGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 返回字段列表
type TaobaoFenxiaoProductcatsGetAPIResponse ¶
type TaobaoFenxiaoProductcatsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductcatsGetAPIResponseModel }
TaobaoFenxiaoProductcatsGetAPIResponse 查询产品线列表 API返回值 taobao.fenxiao.productcats.get
查询供应商的所有产品线数据。根据登陆用户来查询,不需要其他入参
type TaobaoFenxiaoProductcatsGetAPIResponseModel ¶
type TaobaoFenxiaoProductcatsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_productcats_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品线列表。返回 ProductCat 包含的字段信息。 Productcats []ProductCat `json:"productcats,omitempty" xml:"productcats>product_cat,omitempty"` // 查询结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoProductcatsGetAPIResponseModel is 查询产品线列表 成功返回结果
type TaobaoFenxiaoProductsGetAPIRequest ¶
type TaobaoFenxiaoProductsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoProductsGetAPIRequest 查询产品列表 API请求 taobao.fenxiao.products.get
查询供应商的产品数据。<br/><br/> * 入参传入pids将优先查询,即只按这个条件查询。<br/> *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条)<br/> * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。<br/> * 入参fields传入images将查询多图数据,不传只返回主图数据。<br/> * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据)<br/> * 查询结果按照产品发布时间倒序,即时间近的数据在前。
func NewTaobaoFenxiaoProductsGetRequest ¶
func NewTaobaoFenxiaoProductsGetRequest() *TaobaoFenxiaoProductsGetAPIRequest
NewTaobaoFenxiaoProductsGetRequest 初始化TaobaoFenxiaoProductsGetAPIRequest对象
func (TaobaoFenxiaoProductsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoProductsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoProductsGetAPIRequest) GetEndModified ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetEndModified() string
GetEndModified EndModified Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetFields ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetIsAuthz ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetIsAuthz() string
GetIsAuthz IsAuthz Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetItemIds ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetItemIds() string
GetItemIds ItemIds Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetOuterId ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetPids ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetPids() string
GetPids Pids Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetProductcatId ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetProductcatId() int64
GetProductcatId ProductcatId Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetSkuNumber ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetSkuNumber() string
GetSkuNumber SkuNumber Getter
func (TaobaoFenxiaoProductsGetAPIRequest) GetStartModified ¶
func (r TaobaoFenxiaoProductsGetAPIRequest) GetStartModified() string
GetStartModified StartModified Getter
func (*TaobaoFenxiaoProductsGetAPIRequest) SetEndModified ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetEndModified(_endModified string) error
SetEndModified is EndModified Setter 结束修改时间
func (*TaobaoFenxiaoProductsGetAPIRequest) SetFields ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 指定查询额外的信息,可选值:skus(sku数据)、images(多图),多个可选值用逗号分割。
func (*TaobaoFenxiaoProductsGetAPIRequest) SetIsAuthz ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetIsAuthz(_isAuthz string) error
SetIsAuthz is IsAuthz Setter 查询产品列表时,查询入参“是否需要授权”<br/>yes:需要授权 <br/>no:不需要授权
func (*TaobaoFenxiaoProductsGetAPIRequest) SetItemIds ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetItemIds(_itemIds string) error
SetItemIds is ItemIds Setter 可根据导入的商品ID列表查询,优先级次于产品ID、sku_numbers,高于其他分页查询条件。最大限制20,用逗号分割,例如:“1001,1002,1003,1004,1005”
func (*TaobaoFenxiaoProductsGetAPIRequest) SetOuterId ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 商家编码
func (*TaobaoFenxiaoProductsGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数,默认1)
func (*TaobaoFenxiaoProductsGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页记录数(默认20,最大50)
func (*TaobaoFenxiaoProductsGetAPIRequest) SetPids ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetPids(_pids string) error
SetPids is Pids Setter 产品ID列表(最大限制30),用逗号分割,例如:“1001,1002,1003,1004,1005”
func (*TaobaoFenxiaoProductsGetAPIRequest) SetProductcatId ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetProductcatId(_productcatId int64) error
SetProductcatId is ProductcatId Setter 产品线ID
func (*TaobaoFenxiaoProductsGetAPIRequest) SetSkuNumber ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetSkuNumber(_skuNumber string) error
SetSkuNumber is SkuNumber Setter sku商家编码
func (*TaobaoFenxiaoProductsGetAPIRequest) SetStartModified ¶
func (r *TaobaoFenxiaoProductsGetAPIRequest) SetStartModified(_startModified string) error
SetStartModified is StartModified Setter 开始修改时间
type TaobaoFenxiaoProductsGetAPIResponse ¶
type TaobaoFenxiaoProductsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoProductsGetAPIResponseModel }
TaobaoFenxiaoProductsGetAPIResponse 查询产品列表 API返回值 taobao.fenxiao.products.get
查询供应商的产品数据。<br/><br/> * 入参传入pids将优先查询,即只按这个条件查询。<br/> *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条)<br/> * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。<br/> * 入参fields传入images将查询多图数据,不传只返回主图数据。<br/> * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据)<br/> * 查询结果按照产品发布时间倒序,即时间近的数据在前。
type TaobaoFenxiaoProductsGetAPIResponseModel ¶
type TaobaoFenxiaoProductsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_products_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品对象记录集。返回 FenxiaoProduct 包含的字段信息。 Products []FenxiaoProduct `json:"products,omitempty" xml:"products>fenxiao_product,omitempty"` // 查询结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoProductsGetAPIResponseModel is 查询产品列表 成功返回结果
type TaobaoFenxiaoRefundGetAPIRequest ¶
type TaobaoFenxiaoRefundGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoRefundGetAPIRequest 查询采购单退款信息 API请求 taobao.fenxiao.refund.get
分销商或供应商可以查询某子单的退款信息,以及下游订单的退款信息
func NewTaobaoFenxiaoRefundGetRequest ¶
func NewTaobaoFenxiaoRefundGetRequest() *TaobaoFenxiaoRefundGetAPIRequest
NewTaobaoFenxiaoRefundGetRequest 初始化TaobaoFenxiaoRefundGetAPIRequest对象
func (TaobaoFenxiaoRefundGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoRefundGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoRefundGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoRefundGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoRefundGetAPIRequest) GetQuerySellerRefund ¶
func (r TaobaoFenxiaoRefundGetAPIRequest) GetQuerySellerRefund() bool
GetQuerySellerRefund QuerySellerRefund Getter
func (TaobaoFenxiaoRefundGetAPIRequest) GetRefundId ¶ added in v1.2.5
func (r TaobaoFenxiaoRefundGetAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (TaobaoFenxiaoRefundGetAPIRequest) GetSubOrderId ¶
func (r TaobaoFenxiaoRefundGetAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*TaobaoFenxiaoRefundGetAPIRequest) SetQuerySellerRefund ¶
func (r *TaobaoFenxiaoRefundGetAPIRequest) SetQuerySellerRefund(_querySellerRefund bool) error
SetQuerySellerRefund is QuerySellerRefund Setter 是否查询下游消费者订单对应退款信息
func (*TaobaoFenxiaoRefundGetAPIRequest) SetRefundId ¶ added in v1.2.5
func (r *TaobaoFenxiaoRefundGetAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 退款单id(分销子订单号和退款单id,两者至少必填一个,都填的情况下,以退款单id为准)
func (*TaobaoFenxiaoRefundGetAPIRequest) SetSubOrderId ¶
func (r *TaobaoFenxiaoRefundGetAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 要查询的退款对应的分销子订单号
type TaobaoFenxiaoRefundGetAPIResponse ¶
type TaobaoFenxiaoRefundGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoRefundGetAPIResponseModel }
TaobaoFenxiaoRefundGetAPIResponse 查询采购单退款信息 API返回值 taobao.fenxiao.refund.get
分销商或供应商可以查询某子单的退款信息,以及下游订单的退款信息
type TaobaoFenxiaoRefundGetAPIResponseModel ¶
type TaobaoFenxiaoRefundGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款详情 RefundDetail *TopDpRefundDetailDo `json:"refund_detail,omitempty" xml:"refund_detail,omitempty"` }
TaobaoFenxiaoRefundGetAPIResponseModel is 查询采购单退款信息 成功返回结果
type TaobaoFenxiaoRefundQueryAPIRequest ¶
type TaobaoFenxiaoRefundQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoRefundQueryAPIRequest 批量查询采购退款 API请求 taobao.fenxiao.refund.query
供应商按查询条件批量查询代销采购退款
func NewTaobaoFenxiaoRefundQueryRequest ¶
func NewTaobaoFenxiaoRefundQueryRequest() *TaobaoFenxiaoRefundQueryAPIRequest
NewTaobaoFenxiaoRefundQueryRequest 初始化TaobaoFenxiaoRefundQueryAPIRequest对象
func (TaobaoFenxiaoRefundQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoRefundQueryAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoRefundQueryAPIRequest) GetChannelCodes ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetChannelCodes() []int64
GetChannelCodes ChannelCodes Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetEndDate ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetQuerySellerRefund ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetQuerySellerRefund() bool
GetQuerySellerRefund QuerySellerRefund Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetRefundFlowTypes ¶ added in v1.2.5
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetRefundFlowTypes() int64
GetRefundFlowTypes RefundFlowTypes Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetStartDate ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetTradeTypes ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetTradeTypes() []int64
GetTradeTypes TradeTypes Getter
func (TaobaoFenxiaoRefundQueryAPIRequest) GetUserRoleType ¶
func (r TaobaoFenxiaoRefundQueryAPIRequest) GetUserRoleType() int64
GetUserRoleType UserRoleType Getter
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetChannelCodes ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetChannelCodes(_channelCodes []int64) error
SetChannelCodes is ChannelCodes Setter 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetEndDate ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 查询退款单的修改时间结束,格式如:yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数。无值或小于1的值按默认值1计)
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数(大于0但小于等于50的整数。无值或大于50或小于1的值按默认值50计)
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetQuerySellerRefund ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetQuerySellerRefund(_querySellerRefund bool) error
SetQuerySellerRefund is QuerySellerRefund Setter 是否查询下游消费者的退款信息
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetRefundFlowTypes ¶ added in v1.2.5
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetRefundFlowTypes(_refundFlowTypes int64) error
SetRefundFlowTypes is RefundFlowTypes Setter 退款流程类型:4:发货前退款;1:发货后退款不退货;2:发货后退款退货;3:售后退款;5:拒收;6:售后退货退款
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetStartDate ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 查询退款单的修改时间开始,格式如:yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetTradeTypes ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetTradeTypes(_tradeTypes []int64) error
SetTradeTypes is TradeTypes Setter 查询的经营模式,当不指定时,默认查询代销订单 代销:1 经销:2 寄售(自营寄售):5 平台寄售
func (*TaobaoFenxiaoRefundQueryAPIRequest) SetUserRoleType ¶
func (r *TaobaoFenxiaoRefundQueryAPIRequest) SetUserRoleType(_userRoleType int64) error
SetUserRoleType is UserRoleType Setter 角色,供应商:2,分销商:1
type TaobaoFenxiaoRefundQueryAPIResponse ¶
type TaobaoFenxiaoRefundQueryAPIResponse struct { model.CommonResponse TaobaoFenxiaoRefundQueryAPIResponseModel }
TaobaoFenxiaoRefundQueryAPIResponse 批量查询采购退款 API返回值 taobao.fenxiao.refund.query
供应商按查询条件批量查询代销采购退款
type TaobaoFenxiaoRefundQueryAPIResponseModel ¶
type TaobaoFenxiaoRefundQueryAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_refund_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款列表 RefundList []RefundDetail `json:"refund_list,omitempty" xml:"refund_list>refund_detail,omitempty"` // 按查询条件查到的记录总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaoFenxiaoRefundQueryAPIResponseModel is 批量查询采购退款 成功返回结果
type TaobaoFenxiaoRequisitionsGetAPIRequest ¶
type TaobaoFenxiaoRequisitionsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoRequisitionsGetAPIRequest 合作申请查询 API请求 taobao.fenxiao.requisitions.get
合作申请查询
func NewTaobaoFenxiaoRequisitionsGetRequest ¶
func NewTaobaoFenxiaoRequisitionsGetRequest() *TaobaoFenxiaoRequisitionsGetAPIRequest
NewTaobaoFenxiaoRequisitionsGetRequest 初始化TaobaoFenxiaoRequisitionsGetAPIRequest对象
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyEnd ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyEnd() string
GetApplyEnd ApplyEnd Getter
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyStart ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetApplyStart() string
GetApplyStart ApplyStart Getter
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageNo ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageSize ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoRequisitionsGetAPIRequest) GetStatus ¶
func (r TaobaoFenxiaoRequisitionsGetAPIRequest) GetStatus() int64
GetStatus Status Getter
func (*TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyEnd ¶
func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyEnd(_applyEnd string) error
SetApplyEnd is ApplyEnd Setter 申请结束时间yyyy-MM-dd
func (*TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyStart ¶
func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetApplyStart(_applyStart string) error
SetApplyStart is ApplyStart Setter 申请开始时间yyyy-MM-dd
func (*TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageNo ¶
func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码(大于0的整数,默认1)
func (*TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageSize ¶
func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页记录数(默认20,最大50)
func (*TaobaoFenxiaoRequisitionsGetAPIRequest) SetStatus ¶
func (r *TaobaoFenxiaoRequisitionsGetAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 申请状态(1-申请中、2-成功、3-被退回、4-已撤消、5-过期)
type TaobaoFenxiaoRequisitionsGetAPIResponse ¶
type TaobaoFenxiaoRequisitionsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoRequisitionsGetAPIResponseModel }
TaobaoFenxiaoRequisitionsGetAPIResponse 合作申请查询 API返回值 taobao.fenxiao.requisitions.get
合作申请查询
type TaobaoFenxiaoRequisitionsGetAPIResponseModel ¶
type TaobaoFenxiaoRequisitionsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_requisitions_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 合作申请 Requisitions []Requisition `json:"requisitions,omitempty" xml:"requisitions>requisition,omitempty"` // 结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 操作是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoFenxiaoRequisitionsGetAPIResponseModel is 合作申请查询 成功返回结果
type TaobaoFenxiaoTradePrepayOfflineAddAPIRequest ¶
type TaobaoFenxiaoTradePrepayOfflineAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoTradePrepayOfflineAddAPIRequest 线下预存款流水增加 API请求 taobao.fenxiao.trade.prepay.offline.add
渠道分销供应商上传线下流水预存款(增加)
func NewTaobaoFenxiaoTradePrepayOfflineAddRequest ¶
func NewTaobaoFenxiaoTradePrepayOfflineAddRequest() *TaobaoFenxiaoTradePrepayOfflineAddAPIRequest
NewTaobaoFenxiaoTradePrepayOfflineAddRequest 初始化TaobaoFenxiaoTradePrepayOfflineAddAPIRequest对象
func (TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetOfflineAddPrepayParam ¶
func (r TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) GetOfflineAddPrepayParam() *TopOfflineAddPrepayDto
GetOfflineAddPrepayParam OfflineAddPrepayParam Getter
func (*TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) SetOfflineAddPrepayParam ¶
func (r *TaobaoFenxiaoTradePrepayOfflineAddAPIRequest) SetOfflineAddPrepayParam(_offlineAddPrepayParam *TopOfflineAddPrepayDto) error
SetOfflineAddPrepayParam is OfflineAddPrepayParam Setter 增加流水
type TaobaoFenxiaoTradePrepayOfflineAddAPIResponse ¶
type TaobaoFenxiaoTradePrepayOfflineAddAPIResponse struct { model.CommonResponse TaobaoFenxiaoTradePrepayOfflineAddAPIResponseModel }
TaobaoFenxiaoTradePrepayOfflineAddAPIResponse 线下预存款流水增加 API返回值 taobao.fenxiao.trade.prepay.offline.add
渠道分销供应商上传线下流水预存款(增加)
type TaobaoFenxiaoTradePrepayOfflineAddAPIResponseModel ¶
type TaobaoFenxiaoTradePrepayOfflineAddAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_trade_prepay_offline_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoFenxiaoTradePrepayOfflineAddResultTopDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoTradePrepayOfflineAddAPIResponseModel is 线下预存款流水增加 成功返回结果
type TaobaoFenxiaoTradePrepayOfflineAddResultTopDo ¶ added in v1.2.1
type TaobaoFenxiaoTradePrepayOfflineAddResultTopDo struct { // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoFenxiaoTradePrepayOfflineAddResultTopDo 结构体
type TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest ¶
type TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest 渠道分销供应商上传线下流水预存款(减少) API请求 taobao.fenxiao.trade.prepay.offline.reduce
渠道分销供应商上传线下流水预存款(减少)
func NewTaobaoFenxiaoTradePrepayOfflineReduceRequest ¶
func NewTaobaoFenxiaoTradePrepayOfflineReduceRequest() *TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest
NewTaobaoFenxiaoTradePrepayOfflineReduceRequest 初始化TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest对象
func (TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiMethodName ¶
func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiParams ¶
func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetOfflineReducePrepayParam ¶
func (r TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) GetOfflineReducePrepayParam() *TopOfflineReducePrepayDto
GetOfflineReducePrepayParam OfflineReducePrepayParam Getter
func (*TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) SetOfflineReducePrepayParam ¶
func (r *TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest) SetOfflineReducePrepayParam(_offlineReducePrepayParam *TopOfflineReducePrepayDto) error
SetOfflineReducePrepayParam is OfflineReducePrepayParam Setter 减少流水
type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponse ¶
type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponse struct { model.CommonResponse TaobaoFenxiaoTradePrepayOfflineReduceAPIResponseModel }
TaobaoFenxiaoTradePrepayOfflineReduceAPIResponse 渠道分销供应商上传线下流水预存款(减少) API返回值 taobao.fenxiao.trade.prepay.offline.reduce
渠道分销供应商上传线下流水预存款(减少)
type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponseModel ¶
type TaobaoFenxiaoTradePrepayOfflineReduceAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_trade_prepay_offline_reduce_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoFenxiaoTradePrepayOfflineReduceAPIResponseModel is 渠道分销供应商上传线下流水预存款(减少) 成功返回结果
type TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo ¶ added in v1.2.1
type TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo struct { // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo 结构体
type TaobaoFenxiaoYphOrderGetAPIRequest ¶ added in v1.2.5
type TaobaoFenxiaoYphOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoYphOrderGetAPIRequest 一盘货商家单个查询采购单信息 API请求 taobao.fenxiao.yph.order.get
一盘货商家单个查询采购单信息
func NewTaobaoFenxiaoYphOrderGetRequest ¶ added in v1.2.5
func NewTaobaoFenxiaoYphOrderGetRequest() *TaobaoFenxiaoYphOrderGetAPIRequest
NewTaobaoFenxiaoYphOrderGetRequest 初始化TaobaoFenxiaoYphOrderGetAPIRequest对象
func (TaobaoFenxiaoYphOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoYphOrderGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoYphOrderGetAPIRequest) GetPurchaseOrderId ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetPurchaseOrderId() int64
GetPurchaseOrderId PurchaseOrderId Getter
func (TaobaoFenxiaoYphOrderGetAPIRequest) GetUserRoleType ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrderGetAPIRequest) GetUserRoleType() int64
GetUserRoleType UserRoleType Getter
func (*TaobaoFenxiaoYphOrderGetAPIRequest) SetPurchaseOrderId ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrderGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
SetPurchaseOrderId is PurchaseOrderId Setter 采购单id,单个查询此参数必填
func (*TaobaoFenxiaoYphOrderGetAPIRequest) SetUserRoleType ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrderGetAPIRequest) SetUserRoleType(_userRoleType int64) error
SetUserRoleType is UserRoleType Setter 当前查询用户的角色 当不指定时,默认为供应商 供应商:2,分销商:1
type TaobaoFenxiaoYphOrderGetAPIResponse ¶ added in v1.2.5
type TaobaoFenxiaoYphOrderGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoYphOrderGetAPIResponseModel }
TaobaoFenxiaoYphOrderGetAPIResponse 一盘货商家单个查询采购单信息 API返回值 taobao.fenxiao.yph.order.get
一盘货商家单个查询采购单信息
type TaobaoFenxiaoYphOrderGetAPIResponseModel ¶ added in v1.2.5
type TaobaoFenxiaoYphOrderGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_yph_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回错误信息 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 操作时间 OptTime string `json:"opt_time,omitempty" xml:"opt_time,omitempty"` // 返回的采购单对象 PurchaseOrder *PurchaseOrder `json:"purchase_order,omitempty" xml:"purchase_order,omitempty"` }
TaobaoFenxiaoYphOrderGetAPIResponseModel is 一盘货商家单个查询采购单信息 成功返回结果
type TaobaoFenxiaoYphOrdersGetAPIRequest ¶ added in v1.2.5
type TaobaoFenxiaoYphOrdersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoYphOrdersGetAPIRequest 批量查询一盘货采购单信息 API请求 taobao.fenxiao.yph.orders.get
一盘货商家批量查询采购单信息
func NewTaobaoFenxiaoYphOrdersGetRequest ¶ added in v1.2.5
func NewTaobaoFenxiaoYphOrdersGetRequest() *TaobaoFenxiaoYphOrdersGetAPIRequest
NewTaobaoFenxiaoYphOrdersGetRequest 初始化TaobaoFenxiaoYphOrdersGetAPIRequest对象
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetBeginTime ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetBeginTime() string
GetBeginTime BeginTime Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetChannelCodes ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetChannelCodes() int64
GetChannelCodes ChannelCodes Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetEndTime ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetOrderStatus ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetOrderStatus() int64
GetOrderStatus OrderStatus Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetRefundStatus ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetRefundStatus() int64
GetRefundStatus RefundStatus Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetTradeTypes ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetTradeTypes() int64
GetTradeTypes TradeTypes Getter
func (TaobaoFenxiaoYphOrdersGetAPIRequest) GetUserRoleType ¶ added in v1.2.5
func (r TaobaoFenxiaoYphOrdersGetAPIRequest) GetUserRoleType() int64
GetUserRoleType UserRoleType Getter
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetBeginTime ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetBeginTime(_beginTime string) error
SetBeginTime is BeginTime Setter 采购单最后更新时间-起始时间,格式 yyyy-MM-dd HH:mm:ss 支持到秒的查询。时间跨度必须在0-7天。
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetChannelCodes ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetChannelCodes(_channelCodes int64) error
SetChannelCodes is ChannelCodes Setter 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场;302-猫超一盘货;506-虾选一盘货
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetEndTime ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 采购单最后更新时间-结束时间,格式 yyyy-MM-dd HH:mm:ss 支持到秒的查询。时间跨度必须在0-7天。
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetOrderStatus ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetOrderStatus(_orderStatus int64) error
SetOrderStatus is OrderStatus Setter 主采购单交易状态-数字表示,枚举:1-已付款,待发货;2-待确认收款;4-等待买家付款;5-已付款,已发货;6-交易成功;7-交易关闭;8-已付款;
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页号,不填则默认为1
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数。(每页条数不超过50条)
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetRefundStatus ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetRefundStatus(_refundStatus int64) error
SetRefundStatus is RefundStatus Setter 主采购单退款状态-数字表示,枚举:9-没有过申请退款;10-退款活动中,至少有一个子单在退款中;11-退款结束,即曾经发生过退款且所有退款都完结了
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetTradeTypes ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetTradeTypes(_tradeTypes int64) error
SetTradeTypes is TradeTypes Setter 查询的经营模式,当不指定时,默认查询代销订单 代销:1 经销:2 寄售(自营寄售):5 平台寄售:6
func (*TaobaoFenxiaoYphOrdersGetAPIRequest) SetUserRoleType ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphOrdersGetAPIRequest) SetUserRoleType(_userRoleType int64) error
SetUserRoleType is UserRoleType Setter 当前查询用户的角色 当不指定时,默认为供应商 供应商:2,分销商:1
type TaobaoFenxiaoYphOrdersGetAPIResponse ¶ added in v1.2.5
type TaobaoFenxiaoYphOrdersGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoYphOrdersGetAPIResponseModel }
TaobaoFenxiaoYphOrdersGetAPIResponse 批量查询一盘货采购单信息 API返回值 taobao.fenxiao.yph.orders.get
一盘货商家批量查询采购单信息
type TaobaoFenxiaoYphOrdersGetAPIResponseModel ¶ added in v1.2.5
type TaobaoFenxiaoYphOrdersGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_yph_orders_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 采购单及子采购单信息 PurchaseOrders []OrderList `json:"purchase_orders,omitempty" xml:"purchase_orders>order_list,omitempty"` // 错误说明 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 接口操作时间 OptTime string `json:"opt_time,omitempty" xml:"opt_time,omitempty"` // 接口返回错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 采购单查询总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoFenxiaoYphOrdersGetAPIResponseModel is 批量查询一盘货采购单信息 成功返回结果
type TaobaoFenxiaoYphRefundGetAPIRequest ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoYphRefundGetAPIRequest 一盘货商家单个查询退款单信息 API请求 taobao.fenxiao.yph.refund.get
一盘货商家单个查询退款单信息
func NewTaobaoFenxiaoYphRefundGetRequest ¶ added in v1.2.5
func NewTaobaoFenxiaoYphRefundGetRequest() *TaobaoFenxiaoYphRefundGetAPIRequest
NewTaobaoFenxiaoYphRefundGetRequest 初始化TaobaoFenxiaoYphRefundGetAPIRequest对象
func (TaobaoFenxiaoYphRefundGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoYphRefundGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoYphRefundGetAPIRequest) GetQueryB2cRefund ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetQueryB2cRefund() bool
GetQueryB2cRefund QueryB2cRefund Getter
func (TaobaoFenxiaoYphRefundGetAPIRequest) GetRefundId ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundGetAPIRequest) GetRefundId() int64
GetRefundId RefundId Getter
func (*TaobaoFenxiaoYphRefundGetAPIRequest) SetQueryB2cRefund ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundGetAPIRequest) SetQueryB2cRefund(_queryB2cRefund bool) error
SetQueryB2cRefund is QueryB2cRefund Setter 是否查询前台消费者退款
func (*TaobaoFenxiaoYphRefundGetAPIRequest) SetRefundId ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundGetAPIRequest) SetRefundId(_refundId int64) error
SetRefundId is RefundId Setter 分销退款单id,此参数必填
type TaobaoFenxiaoYphRefundGetAPIResponse ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoYphRefundGetAPIResponseModel }
TaobaoFenxiaoYphRefundGetAPIResponse 一盘货商家单个查询退款单信息 API返回值 taobao.fenxiao.yph.refund.get
一盘货商家单个查询退款单信息
type TaobaoFenxiaoYphRefundGetAPIResponseModel ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_yph_refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回值错误信息 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 操作时间 OptTime string `json:"opt_time,omitempty" xml:"opt_time,omitempty"` // 退款单查询详情 RefundDetail *RefundDetail `json:"refund_detail,omitempty" xml:"refund_detail,omitempty"` }
TaobaoFenxiaoYphRefundGetAPIResponseModel is 一盘货商家单个查询退款单信息 成功返回结果
type TaobaoFenxiaoYphRefundsGetAPIRequest ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoFenxiaoYphRefundsGetAPIRequest 一盘货商家批量查询退款单信息 API请求 taobao.fenxiao.yph.refunds.get
一盘货商家批量查询退款单信息
func NewTaobaoFenxiaoYphRefundsGetRequest ¶ added in v1.2.5
func NewTaobaoFenxiaoYphRefundsGetRequest() *TaobaoFenxiaoYphRefundsGetAPIRequest
NewTaobaoFenxiaoYphRefundsGetRequest 初始化TaobaoFenxiaoYphRefundsGetAPIRequest对象
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetChannelCodes ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetChannelCodes() int64
GetChannelCodes ChannelCodes Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedBeginTime ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedBeginTime() string
GetModifiedBeginTime ModifiedBeginTime Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedEndTime ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetModifiedEndTime() string
GetModifiedEndTime ModifiedEndTime Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetPurchaseOrderId ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetPurchaseOrderId() int64
GetPurchaseOrderId PurchaseOrderId Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetQueryB2cRefund ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetQueryB2cRefund() bool
GetQueryB2cRefund QueryB2cRefund Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundStatusList ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundStatusList() int64
GetRefundStatusList RefundStatusList Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundTypeList ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetRefundTypeList() int64
GetRefundTypeList RefundTypeList Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetSubOrderId ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetTradeTypes ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetTradeTypes() int64
GetTradeTypes TradeTypes Getter
func (TaobaoFenxiaoYphRefundsGetAPIRequest) GetUserRoleType ¶ added in v1.2.5
func (r TaobaoFenxiaoYphRefundsGetAPIRequest) GetUserRoleType() int64
GetUserRoleType UserRoleType Getter
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetChannelCodes ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetChannelCodes(_channelCodes int64) error
SetChannelCodes is ChannelCodes Setter 渠道市场编码,可批量指定。 当不指定时,按照配置的分销市场生效 渠道编码枚举:1-供销平台(淘宝);2-供销平台(天猫);3-供销平台(天猫超市);5-供销平台(淘乡甜);110001-供销平台(全球购);110007-淘分销;200002-消费电子市场;302-猫超一盘货;506-虾选一盘货;27-优品一盘货
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedBeginTime ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedBeginTime(_modifiedBeginTime string) error
SetModifiedBeginTime is ModifiedBeginTime Setter 退款单最后修改时间,查询最后修改时间在modify_begin_time到modify_end_time时间间隔内的所有退款单,时间间隔不能超过30天,格式 yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedEndTime ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetModifiedEndTime(_modifiedEndTime string) error
SetModifiedEndTime is ModifiedEndTime Setter 退款单最后修改时间,查询最后修改时间在modify_begin_time到modify_end_time时间间隔内的所有退款单,时间间隔不能超过30天,格式 yyyy-MM-dd HH:mm:ss
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页号,不填则默认为1
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数,必填,不可超过50条
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetPurchaseOrderId ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error
SetPurchaseOrderId is PurchaseOrderId Setter 分销采购单id
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetQueryB2cRefund ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetQueryB2cRefund(_queryB2cRefund bool) error
SetQueryB2cRefund is QueryB2cRefund Setter 是否查询前台消费者退款
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundStatusList ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundStatusList(_refundStatusList int64) error
SetRefundStatusList is RefundStatusList Setter 退款单状态,10-已撤回;20-等待卖家同意;30-卖家拒绝退款,等待买家修改;40-等待买家退货;50-买家退货,等待卖家确认收货;60-卖家拒绝收货;90-等待系统打款;100-退款成功;200-退款关闭
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundTypeList ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetRefundTypeList(_refundTypeList int64) error
SetRefundTypeList is RefundTypeList Setter 退款单类型,10-未发货退款;20-已发货退货;30-已发货仅退款;40-拒收
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetSubOrderId ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 分销采购单子单id
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetTradeTypes ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetTradeTypes(_tradeTypes int64) error
SetTradeTypes is TradeTypes Setter 交易模式(分销方式):1-代销;2-经销;5-寄售;6-平台寄售
func (*TaobaoFenxiaoYphRefundsGetAPIRequest) SetUserRoleType ¶ added in v1.2.5
func (r *TaobaoFenxiaoYphRefundsGetAPIRequest) SetUserRoleType(_userRoleType int64) error
SetUserRoleType is UserRoleType Setter 当前查询用户的角色 当不指定时,默认为供应商 供应商:2,分销商:1
type TaobaoFenxiaoYphRefundsGetAPIResponse ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundsGetAPIResponse struct { model.CommonResponse TaobaoFenxiaoYphRefundsGetAPIResponseModel }
TaobaoFenxiaoYphRefundsGetAPIResponse 一盘货商家批量查询退款单信息 API返回值 taobao.fenxiao.yph.refunds.get
一盘货商家批量查询退款单信息
type TaobaoFenxiaoYphRefundsGetAPIResponseModel ¶ added in v1.2.5
type TaobaoFenxiaoYphRefundsGetAPIResponseModel struct { XMLName xml.Name `xml:"fenxiao_yph_refunds_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 退款单详情列表 RefundDetailList []RefundDetailList `json:"refund_detail_list,omitempty" xml:"refund_detail_list>refund_detail_list,omitempty"` // 操作时间 OptTime string `json:"opt_time,omitempty" xml:"opt_time,omitempty"` // 返回结果错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回结果错误信息 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 退款单查询总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoFenxiaoYphRefundsGetAPIResponseModel is 一盘货商家批量查询退款单信息 成功返回结果
type TaobaoInventoryAdjustExternalAPIRequest ¶
type TaobaoInventoryAdjustExternalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryAdjustExternalAPIRequest 非交易库存调整单 API请求 taobao.inventory.adjust.external
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家非交易调整库存,调拨出库、盘点等时调用
func NewTaobaoInventoryAdjustExternalRequest ¶
func NewTaobaoInventoryAdjustExternalRequest() *TaobaoInventoryAdjustExternalAPIRequest
NewTaobaoInventoryAdjustExternalRequest 初始化TaobaoInventoryAdjustExternalAPIRequest对象
func (TaobaoInventoryAdjustExternalAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryAdjustExternalAPIRequest) GetApiParams ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryAdjustExternalAPIRequest) GetBizType ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetBizType() string
GetBizType BizType Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetBizUniqueCode ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetBizUniqueCode() string
GetBizUniqueCode BizUniqueCode Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetItems ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetItems() string
GetItems Items Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetOccupyOperateCode ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetOccupyOperateCode() string
GetOccupyOperateCode OccupyOperateCode Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetOperateTime ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetOperateTime() string
GetOperateTime OperateTime Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetOperateType ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetOperateType() string
GetOperateType OperateType Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetReduceType ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetReduceType() string
GetReduceType ReduceType Getter
func (TaobaoInventoryAdjustExternalAPIRequest) GetStoreCode ¶
func (r TaobaoInventoryAdjustExternalAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoInventoryAdjustExternalAPIRequest) SetBizType ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetBizType(_bizType string) error
SetBizType is BizType Setter 外部订单类型, BALANCE:盘点、NON_TAOBAO_TRADE:非淘宝交易、ALLOCATE:调拨、OTHERS:其他
func (*TaobaoInventoryAdjustExternalAPIRequest) SetBizUniqueCode ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetBizUniqueCode(_bizUniqueCode string) error
SetBizUniqueCode is BizUniqueCode Setter 商家外部定单号
func (*TaobaoInventoryAdjustExternalAPIRequest) SetItems ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetItems(_items string) error
SetItems is Items Setter 商品初始库存信息: [{"scItemId":"商品后端ID,如果有传scItemCode,参数可以为0","scItemCode":"商品商家编码","inventoryType":"库存类型 1:正常,”direction”: 1: 盘盈 -1: 盘亏,参数可选,"quantity":"数量(正数)"}]
func (*TaobaoInventoryAdjustExternalAPIRequest) SetOccupyOperateCode ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOccupyOperateCode(_occupyOperateCode string) error
SetOccupyOperateCode is OccupyOperateCode Setter 库存占用返回的操作码.operate_type 为OUTBOUND时,如果是确认事先进行过的库存占用,需要传入当时返回的操作码,并且明细必须与申请时保持一致
func (*TaobaoInventoryAdjustExternalAPIRequest) SetOperateTime ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOperateTime(_operateTime string) error
SetOperateTime is OperateTime Setter 业务操作时间
func (*TaobaoInventoryAdjustExternalAPIRequest) SetOperateType ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetOperateType(_operateType string) error
SetOperateType is OperateType Setter test
func (*TaobaoInventoryAdjustExternalAPIRequest) SetReduceType ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetReduceType(_reduceType string) error
SetReduceType is ReduceType Setter test
func (*TaobaoInventoryAdjustExternalAPIRequest) SetStoreCode ¶
func (r *TaobaoInventoryAdjustExternalAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 商家仓库编码
type TaobaoInventoryAdjustExternalAPIResponse ¶
type TaobaoInventoryAdjustExternalAPIResponse struct { model.CommonResponse TaobaoInventoryAdjustExternalAPIResponseModel }
TaobaoInventoryAdjustExternalAPIResponse 非交易库存调整单 API返回值 taobao.inventory.adjust.external
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家非交易调整库存,调拨出库、盘点等时调用
type TaobaoInventoryAdjustExternalAPIResponseModel ¶
type TaobaoInventoryAdjustExternalAPIResponseModel struct { XMLName xml.Name `xml:"inventory_adjust_external_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提示信息 TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` // 操作返回码 OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"` }
TaobaoInventoryAdjustExternalAPIResponseModel is 非交易库存调整单 成功返回结果
type TaobaoInventoryAdjustTradeAPIRequest ¶
type TaobaoInventoryAdjustTradeAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryAdjustTradeAPIRequest 交易库存调整单 API请求 taobao.inventory.adjust.trade
商家交易调整库存,淘宝交易、B2B经销等
func NewTaobaoInventoryAdjustTradeRequest ¶
func NewTaobaoInventoryAdjustTradeRequest() *TaobaoInventoryAdjustTradeAPIRequest
NewTaobaoInventoryAdjustTradeRequest 初始化TaobaoInventoryAdjustTradeAPIRequest对象
func (TaobaoInventoryAdjustTradeAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryAdjustTradeAPIRequest) GetApiParams ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryAdjustTradeAPIRequest) GetBizUniqueCode ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetBizUniqueCode() string
GetBizUniqueCode BizUniqueCode Getter
func (TaobaoInventoryAdjustTradeAPIRequest) GetItems ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetItems() string
GetItems Items Getter
func (TaobaoInventoryAdjustTradeAPIRequest) GetOperateTime ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetOperateTime() string
GetOperateTime OperateTime Getter
func (TaobaoInventoryAdjustTradeAPIRequest) GetTbOrderType ¶
func (r TaobaoInventoryAdjustTradeAPIRequest) GetTbOrderType() string
GetTbOrderType TbOrderType Getter
func (*TaobaoInventoryAdjustTradeAPIRequest) SetBizUniqueCode ¶
func (r *TaobaoInventoryAdjustTradeAPIRequest) SetBizUniqueCode(_bizUniqueCode string) error
SetBizUniqueCode is BizUniqueCode Setter 商家外部定单号
func (*TaobaoInventoryAdjustTradeAPIRequest) SetItems ¶
func (r *TaobaoInventoryAdjustTradeAPIRequest) SetItems(_items string) error
SetItems is Items Setter 商品初始库存信息: [{ "TBOrderCode”:”淘宝交易号”,"TBSubOrderCode ":"淘宝子交易单号,赠品可以不填","”isGift”:”TRUE或者FALSE,是否赠品”,storeCode":"商家仓库编码"," scItemId ":"商品后端ID","scItemCode":"商品商家编码"," originScItemId ":"原商品ID","inventoryType":"","quantity":"111","isComplete":"TRUE或者FALSE,是否全部确认出库"}]
func (*TaobaoInventoryAdjustTradeAPIRequest) SetOperateTime ¶
func (r *TaobaoInventoryAdjustTradeAPIRequest) SetOperateTime(_operateTime string) error
SetOperateTime is OperateTime Setter 业务操作时间
func (*TaobaoInventoryAdjustTradeAPIRequest) SetTbOrderType ¶
func (r *TaobaoInventoryAdjustTradeAPIRequest) SetTbOrderType(_tbOrderType string) error
SetTbOrderType is TbOrderType Setter 订单类型:B2C、B2B
type TaobaoInventoryAdjustTradeAPIResponse ¶
type TaobaoInventoryAdjustTradeAPIResponse struct { model.CommonResponse TaobaoInventoryAdjustTradeAPIResponseModel }
TaobaoInventoryAdjustTradeAPIResponse 交易库存调整单 API返回值 taobao.inventory.adjust.trade
商家交易调整库存,淘宝交易、B2B经销等
type TaobaoInventoryAdjustTradeAPIResponseModel ¶
type TaobaoInventoryAdjustTradeAPIResponseModel struct { XMLName xml.Name `xml:"inventory_adjust_trade_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提示信息 TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` // 操作返回码 OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"` }
TaobaoInventoryAdjustTradeAPIResponseModel is 交易库存调整单 成功返回结果
type TaobaoInventoryInitialAPIRequest ¶
type TaobaoInventoryInitialAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryInitialAPIRequest 库存初始化 API请求 taobao.inventory.initial
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓库存初始化接口,直接按照商家指定的商品库存数进行填充,没有单据核对,不参与库存对账。
func NewTaobaoInventoryInitialRequest ¶
func NewTaobaoInventoryInitialRequest() *TaobaoInventoryInitialAPIRequest
NewTaobaoInventoryInitialRequest 初始化TaobaoInventoryInitialAPIRequest对象
func (TaobaoInventoryInitialAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryInitialAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryInitialAPIRequest) GetApiParams ¶
func (r TaobaoInventoryInitialAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryInitialAPIRequest) GetItems ¶
func (r TaobaoInventoryInitialAPIRequest) GetItems() string
GetItems Items Getter
func (TaobaoInventoryInitialAPIRequest) GetStoreCode ¶
func (r TaobaoInventoryInitialAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoInventoryInitialAPIRequest) SetItems ¶
func (r *TaobaoInventoryInitialAPIRequest) SetItems(_items string) error
SetItems is Items Setter 商品初始库存信息: [{"scItemId":"商品后端ID,如果有传scItemCode,参数可以为0","scItemCode":"商品商家编码","inventoryType":"库存类型 1:正常,2:损坏,3:冻结,10:质押,11-20:用户自定义","quantity":"数量"}]
func (*TaobaoInventoryInitialAPIRequest) SetStoreCode ¶
func (r *TaobaoInventoryInitialAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 商家仓库编码
type TaobaoInventoryInitialAPIResponse ¶
type TaobaoInventoryInitialAPIResponse struct { model.CommonResponse TaobaoInventoryInitialAPIResponseModel }
TaobaoInventoryInitialAPIResponse 库存初始化 API返回值 taobao.inventory.initial
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓库存初始化接口,直接按照商家指定的商品库存数进行填充,没有单据核对,不参与库存对账。
type TaobaoInventoryInitialAPIResponseModel ¶
type TaobaoInventoryInitialAPIResponseModel struct { XMLName xml.Name `xml:"inventory_initial_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提示信息 TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` }
TaobaoInventoryInitialAPIResponseModel is 库存初始化 成功返回结果
type TaobaoInventoryInitialItemAPIRequest ¶
type TaobaoInventoryInitialItemAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryInitialItemAPIRequest 商品库存初始化 API请求 taobao.inventory.initial.item
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓商品初始化在各个仓中库存
func NewTaobaoInventoryInitialItemRequest ¶
func NewTaobaoInventoryInitialItemRequest() *TaobaoInventoryInitialItemAPIRequest
NewTaobaoInventoryInitialItemRequest 初始化TaobaoInventoryInitialItemAPIRequest对象
func (TaobaoInventoryInitialItemAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryInitialItemAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryInitialItemAPIRequest) GetApiParams ¶
func (r TaobaoInventoryInitialItemAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryInitialItemAPIRequest) GetScItemId ¶
func (r TaobaoInventoryInitialItemAPIRequest) GetScItemId() int64
GetScItemId ScItemId Getter
func (TaobaoInventoryInitialItemAPIRequest) GetStoreInventorys ¶
func (r TaobaoInventoryInitialItemAPIRequest) GetStoreInventorys() string
GetStoreInventorys StoreInventorys Getter
func (*TaobaoInventoryInitialItemAPIRequest) SetScItemId ¶
func (r *TaobaoInventoryInitialItemAPIRequest) SetScItemId(_scItemId int64) error
SetScItemId is ScItemId Setter 后端商品id
func (*TaobaoInventoryInitialItemAPIRequest) SetStoreInventorys ¶
func (r *TaobaoInventoryInitialItemAPIRequest) SetStoreInventorys(_storeInventorys string) error
SetStoreInventorys is StoreInventorys Setter 商品初始库存信息: [{"storeCode":"必选,商家仓库编号","inventoryType":"可选,库存类型 1:正常,2:损坏,3:冻结,10:质押,11-20:用户自定义,默认为1","quantity":"必选,数量"}]
type TaobaoInventoryInitialItemAPIResponse ¶
type TaobaoInventoryInitialItemAPIResponse struct { model.CommonResponse TaobaoInventoryInitialItemAPIResponseModel }
TaobaoInventoryInitialItemAPIResponse 商品库存初始化 API返回值 taobao.inventory.initial.item
建议使用新接口:taobao.inventory.merchant.adjust ,该接口会逐步停用。 商家仓商品初始化在各个仓中库存
type TaobaoInventoryInitialItemAPIResponseModel ¶
type TaobaoInventoryInitialItemAPIResponseModel struct { XMLName xml.Name `xml:"inventory_initial_item_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 提示信息 TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` }
TaobaoInventoryInitialItemAPIResponseModel is 商品库存初始化 成功返回结果
type TaobaoInventoryQueryAPIRequest ¶
type TaobaoInventoryQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryQueryAPIRequest 查询商品库存信息 API请求 taobao.inventory.query
建议使用新接口:tmall.inventory.query.forstore ,新ISV不推荐使用。 商家查询商品总体库存信息
func NewTaobaoInventoryQueryRequest ¶
func NewTaobaoInventoryQueryRequest() *TaobaoInventoryQueryAPIRequest
NewTaobaoInventoryQueryRequest 初始化TaobaoInventoryQueryAPIRequest对象
func (TaobaoInventoryQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryQueryAPIRequest) GetApiParams ¶
func (r TaobaoInventoryQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryQueryAPIRequest) GetScItemCodes ¶
func (r TaobaoInventoryQueryAPIRequest) GetScItemCodes() string
GetScItemCodes ScItemCodes Getter
func (TaobaoInventoryQueryAPIRequest) GetScItemIds ¶
func (r TaobaoInventoryQueryAPIRequest) GetScItemIds() string
GetScItemIds ScItemIds Getter
func (TaobaoInventoryQueryAPIRequest) GetSellerNick ¶
func (r TaobaoInventoryQueryAPIRequest) GetSellerNick() string
GetSellerNick SellerNick Getter
func (TaobaoInventoryQueryAPIRequest) GetStoreCodes ¶
func (r TaobaoInventoryQueryAPIRequest) GetStoreCodes() string
GetStoreCodes StoreCodes Getter
func (*TaobaoInventoryQueryAPIRequest) SetScItemCodes ¶
func (r *TaobaoInventoryQueryAPIRequest) SetScItemCodes(_scItemCodes string) error
SetScItemCodes is ScItemCodes Setter 后端商品的商家编码列表,控制到50个
func (*TaobaoInventoryQueryAPIRequest) SetScItemIds ¶
func (r *TaobaoInventoryQueryAPIRequest) SetScItemIds(_scItemIds string) error
SetScItemIds is ScItemIds Setter 后端商品ID 列表,控制到50个
func (*TaobaoInventoryQueryAPIRequest) SetSellerNick ¶
func (r *TaobaoInventoryQueryAPIRequest) SetSellerNick(_sellerNick string) error
SetSellerNick is SellerNick Setter 卖家昵称
func (*TaobaoInventoryQueryAPIRequest) SetStoreCodes ¶
func (r *TaobaoInventoryQueryAPIRequest) SetStoreCodes(_storeCodes string) error
SetStoreCodes is StoreCodes Setter 仓库列表:GLY001^GLY002
type TaobaoInventoryQueryAPIResponse ¶
type TaobaoInventoryQueryAPIResponse struct { model.CommonResponse TaobaoInventoryQueryAPIResponseModel }
TaobaoInventoryQueryAPIResponse 查询商品库存信息 API返回值 taobao.inventory.query
建议使用新接口:tmall.inventory.query.forstore ,新ISV不推荐使用。 商家查询商品总体库存信息
type TaobaoInventoryQueryAPIResponseModel ¶
type TaobaoInventoryQueryAPIResponseModel struct { XMLName xml.Name `xml:"inventory_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品总体库存信息 ItemInventorys []InventorySum `json:"item_inventorys,omitempty" xml:"item_inventorys>inventory_sum,omitempty"` // 提示信息,提示不存在的后端商品 TipInfos []TipInfo `json:"tip_infos,omitempty" xml:"tip_infos>tip_info,omitempty"` }
TaobaoInventoryQueryAPIResponseModel is 查询商品库存信息 成功返回结果
type TaobaoInventoryStoreManageAPIRequest ¶
type TaobaoInventoryStoreManageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryStoreManageAPIRequest 创建或更新仓库 API请求 taobao.inventory.store.manage
创建商家仓或者更新商家仓信息
func NewTaobaoInventoryStoreManageRequest ¶
func NewTaobaoInventoryStoreManageRequest() *TaobaoInventoryStoreManageAPIRequest
NewTaobaoInventoryStoreManageRequest 初始化TaobaoInventoryStoreManageAPIRequest对象
func (TaobaoInventoryStoreManageAPIRequest) GetAddress ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetAddress() string
GetAddress Address Getter
func (TaobaoInventoryStoreManageAPIRequest) GetAddressAreaName ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetAddressAreaName() string
GetAddressAreaName AddressAreaName Getter
func (TaobaoInventoryStoreManageAPIRequest) GetAliasName ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetAliasName() string
GetAliasName AliasName Getter
func (TaobaoInventoryStoreManageAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryStoreManageAPIRequest) GetApiParams ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryStoreManageAPIRequest) GetContact ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetContact() string
GetContact Contact Getter
func (TaobaoInventoryStoreManageAPIRequest) GetOperateType ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetOperateType() string
GetOperateType OperateType Getter
func (TaobaoInventoryStoreManageAPIRequest) GetPhone ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetPhone() string
GetPhone Phone Getter
func (TaobaoInventoryStoreManageAPIRequest) GetPostcode ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetPostcode() int64
GetPostcode Postcode Getter
func (TaobaoInventoryStoreManageAPIRequest) GetStoreCode ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (TaobaoInventoryStoreManageAPIRequest) GetStoreName ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetStoreName() string
GetStoreName StoreName Getter
func (TaobaoInventoryStoreManageAPIRequest) GetStoreType ¶
func (r TaobaoInventoryStoreManageAPIRequest) GetStoreType() string
GetStoreType StoreType Getter
func (*TaobaoInventoryStoreManageAPIRequest) SetAddress ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetAddress(_address string) error
SetAddress is Address Setter 仓库的物理地址,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetAddressAreaName ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetAddressAreaName(_addressAreaName string) error
SetAddressAreaName is AddressAreaName Setter 仓库区域名,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetAliasName ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetAliasName(_aliasName string) error
SetAliasName is AliasName Setter 仓库简称,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetContact ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetContact(_contact string) error
SetContact is Contact Setter 联系人,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetOperateType ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetOperateType(_operateType string) error
SetOperateType is OperateType Setter 参数定义,ADD:新建; UPDATE:更新
func (*TaobaoInventoryStoreManageAPIRequest) SetPhone ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetPhone(_phone string) error
SetPhone is Phone Setter 联系电话,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetPostcode ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetPostcode(_postcode int64) error
SetPostcode is Postcode Setter 邮编,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetStoreCode ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 商家的仓库编码,不允许重复,不允许更新
func (*TaobaoInventoryStoreManageAPIRequest) SetStoreName ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreName(_storeName string) error
SetStoreName is StoreName Setter 商家的仓库名称,可更新
func (*TaobaoInventoryStoreManageAPIRequest) SetStoreType ¶
func (r *TaobaoInventoryStoreManageAPIRequest) SetStoreType(_storeType string) error
SetStoreType is StoreType Setter 仓库类型,可更新。目前只支持自有仓,TYPE_OWN:自有物理仓
type TaobaoInventoryStoreManageAPIResponse ¶
type TaobaoInventoryStoreManageAPIResponse struct { model.CommonResponse TaobaoInventoryStoreManageAPIResponseModel }
TaobaoInventoryStoreManageAPIResponse 创建或更新仓库 API返回值 taobao.inventory.store.manage
创建商家仓或者更新商家仓信息
type TaobaoInventoryStoreManageAPIResponseModel ¶
type TaobaoInventoryStoreManageAPIResponseModel struct { XMLName xml.Name `xml:"inventory_store_manage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 StoreList []Store `json:"store_list,omitempty" xml:"store_list>store,omitempty"` }
TaobaoInventoryStoreManageAPIResponseModel is 创建或更新仓库 成功返回结果
type TaobaoInventoryStoreQueryAPIRequest ¶
type TaobaoInventoryStoreQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryStoreQueryAPIRequest 查询仓库信息 API请求 taobao.inventory.store.query
查询商家仓信息
func NewTaobaoInventoryStoreQueryRequest ¶
func NewTaobaoInventoryStoreQueryRequest() *TaobaoInventoryStoreQueryAPIRequest
NewTaobaoInventoryStoreQueryRequest 初始化TaobaoInventoryStoreQueryAPIRequest对象
func (TaobaoInventoryStoreQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryStoreQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryStoreQueryAPIRequest) GetApiParams ¶
func (r TaobaoInventoryStoreQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryStoreQueryAPIRequest) GetStoreCode ¶
func (r TaobaoInventoryStoreQueryAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoInventoryStoreQueryAPIRequest) SetStoreCode ¶
func (r *TaobaoInventoryStoreQueryAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 商家的仓库编码
type TaobaoInventoryStoreQueryAPIResponse ¶
type TaobaoInventoryStoreQueryAPIResponse struct { model.CommonResponse TaobaoInventoryStoreQueryAPIResponseModel }
TaobaoInventoryStoreQueryAPIResponse 查询仓库信息 API返回值 taobao.inventory.store.query
查询商家仓信息
type TaobaoInventoryStoreQueryAPIResponseModel ¶
type TaobaoInventoryStoreQueryAPIResponseModel struct { XMLName xml.Name `xml:"inventory_store_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 仓库列表 StoreList []Store `json:"store_list,omitempty" xml:"store_list>store,omitempty"` }
TaobaoInventoryStoreQueryAPIResponseModel is 查询仓库信息 成功返回结果
type TaobaoInventoryWarehouseManageAPIRequest ¶
type TaobaoInventoryWarehouseManageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryWarehouseManageAPIRequest 创建商家仓或者更新商家仓信息 API请求 taobao.inventory.warehouse.manage
创建商家仓或者更新商家仓信息
func NewTaobaoInventoryWarehouseManageRequest ¶
func NewTaobaoInventoryWarehouseManageRequest() *TaobaoInventoryWarehouseManageAPIRequest
NewTaobaoInventoryWarehouseManageRequest 初始化TaobaoInventoryWarehouseManageAPIRequest对象
func (TaobaoInventoryWarehouseManageAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryWarehouseManageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryWarehouseManageAPIRequest) GetApiParams ¶
func (r TaobaoInventoryWarehouseManageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryWarehouseManageAPIRequest) GetWareHouseDto ¶
func (r TaobaoInventoryWarehouseManageAPIRequest) GetWareHouseDto() *WareHouseDto
GetWareHouseDto WareHouseDto Getter
func (*TaobaoInventoryWarehouseManageAPIRequest) SetWareHouseDto ¶
func (r *TaobaoInventoryWarehouseManageAPIRequest) SetWareHouseDto(_wareHouseDto *WareHouseDto) error
SetWareHouseDto is WareHouseDto Setter 仓库信息
type TaobaoInventoryWarehouseManageAPIResponse ¶
type TaobaoInventoryWarehouseManageAPIResponse struct { model.CommonResponse TaobaoInventoryWarehouseManageAPIResponseModel }
TaobaoInventoryWarehouseManageAPIResponse 创建商家仓或者更新商家仓信息 API返回值 taobao.inventory.warehouse.manage
创建商家仓或者更新商家仓信息
type TaobaoInventoryWarehouseManageAPIResponseModel ¶
type TaobaoInventoryWarehouseManageAPIResponseModel struct { XMLName xml.Name `xml:"inventory_warehouse_manage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoInventoryWarehouseManageResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoInventoryWarehouseManageAPIResponseModel is 创建商家仓或者更新商家仓信息 成功返回结果
type TaobaoInventoryWarehouseManageResult ¶
type TaobaoInventoryWarehouseManageResult struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // data Data bool `json:"data,omitempty" xml:"data,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoInventoryWarehouseManageResult 结构体
type TaobaoInventoryWarehouseQueryAPIRequest ¶
type TaobaoInventoryWarehouseQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoInventoryWarehouseQueryAPIRequest 分页查询商家仓信息 API请求 taobao.inventory.warehouse.query
分页查询商家仓信息
func NewTaobaoInventoryWarehouseQueryRequest ¶
func NewTaobaoInventoryWarehouseQueryRequest() *TaobaoInventoryWarehouseQueryAPIRequest
NewTaobaoInventoryWarehouseQueryRequest 初始化TaobaoInventoryWarehouseQueryAPIRequest对象
func (TaobaoInventoryWarehouseQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoInventoryWarehouseQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoInventoryWarehouseQueryAPIRequest) GetApiParams ¶
func (r TaobaoInventoryWarehouseQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoInventoryWarehouseQueryAPIRequest) GetPageNo ¶
func (r TaobaoInventoryWarehouseQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoInventoryWarehouseQueryAPIRequest) GetPageSize ¶
func (r TaobaoInventoryWarehouseQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (*TaobaoInventoryWarehouseQueryAPIRequest) SetPageNo ¶
func (r *TaobaoInventoryWarehouseQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaoInventoryWarehouseQueryAPIRequest) SetPageSize ¶
func (r *TaobaoInventoryWarehouseQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小
type TaobaoInventoryWarehouseQueryAPIResponse ¶
type TaobaoInventoryWarehouseQueryAPIResponse struct { model.CommonResponse TaobaoInventoryWarehouseQueryAPIResponseModel }
TaobaoInventoryWarehouseQueryAPIResponse 分页查询商家仓信息 API返回值 taobao.inventory.warehouse.query
分页查询商家仓信息
type TaobaoInventoryWarehouseQueryAPIResponseModel ¶
type TaobaoInventoryWarehouseQueryAPIResponseModel struct { XMLName xml.Name `xml:"inventory_warehouse_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *PaginationResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoInventoryWarehouseQueryAPIResponseModel is 分页查询商家仓信息 成功返回结果
type TaobaoKaolaScitemAddAPIRequest ¶
type TaobaoKaolaScitemAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoKaolaScitemAddAPIRequest 考拉货品新增接口 API请求 taobao.kaola.scitem.add
考拉货品新增接口
func NewTaobaoKaolaScitemAddRequest ¶
func NewTaobaoKaolaScitemAddRequest() *TaobaoKaolaScitemAddAPIRequest
NewTaobaoKaolaScitemAddRequest 初始化TaobaoKaolaScitemAddAPIRequest对象
func (TaobaoKaolaScitemAddAPIRequest) GetApiMethodName ¶
func (r TaobaoKaolaScitemAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoKaolaScitemAddAPIRequest) GetApiParams ¶
func (r TaobaoKaolaScitemAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoKaolaScitemAddAPIRequest) GetCnsku ¶
func (r TaobaoKaolaScitemAddAPIRequest) GetCnsku() *CnskuDto
GetCnsku Cnsku Getter
func (TaobaoKaolaScitemAddAPIRequest) GetOption ¶
func (r TaobaoKaolaScitemAddAPIRequest) GetOption() *AddCnskuOption
GetOption Option Getter
func (*TaobaoKaolaScitemAddAPIRequest) SetCnsku ¶
func (r *TaobaoKaolaScitemAddAPIRequest) SetCnsku(_cnsku *CnskuDto) error
SetCnsku is Cnsku Setter 待新增的货品
func (*TaobaoKaolaScitemAddAPIRequest) SetOption ¶
func (r *TaobaoKaolaScitemAddAPIRequest) SetOption(_option *AddCnskuOption) error
SetOption is Option Setter 新增选项
type TaobaoKaolaScitemAddAPIResponse ¶
type TaobaoKaolaScitemAddAPIResponse struct { model.CommonResponse TaobaoKaolaScitemAddAPIResponseModel }
TaobaoKaolaScitemAddAPIResponse 考拉货品新增接口 API返回值 taobao.kaola.scitem.add
考拉货品新增接口
type TaobaoKaolaScitemAddAPIResponseModel ¶
type TaobaoKaolaScitemAddAPIResponseModel struct { XMLName xml.Name `xml:"kaola_scitem_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异常信息 ErrorMessages []string `json:"error_messages,omitempty" xml:"error_messages>string,omitempty"` // 异常信息Code SysErrorCode string `json:"sys_error_code,omitempty" xml:"sys_error_code,omitempty"` // 货品id Data int64 `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 是否系统异常 IsSystemFailed bool `json:"is_system_failed,omitempty" xml:"is_system_failed,omitempty"` }
TaobaoKaolaScitemAddAPIResponseModel is 考拉货品新增接口 成功返回结果
type TaobaoRegionPriceCancleAPIRequest ¶
type TaobaoRegionPriceCancleAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionPriceCancleAPIRequest 取消区域价格 API请求 taobao.region.price.cancle
取消区域价格
func NewTaobaoRegionPriceCancleRequest ¶
func NewTaobaoRegionPriceCancleRequest() *TaobaoRegionPriceCancleAPIRequest
NewTaobaoRegionPriceCancleRequest 初始化TaobaoRegionPriceCancleAPIRequest对象
func (TaobaoRegionPriceCancleAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionPriceCancleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionPriceCancleAPIRequest) GetApiParams ¶
func (r TaobaoRegionPriceCancleAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionPriceCancleAPIRequest) GetItemId ¶
func (r TaobaoRegionPriceCancleAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoRegionPriceCancleAPIRequest) GetSkuId ¶
func (r TaobaoRegionPriceCancleAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoRegionPriceCancleAPIRequest) SetItemId ¶
func (r *TaobaoRegionPriceCancleAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品
func (*TaobaoRegionPriceCancleAPIRequest) SetSkuId ¶
func (r *TaobaoRegionPriceCancleAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 无sku传0
type TaobaoRegionPriceCancleAPIResponse ¶
type TaobaoRegionPriceCancleAPIResponse struct { model.CommonResponse TaobaoRegionPriceCancleAPIResponseModel }
TaobaoRegionPriceCancleAPIResponse 取消区域价格 API返回值 taobao.region.price.cancle
取消区域价格
type TaobaoRegionPriceCancleAPIResponseModel ¶
type TaobaoRegionPriceCancleAPIResponseModel struct { XMLName xml.Name `xml:"region_price_cancle_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRegionPriceCancleAPIResponseModel is 取消区域价格 成功返回结果
type TaobaoRegionPriceManageAPIRequest ¶
type TaobaoRegionPriceManageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionPriceManageAPIRequest 编辑区域价格 API请求 taobao.region.price.manage
编辑区域价格
func NewTaobaoRegionPriceManageRequest ¶
func NewTaobaoRegionPriceManageRequest() *TaobaoRegionPriceManageAPIRequest
NewTaobaoRegionPriceManageRequest 初始化TaobaoRegionPriceManageAPIRequest对象
func (TaobaoRegionPriceManageAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionPriceManageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionPriceManageAPIRequest) GetApiParams ¶
func (r TaobaoRegionPriceManageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionPriceManageAPIRequest) GetIsFull ¶
func (r TaobaoRegionPriceManageAPIRequest) GetIsFull() bool
GetIsFull IsFull Getter
func (TaobaoRegionPriceManageAPIRequest) GetItemId ¶
func (r TaobaoRegionPriceManageAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoRegionPriceManageAPIRequest) GetRegionalPriceDtos ¶
func (r TaobaoRegionPriceManageAPIRequest) GetRegionalPriceDtos() []RegionalPriceDto
GetRegionalPriceDtos RegionalPriceDtos Getter
func (TaobaoRegionPriceManageAPIRequest) GetSkuId ¶
func (r TaobaoRegionPriceManageAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoRegionPriceManageAPIRequest) SetIsFull ¶
func (r *TaobaoRegionPriceManageAPIRequest) SetIsFull(_isFull bool) error
SetIsFull is IsFull Setter true:全量, false:增量
func (*TaobaoRegionPriceManageAPIRequest) SetItemId ¶
func (r *TaobaoRegionPriceManageAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoRegionPriceManageAPIRequest) SetRegionalPriceDtos ¶
func (r *TaobaoRegionPriceManageAPIRequest) SetRegionalPriceDtos(_regionalPriceDtos []RegionalPriceDto) error
SetRegionalPriceDtos is RegionalPriceDtos Setter 列表
func (*TaobaoRegionPriceManageAPIRequest) SetSkuId ¶
func (r *TaobaoRegionPriceManageAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 无sku传0
type TaobaoRegionPriceManageAPIResponse ¶
type TaobaoRegionPriceManageAPIResponse struct { model.CommonResponse TaobaoRegionPriceManageAPIResponseModel }
TaobaoRegionPriceManageAPIResponse 编辑区域价格 API返回值 taobao.region.price.manage
编辑区域价格
type TaobaoRegionPriceManageAPIResponseModel ¶
type TaobaoRegionPriceManageAPIResponseModel struct { XMLName xml.Name `xml:"region_price_manage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // success IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoRegionPriceManageAPIResponseModel is 编辑区域价格 成功返回结果
type TaobaoRegionPriceQueryAPIRequest ¶
type TaobaoRegionPriceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionPriceQueryAPIRequest 区域价格查询 API请求 taobao.region.price.query
区域价格查询
func NewTaobaoRegionPriceQueryRequest ¶
func NewTaobaoRegionPriceQueryRequest() *TaobaoRegionPriceQueryAPIRequest
NewTaobaoRegionPriceQueryRequest 初始化TaobaoRegionPriceQueryAPIRequest对象
func (TaobaoRegionPriceQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionPriceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionPriceQueryAPIRequest) GetApiParams ¶
func (r TaobaoRegionPriceQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionPriceQueryAPIRequest) GetItemId ¶
func (r TaobaoRegionPriceQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoRegionPriceQueryAPIRequest) GetRegionalPriceDtos ¶
func (r TaobaoRegionPriceQueryAPIRequest) GetRegionalPriceDtos() []RegionalPriceDto
GetRegionalPriceDtos RegionalPriceDtos Getter
func (TaobaoRegionPriceQueryAPIRequest) GetSkuId ¶
func (r TaobaoRegionPriceQueryAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoRegionPriceQueryAPIRequest) SetItemId ¶
func (r *TaobaoRegionPriceQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoRegionPriceQueryAPIRequest) SetRegionalPriceDtos ¶
func (r *TaobaoRegionPriceQueryAPIRequest) SetRegionalPriceDtos(_regionalPriceDtos []RegionalPriceDto) error
SetRegionalPriceDtos is RegionalPriceDtos Setter 不传则返回所有设置的区域价格
func (*TaobaoRegionPriceQueryAPIRequest) SetSkuId ¶
func (r *TaobaoRegionPriceQueryAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 无sku可传0
type TaobaoRegionPriceQueryAPIResponse ¶
type TaobaoRegionPriceQueryAPIResponse struct { model.CommonResponse TaobaoRegionPriceQueryAPIResponseModel }
TaobaoRegionPriceQueryAPIResponse 区域价格查询 API返回值 taobao.region.price.query
区域价格查询
type TaobaoRegionPriceQueryAPIResponseModel ¶
type TaobaoRegionPriceQueryAPIResponseModel struct { XMLName xml.Name `xml:"region_price_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRegionPriceQueryAPIResponseModel is 区域价格查询 成功返回结果
type TaobaoRegionSaleQueryAPIRequest ¶
type TaobaoRegionSaleQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionSaleQueryAPIRequest 查询商品销售区域 API请求 taobao.region.sale.query
查询商品销售区域
func NewTaobaoRegionSaleQueryRequest ¶
func NewTaobaoRegionSaleQueryRequest() *TaobaoRegionSaleQueryAPIRequest
NewTaobaoRegionSaleQueryRequest 初始化TaobaoRegionSaleQueryAPIRequest对象
func (TaobaoRegionSaleQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionSaleQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionSaleQueryAPIRequest) GetApiParams ¶
func (r TaobaoRegionSaleQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionSaleQueryAPIRequest) GetItemId ¶
func (r TaobaoRegionSaleQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoRegionSaleQueryAPIRequest) GetSaleRegionLevel ¶
func (r TaobaoRegionSaleQueryAPIRequest) GetSaleRegionLevel() int64
GetSaleRegionLevel SaleRegionLevel Getter
func (TaobaoRegionSaleQueryAPIRequest) GetSkuId ¶
func (r TaobaoRegionSaleQueryAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoRegionSaleQueryAPIRequest) SetItemId ¶
func (r *TaobaoRegionSaleQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
func (*TaobaoRegionSaleQueryAPIRequest) SetSaleRegionLevel ¶
func (r *TaobaoRegionSaleQueryAPIRequest) SetSaleRegionLevel(_saleRegionLevel int64) error
SetSaleRegionLevel is SaleRegionLevel Setter 1:国家;2:省;3: 市;4:区县
func (*TaobaoRegionSaleQueryAPIRequest) SetSkuId ¶
func (r *TaobaoRegionSaleQueryAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 无sku传0
type TaobaoRegionSaleQueryAPIResponse ¶
type TaobaoRegionSaleQueryAPIResponse struct { model.CommonResponse TaobaoRegionSaleQueryAPIResponseModel }
TaobaoRegionSaleQueryAPIResponse 查询商品销售区域 API返回值 taobao.region.sale.query
查询商品销售区域
type TaobaoRegionSaleQueryAPIResponseModel ¶
type TaobaoRegionSaleQueryAPIResponseModel struct { XMLName xml.Name `xml:"region_sale_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRegionSaleQueryAPIResponseModel is 查询商品销售区域 成功返回结果
type TaobaoRegionWarehouseManageAPIRequest ¶
type TaobaoRegionWarehouseManageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionWarehouseManageAPIRequest 编辑仓库覆盖范围 API请求 taobao.region.warehouse.manage
编辑仓库覆盖范围
func NewTaobaoRegionWarehouseManageRequest ¶
func NewTaobaoRegionWarehouseManageRequest() *TaobaoRegionWarehouseManageAPIRequest
NewTaobaoRegionWarehouseManageRequest 初始化TaobaoRegionWarehouseManageAPIRequest对象
func (TaobaoRegionWarehouseManageAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionWarehouseManageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionWarehouseManageAPIRequest) GetApiParams ¶
func (r TaobaoRegionWarehouseManageAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionWarehouseManageAPIRequest) GetRegions ¶
func (r TaobaoRegionWarehouseManageAPIRequest) GetRegions() []string
GetRegions Regions Getter
func (TaobaoRegionWarehouseManageAPIRequest) GetStoreCode ¶
func (r TaobaoRegionWarehouseManageAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoRegionWarehouseManageAPIRequest) SetRegions ¶
func (r *TaobaoRegionWarehouseManageAPIRequest) SetRegions(_regions []string) error
SetRegions is Regions Setter 可映射三级地址,例: 广东省
func (*TaobaoRegionWarehouseManageAPIRequest) SetStoreCode ¶
func (r *TaobaoRegionWarehouseManageAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编码
type TaobaoRegionWarehouseManageAPIResponse ¶
type TaobaoRegionWarehouseManageAPIResponse struct { model.CommonResponse TaobaoRegionWarehouseManageAPIResponseModel }
TaobaoRegionWarehouseManageAPIResponse 编辑仓库覆盖范围 API返回值 taobao.region.warehouse.manage
编辑仓库覆盖范围
type TaobaoRegionWarehouseManageAPIResponseModel ¶
type TaobaoRegionWarehouseManageAPIResponseModel struct { XMLName xml.Name `xml:"region_warehouse_manage_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRegionWarehouseManageAPIResponseModel is 编辑仓库覆盖范围 成功返回结果
type TaobaoRegionWarehouseQueryAPIRequest ¶
type TaobaoRegionWarehouseQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoRegionWarehouseQueryAPIRequest 查询仓库覆盖范围 API请求 taobao.region.warehouse.query
查询仓库覆盖范围
func NewTaobaoRegionWarehouseQueryRequest ¶
func NewTaobaoRegionWarehouseQueryRequest() *TaobaoRegionWarehouseQueryAPIRequest
NewTaobaoRegionWarehouseQueryRequest 初始化TaobaoRegionWarehouseQueryAPIRequest对象
func (TaobaoRegionWarehouseQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoRegionWarehouseQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoRegionWarehouseQueryAPIRequest) GetApiParams ¶
func (r TaobaoRegionWarehouseQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoRegionWarehouseQueryAPIRequest) GetStoreCode ¶
func (r TaobaoRegionWarehouseQueryAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoRegionWarehouseQueryAPIRequest) SetStoreCode ¶
func (r *TaobaoRegionWarehouseQueryAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编码
type TaobaoRegionWarehouseQueryAPIResponse ¶
type TaobaoRegionWarehouseQueryAPIResponse struct { model.CommonResponse TaobaoRegionWarehouseQueryAPIResponseModel }
TaobaoRegionWarehouseQueryAPIResponse 查询仓库覆盖范围 API返回值 taobao.region.warehouse.query
查询仓库覆盖范围
type TaobaoRegionWarehouseQueryAPIResponseModel ¶
type TaobaoRegionWarehouseQueryAPIResponseModel struct { XMLName xml.Name `xml:"region_warehouse_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoRegionWarehouseQueryAPIResponseModel is 查询仓库覆盖范围 成功返回结果
type TaobaoScitemAddAPIRequest ¶
TaobaoScitemAddAPIRequest 发布后端商品 API请求 taobao.scitem.add
发布后端商品
func NewTaobaoScitemAddRequest ¶
func NewTaobaoScitemAddRequest() *TaobaoScitemAddAPIRequest
NewTaobaoScitemAddRequest 初始化TaobaoScitemAddAPIRequest对象
func (TaobaoScitemAddAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemAddAPIRequest) GetApiParams ¶
func (r TaobaoScitemAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemAddAPIRequest) GetBarCode ¶
func (r TaobaoScitemAddAPIRequest) GetBarCode() string
GetBarCode BarCode Getter
func (TaobaoScitemAddAPIRequest) GetBrandId ¶
func (r TaobaoScitemAddAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (TaobaoScitemAddAPIRequest) GetBrandName ¶
func (r TaobaoScitemAddAPIRequest) GetBrandName() string
GetBrandName BrandName Getter
func (TaobaoScitemAddAPIRequest) GetHeight ¶
func (r TaobaoScitemAddAPIRequest) GetHeight() int64
GetHeight Height Getter
func (TaobaoScitemAddAPIRequest) GetIsAreaSale ¶
func (r TaobaoScitemAddAPIRequest) GetIsAreaSale() int64
GetIsAreaSale IsAreaSale Getter
func (TaobaoScitemAddAPIRequest) GetIsCostly ¶
func (r TaobaoScitemAddAPIRequest) GetIsCostly() int64
GetIsCostly IsCostly Getter
func (TaobaoScitemAddAPIRequest) GetIsDangerous ¶
func (r TaobaoScitemAddAPIRequest) GetIsDangerous() int64
GetIsDangerous IsDangerous Getter
func (TaobaoScitemAddAPIRequest) GetIsFriable ¶
func (r TaobaoScitemAddAPIRequest) GetIsFriable() int64
GetIsFriable IsFriable Getter
func (TaobaoScitemAddAPIRequest) GetIsWarranty ¶
func (r TaobaoScitemAddAPIRequest) GetIsWarranty() int64
GetIsWarranty IsWarranty Getter
func (TaobaoScitemAddAPIRequest) GetItemName ¶
func (r TaobaoScitemAddAPIRequest) GetItemName() string
GetItemName ItemName Getter
func (TaobaoScitemAddAPIRequest) GetItemType ¶
func (r TaobaoScitemAddAPIRequest) GetItemType() int64
GetItemType ItemType Getter
func (TaobaoScitemAddAPIRequest) GetLength ¶
func (r TaobaoScitemAddAPIRequest) GetLength() int64
GetLength Length Getter
func (TaobaoScitemAddAPIRequest) GetMatterStatus ¶
func (r TaobaoScitemAddAPIRequest) GetMatterStatus() int64
GetMatterStatus MatterStatus Getter
func (TaobaoScitemAddAPIRequest) GetOuterCode ¶
func (r TaobaoScitemAddAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TaobaoScitemAddAPIRequest) GetPrice ¶
func (r TaobaoScitemAddAPIRequest) GetPrice() int64
GetPrice Price Getter
func (TaobaoScitemAddAPIRequest) GetProperties ¶
func (r TaobaoScitemAddAPIRequest) GetProperties() string
GetProperties Properties Getter
func (TaobaoScitemAddAPIRequest) GetRemark ¶
func (r TaobaoScitemAddAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoScitemAddAPIRequest) GetSpuId ¶
func (r TaobaoScitemAddAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (TaobaoScitemAddAPIRequest) GetVolume ¶
func (r TaobaoScitemAddAPIRequest) GetVolume() int64
GetVolume Volume Getter
func (TaobaoScitemAddAPIRequest) GetWeight ¶
func (r TaobaoScitemAddAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoScitemAddAPIRequest) GetWidth ¶
func (r TaobaoScitemAddAPIRequest) GetWidth() int64
GetWidth Width Getter
func (TaobaoScitemAddAPIRequest) GetWmsCode ¶
func (r TaobaoScitemAddAPIRequest) GetWmsCode() string
GetWmsCode WmsCode Getter
func (*TaobaoScitemAddAPIRequest) SetBarCode ¶
func (r *TaobaoScitemAddAPIRequest) SetBarCode(_barCode string) error
SetBarCode is BarCode Setter 条形码
func (*TaobaoScitemAddAPIRequest) SetBrandId ¶
func (r *TaobaoScitemAddAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌id
func (*TaobaoScitemAddAPIRequest) SetBrandName ¶
func (r *TaobaoScitemAddAPIRequest) SetBrandName(_brandName string) error
SetBrandName is BrandName Setter brand_Name
func (*TaobaoScitemAddAPIRequest) SetHeight ¶
func (r *TaobaoScitemAddAPIRequest) SetHeight(_height int64) error
SetHeight is Height Setter 高 单位:mm
func (*TaobaoScitemAddAPIRequest) SetIsAreaSale ¶
func (r *TaobaoScitemAddAPIRequest) SetIsAreaSale(_isAreaSale int64) error
SetIsAreaSale is IsAreaSale Setter 1表示区域销售,0或是空是非区域销售
func (*TaobaoScitemAddAPIRequest) SetIsCostly ¶
func (r *TaobaoScitemAddAPIRequest) SetIsCostly(_isCostly int64) error
SetIsCostly is IsCostly Setter 是否是贵重品 0:不是 1:是
func (*TaobaoScitemAddAPIRequest) SetIsDangerous ¶
func (r *TaobaoScitemAddAPIRequest) SetIsDangerous(_isDangerous int64) error
SetIsDangerous is IsDangerous Setter 是否危险 0:不是 1:是
func (*TaobaoScitemAddAPIRequest) SetIsFriable ¶
func (r *TaobaoScitemAddAPIRequest) SetIsFriable(_isFriable int64) error
SetIsFriable is IsFriable Setter 是否易碎 0:不是 1:是
func (*TaobaoScitemAddAPIRequest) SetIsWarranty ¶
func (r *TaobaoScitemAddAPIRequest) SetIsWarranty(_isWarranty int64) error
SetIsWarranty is IsWarranty Setter 是否保质期:0:不是 1:是
func (*TaobaoScitemAddAPIRequest) SetItemName ¶
func (r *TaobaoScitemAddAPIRequest) SetItemName(_itemName string) error
SetItemName is ItemName Setter 商品名称
func (*TaobaoScitemAddAPIRequest) SetItemType ¶
func (r *TaobaoScitemAddAPIRequest) SetItemType(_itemType int64) error
SetItemType is ItemType Setter 0.普通供应链商品 1.供应链组合主商品
func (*TaobaoScitemAddAPIRequest) SetLength ¶
func (r *TaobaoScitemAddAPIRequest) SetLength(_length int64) error
SetLength is Length Setter 长度 单位:mm
func (*TaobaoScitemAddAPIRequest) SetMatterStatus ¶
func (r *TaobaoScitemAddAPIRequest) SetMatterStatus(_matterStatus int64) error
SetMatterStatus is MatterStatus Setter 0:液体,1:粉体,2:固体
func (*TaobaoScitemAddAPIRequest) SetOuterCode ¶
func (r *TaobaoScitemAddAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 商家编码
func (*TaobaoScitemAddAPIRequest) SetPrice ¶
func (r *TaobaoScitemAddAPIRequest) SetPrice(_price int64) error
SetPrice is Price Setter 价格 单位:分
func (*TaobaoScitemAddAPIRequest) SetProperties ¶
func (r *TaobaoScitemAddAPIRequest) SetProperties(_properties string) error
SetProperties is Properties Setter 商品属性格式是 p1:v1,p2:v2,p3:v3
func (*TaobaoScitemAddAPIRequest) SetRemark ¶
func (r *TaobaoScitemAddAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter remark
func (*TaobaoScitemAddAPIRequest) SetSpuId ¶
func (r *TaobaoScitemAddAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter spuId或是cspuid
func (*TaobaoScitemAddAPIRequest) SetVolume ¶
func (r *TaobaoScitemAddAPIRequest) SetVolume(_volume int64) error
SetVolume is Volume Setter 体积:立方厘米
func (*TaobaoScitemAddAPIRequest) SetWeight ¶
func (r *TaobaoScitemAddAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 重量 单位:g
func (*TaobaoScitemAddAPIRequest) SetWidth ¶
func (r *TaobaoScitemAddAPIRequest) SetWidth(_width int64) error
SetWidth is Width Setter 宽 单位:mm
func (*TaobaoScitemAddAPIRequest) SetWmsCode ¶
func (r *TaobaoScitemAddAPIRequest) SetWmsCode(_wmsCode string) error
SetWmsCode is WmsCode Setter 仓储商编码
type TaobaoScitemAddAPIResponse ¶
type TaobaoScitemAddAPIResponse struct { model.CommonResponse TaobaoScitemAddAPIResponseModel }
TaobaoScitemAddAPIResponse 发布后端商品 API返回值 taobao.scitem.add
发布后端商品
type TaobaoScitemAddAPIResponseModel ¶
type TaobaoScitemAddAPIResponseModel struct { XMLName xml.Name `xml:"scitem_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 后台商品信息 ScItem *ScItem `json:"sc_item,omitempty" xml:"sc_item,omitempty"` }
TaobaoScitemAddAPIResponseModel is 发布后端商品 成功返回结果
type TaobaoScitemGetAPIRequest ¶
TaobaoScitemGetAPIRequest 根据id查询商品 API请求 taobao.scitem.get
根据id查询商品
func NewTaobaoScitemGetRequest ¶
func NewTaobaoScitemGetRequest() *TaobaoScitemGetAPIRequest
NewTaobaoScitemGetRequest 初始化TaobaoScitemGetAPIRequest对象
func (TaobaoScitemGetAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemGetAPIRequest) GetApiParams ¶
func (r TaobaoScitemGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemGetAPIRequest) GetItemId ¶
func (r TaobaoScitemGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (*TaobaoScitemGetAPIRequest) SetItemId ¶
func (r *TaobaoScitemGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品id
type TaobaoScitemGetAPIResponse ¶
type TaobaoScitemGetAPIResponse struct { model.CommonResponse TaobaoScitemGetAPIResponseModel }
TaobaoScitemGetAPIResponse 根据id查询商品 API返回值 taobao.scitem.get
根据id查询商品
type TaobaoScitemGetAPIResponseModel ¶
type TaobaoScitemGetAPIResponseModel struct { XMLName xml.Name `xml:"scitem_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 后端商品 ScItem *ScItem `json:"sc_item,omitempty" xml:"sc_item,omitempty"` }
TaobaoScitemGetAPIResponseModel is 根据id查询商品 成功返回结果
type TaobaoScitemMapAddAPIRequest ¶
TaobaoScitemMapAddAPIRequest 创建IC商品与后端商品的映射关系 API请求 taobao.scitem.map.add
创建IC商品或分销商品与后端商品的映射关系
func NewTaobaoScitemMapAddRequest ¶
func NewTaobaoScitemMapAddRequest() *TaobaoScitemMapAddAPIRequest
NewTaobaoScitemMapAddRequest 初始化TaobaoScitemMapAddAPIRequest对象
func (TaobaoScitemMapAddAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemMapAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemMapAddAPIRequest) GetApiParams ¶
func (r TaobaoScitemMapAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemMapAddAPIRequest) GetItemId ¶
func (r TaobaoScitemMapAddAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoScitemMapAddAPIRequest) GetNeedCheck ¶
func (r TaobaoScitemMapAddAPIRequest) GetNeedCheck() bool
GetNeedCheck NeedCheck Getter
func (TaobaoScitemMapAddAPIRequest) GetOuterCode ¶
func (r TaobaoScitemMapAddAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TaobaoScitemMapAddAPIRequest) GetScItemId ¶
func (r TaobaoScitemMapAddAPIRequest) GetScItemId() int64
GetScItemId ScItemId Getter
func (TaobaoScitemMapAddAPIRequest) GetSkuId ¶
func (r TaobaoScitemMapAddAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoScitemMapAddAPIRequest) SetItemId ¶
func (r *TaobaoScitemMapAddAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 前台ic商品id
func (*TaobaoScitemMapAddAPIRequest) SetNeedCheck ¶
func (r *TaobaoScitemMapAddAPIRequest) SetNeedCheck(_needCheck bool) error
SetNeedCheck is NeedCheck Setter 默认值为false<br/>true:进行高级校验,前端商品或SKU的商家编码必须与后端商品的商家编码一致,否则会拒绝关联<br/>false:不进行高级校验
func (*TaobaoScitemMapAddAPIRequest) SetOuterCode ¶
func (r *TaobaoScitemMapAddAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter sc_item_id和outer_code 其中一个不能为空
func (*TaobaoScitemMapAddAPIRequest) SetScItemId ¶
func (r *TaobaoScitemMapAddAPIRequest) SetScItemId(_scItemId int64) error
SetScItemId is ScItemId Setter sc_item_id和outer_code 其中一个不能为空
func (*TaobaoScitemMapAddAPIRequest) SetSkuId ¶
func (r *TaobaoScitemMapAddAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 前台ic商品skuid
type TaobaoScitemMapAddAPIResponse ¶
type TaobaoScitemMapAddAPIResponse struct { model.CommonResponse TaobaoScitemMapAddAPIResponseModel }
TaobaoScitemMapAddAPIResponse 创建IC商品与后端商品的映射关系 API返回值 taobao.scitem.map.add
创建IC商品或分销商品与后端商品的映射关系
type TaobaoScitemMapAddAPIResponseModel ¶
type TaobaoScitemMapAddAPIResponseModel struct { XMLName xml.Name `xml:"scitem_map_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口调用返回结果信息:商家编码 OuterCode string `json:"outer_code,omitempty" xml:"outer_code,omitempty"` }
TaobaoScitemMapAddAPIResponseModel is 创建IC商品与后端商品的映射关系 成功返回结果
type TaobaoScitemMapDeleteAPIRequest ¶
type TaobaoScitemMapDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoScitemMapDeleteAPIRequest 失效指定用户的商品与后端商品的映射关系 API请求 taobao.scitem.map.delete
根据后端商品Id,失效指定用户的商品与后端商品的映射关系
func NewTaobaoScitemMapDeleteRequest ¶
func NewTaobaoScitemMapDeleteRequest() *TaobaoScitemMapDeleteAPIRequest
NewTaobaoScitemMapDeleteRequest 初始化TaobaoScitemMapDeleteAPIRequest对象
func (TaobaoScitemMapDeleteAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemMapDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemMapDeleteAPIRequest) GetApiParams ¶
func (r TaobaoScitemMapDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemMapDeleteAPIRequest) GetScItemId ¶
func (r TaobaoScitemMapDeleteAPIRequest) GetScItemId() int64
GetScItemId ScItemId Getter
func (TaobaoScitemMapDeleteAPIRequest) GetUserNick ¶
func (r TaobaoScitemMapDeleteAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoScitemMapDeleteAPIRequest) SetScItemId ¶
func (r *TaobaoScitemMapDeleteAPIRequest) SetScItemId(_scItemId int64) error
SetScItemId is ScItemId Setter 后台商品ID
func (*TaobaoScitemMapDeleteAPIRequest) SetUserNick ¶
func (r *TaobaoScitemMapDeleteAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 店铺用户nick。 如果该参数为空则删除后端商品与当前调用人的商品映射关系;如果不为空则删除指定用户与后端商品的映射关系
type TaobaoScitemMapDeleteAPIResponse ¶
type TaobaoScitemMapDeleteAPIResponse struct { model.CommonResponse TaobaoScitemMapDeleteAPIResponseModel }
TaobaoScitemMapDeleteAPIResponse 失效指定用户的商品与后端商品的映射关系 API返回值 taobao.scitem.map.delete
根据后端商品Id,失效指定用户的商品与后端商品的映射关系
type TaobaoScitemMapDeleteAPIResponseModel ¶
type TaobaoScitemMapDeleteAPIResponseModel struct { XMLName xml.Name `xml:"scitem_map_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 失效条数 Module int64 `json:"module,omitempty" xml:"module,omitempty"` }
TaobaoScitemMapDeleteAPIResponseModel is 失效指定用户的商品与后端商品的映射关系 成功返回结果
type TaobaoScitemMapQueryAPIRequest ¶
type TaobaoScitemMapQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoScitemMapQueryAPIRequest 查找IC商品或分销商品与后端商品的关联信息 API请求 taobao.scitem.map.query
查找IC商品或分销商品与后端商品的关联信息。skuId如果不传就查找该itemId下所有的sku
func NewTaobaoScitemMapQueryRequest ¶
func NewTaobaoScitemMapQueryRequest() *TaobaoScitemMapQueryAPIRequest
NewTaobaoScitemMapQueryRequest 初始化TaobaoScitemMapQueryAPIRequest对象
func (TaobaoScitemMapQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemMapQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemMapQueryAPIRequest) GetApiParams ¶
func (r TaobaoScitemMapQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemMapQueryAPIRequest) GetItemId ¶
func (r TaobaoScitemMapQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoScitemMapQueryAPIRequest) GetSkuId ¶
func (r TaobaoScitemMapQueryAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaoScitemMapQueryAPIRequest) SetItemId ¶
func (r *TaobaoScitemMapQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter map_type为1:前台ic商品id<br/>map_type为2:分销productid
func (*TaobaoScitemMapQueryAPIRequest) SetSkuId ¶
func (r *TaobaoScitemMapQueryAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter map_type为1:前台ic商品skuid <br/>map_type为2:分销商品的skuid
type TaobaoScitemMapQueryAPIResponse ¶
type TaobaoScitemMapQueryAPIResponse struct { model.CommonResponse TaobaoScitemMapQueryAPIResponseModel }
TaobaoScitemMapQueryAPIResponse 查找IC商品或分销商品与后端商品的关联信息 API返回值 taobao.scitem.map.query
查找IC商品或分销商品与后端商品的关联信息。skuId如果不传就查找该itemId下所有的sku
type TaobaoScitemMapQueryAPIResponseModel ¶
type TaobaoScitemMapQueryAPIResponseModel struct { XMLName xml.Name `xml:"scitem_map_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 后端商品映射列表 ScItemMaps []ScItemMap `json:"sc_item_maps,omitempty" xml:"sc_item_maps>sc_item_map,omitempty"` }
TaobaoScitemMapQueryAPIResponseModel is 查找IC商品或分销商品与后端商品的关联信息 成功返回结果
type TaobaoScitemOutercodeGetAPIRequest ¶
type TaobaoScitemOutercodeGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoScitemOutercodeGetAPIRequest 根据outerCode查询商品 API请求 taobao.scitem.outercode.get
根据outerCode查询商品
func NewTaobaoScitemOutercodeGetRequest ¶
func NewTaobaoScitemOutercodeGetRequest() *TaobaoScitemOutercodeGetAPIRequest
NewTaobaoScitemOutercodeGetRequest 初始化TaobaoScitemOutercodeGetAPIRequest对象
func (TaobaoScitemOutercodeGetAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemOutercodeGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemOutercodeGetAPIRequest) GetApiParams ¶
func (r TaobaoScitemOutercodeGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemOutercodeGetAPIRequest) GetOuterCode ¶
func (r TaobaoScitemOutercodeGetAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (*TaobaoScitemOutercodeGetAPIRequest) SetOuterCode ¶
func (r *TaobaoScitemOutercodeGetAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 商品编码
type TaobaoScitemOutercodeGetAPIResponse ¶
type TaobaoScitemOutercodeGetAPIResponse struct { model.CommonResponse TaobaoScitemOutercodeGetAPIResponseModel }
TaobaoScitemOutercodeGetAPIResponse 根据outerCode查询商品 API返回值 taobao.scitem.outercode.get
根据outerCode查询商品
type TaobaoScitemOutercodeGetAPIResponseModel ¶
type TaobaoScitemOutercodeGetAPIResponseModel struct { XMLName xml.Name `xml:"scitem_outercode_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 后台商品 ScItem *ScItem `json:"sc_item,omitempty" xml:"sc_item,omitempty"` }
TaobaoScitemOutercodeGetAPIResponseModel is 根据outerCode查询商品 成功返回结果
type TaobaoScitemQueryAPIRequest ¶
TaobaoScitemQueryAPIRequest 查询后端商品 API请求 taobao.scitem.query
查询后端商品
func NewTaobaoScitemQueryRequest ¶
func NewTaobaoScitemQueryRequest() *TaobaoScitemQueryAPIRequest
NewTaobaoScitemQueryRequest 初始化TaobaoScitemQueryAPIRequest对象
func (TaobaoScitemQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemQueryAPIRequest) GetApiParams ¶
func (r TaobaoScitemQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemQueryAPIRequest) GetBarCode ¶
func (r TaobaoScitemQueryAPIRequest) GetBarCode() string
GetBarCode BarCode Getter
func (TaobaoScitemQueryAPIRequest) GetItemName ¶
func (r TaobaoScitemQueryAPIRequest) GetItemName() string
GetItemName ItemName Getter
func (TaobaoScitemQueryAPIRequest) GetItemType ¶
func (r TaobaoScitemQueryAPIRequest) GetItemType() int64
GetItemType ItemType Getter
func (TaobaoScitemQueryAPIRequest) GetOuterCode ¶
func (r TaobaoScitemQueryAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TaobaoScitemQueryAPIRequest) GetPageIndex ¶
func (r TaobaoScitemQueryAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (TaobaoScitemQueryAPIRequest) GetPageSize ¶
func (r TaobaoScitemQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoScitemQueryAPIRequest) GetWmsCode ¶
func (r TaobaoScitemQueryAPIRequest) GetWmsCode() string
GetWmsCode WmsCode Getter
func (*TaobaoScitemQueryAPIRequest) SetBarCode ¶
func (r *TaobaoScitemQueryAPIRequest) SetBarCode(_barCode string) error
SetBarCode is BarCode Setter 条形码
func (*TaobaoScitemQueryAPIRequest) SetItemName ¶
func (r *TaobaoScitemQueryAPIRequest) SetItemName(_itemName string) error
SetItemName is ItemName Setter 商品名称
func (*TaobaoScitemQueryAPIRequest) SetItemType ¶
func (r *TaobaoScitemQueryAPIRequest) SetItemType(_itemType int64) error
SetItemType is ItemType Setter ITEM类型(只允许输入以下英文或空) NORMAL 0:普通商品; COMBINE 1:是否是组合商品 DISTRIBUTION
func (*TaobaoScitemQueryAPIRequest) SetOuterCode ¶
func (r *TaobaoScitemQueryAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 商家给商品的一个编码
func (*TaobaoScitemQueryAPIRequest) SetPageIndex ¶
func (r *TaobaoScitemQueryAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 当前页码数
func (*TaobaoScitemQueryAPIRequest) SetPageSize ¶
func (r *TaobaoScitemQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页记录个数,如果用户输入的记录数大于50,则一页显示50条记录
func (*TaobaoScitemQueryAPIRequest) SetWmsCode ¶
func (r *TaobaoScitemQueryAPIRequest) SetWmsCode(_wmsCode string) error
SetWmsCode is WmsCode Setter 仓库编码
type TaobaoScitemQueryAPIResponse ¶
type TaobaoScitemQueryAPIResponse struct { model.CommonResponse TaobaoScitemQueryAPIResponseModel }
TaobaoScitemQueryAPIResponse 查询后端商品 API返回值 taobao.scitem.query
查询后端商品
type TaobaoScitemQueryAPIResponseModel ¶
type TaobaoScitemQueryAPIResponseModel struct { XMLName xml.Name `xml:"scitem_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // List<ScItemDO> ScItemList []ScItem `json:"sc_item_list,omitempty" xml:"sc_item_list>sc_item,omitempty"` // 商品条数 TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"` // 分页 QueryPagination *QueryPagination `json:"query_pagination,omitempty" xml:"query_pagination,omitempty"` }
TaobaoScitemQueryAPIResponseModel is 查询后端商品 成功返回结果
type TaobaoScitemUpdateAPIRequest ¶
TaobaoScitemUpdateAPIRequest 根据商品ID或商家编码修改后端商品 API请求 taobao.scitem.update
根据商品ID或商家编码修改后端商品
func NewTaobaoScitemUpdateRequest ¶
func NewTaobaoScitemUpdateRequest() *TaobaoScitemUpdateAPIRequest
NewTaobaoScitemUpdateRequest 初始化TaobaoScitemUpdateAPIRequest对象
func (TaobaoScitemUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoScitemUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoScitemUpdateAPIRequest) GetApiParams ¶
func (r TaobaoScitemUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoScitemUpdateAPIRequest) GetBarCode ¶
func (r TaobaoScitemUpdateAPIRequest) GetBarCode() string
GetBarCode BarCode Getter
func (TaobaoScitemUpdateAPIRequest) GetBrandId ¶
func (r TaobaoScitemUpdateAPIRequest) GetBrandId() int64
GetBrandId BrandId Getter
func (TaobaoScitemUpdateAPIRequest) GetBrandName ¶
func (r TaobaoScitemUpdateAPIRequest) GetBrandName() string
GetBrandName BrandName Getter
func (TaobaoScitemUpdateAPIRequest) GetHeight ¶
func (r TaobaoScitemUpdateAPIRequest) GetHeight() int64
GetHeight Height Getter
func (TaobaoScitemUpdateAPIRequest) GetIsAreaSale ¶
func (r TaobaoScitemUpdateAPIRequest) GetIsAreaSale() int64
GetIsAreaSale IsAreaSale Getter
func (TaobaoScitemUpdateAPIRequest) GetIsCostly ¶
func (r TaobaoScitemUpdateAPIRequest) GetIsCostly() int64
GetIsCostly IsCostly Getter
func (TaobaoScitemUpdateAPIRequest) GetIsDangerous ¶
func (r TaobaoScitemUpdateAPIRequest) GetIsDangerous() int64
GetIsDangerous IsDangerous Getter
func (TaobaoScitemUpdateAPIRequest) GetIsFriable ¶
func (r TaobaoScitemUpdateAPIRequest) GetIsFriable() int64
GetIsFriable IsFriable Getter
func (TaobaoScitemUpdateAPIRequest) GetIsWarranty ¶
func (r TaobaoScitemUpdateAPIRequest) GetIsWarranty() int64
GetIsWarranty IsWarranty Getter
func (TaobaoScitemUpdateAPIRequest) GetItemId ¶
func (r TaobaoScitemUpdateAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoScitemUpdateAPIRequest) GetItemName ¶
func (r TaobaoScitemUpdateAPIRequest) GetItemName() string
GetItemName ItemName Getter
func (TaobaoScitemUpdateAPIRequest) GetItemType ¶
func (r TaobaoScitemUpdateAPIRequest) GetItemType() int64
GetItemType ItemType Getter
func (TaobaoScitemUpdateAPIRequest) GetLength ¶
func (r TaobaoScitemUpdateAPIRequest) GetLength() int64
GetLength Length Getter
func (TaobaoScitemUpdateAPIRequest) GetMatterStatus ¶
func (r TaobaoScitemUpdateAPIRequest) GetMatterStatus() int64
GetMatterStatus MatterStatus Getter
func (TaobaoScitemUpdateAPIRequest) GetOuterCode ¶
func (r TaobaoScitemUpdateAPIRequest) GetOuterCode() string
GetOuterCode OuterCode Getter
func (TaobaoScitemUpdateAPIRequest) GetPrice ¶
func (r TaobaoScitemUpdateAPIRequest) GetPrice() int64
GetPrice Price Getter
func (TaobaoScitemUpdateAPIRequest) GetRemark ¶
func (r TaobaoScitemUpdateAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoScitemUpdateAPIRequest) GetRemoveProperties ¶
func (r TaobaoScitemUpdateAPIRequest) GetRemoveProperties() string
GetRemoveProperties RemoveProperties Getter
func (TaobaoScitemUpdateAPIRequest) GetSpuId ¶
func (r TaobaoScitemUpdateAPIRequest) GetSpuId() int64
GetSpuId SpuId Getter
func (TaobaoScitemUpdateAPIRequest) GetUpdateProperties ¶
func (r TaobaoScitemUpdateAPIRequest) GetUpdateProperties() string
GetUpdateProperties UpdateProperties Getter
func (TaobaoScitemUpdateAPIRequest) GetVolume ¶
func (r TaobaoScitemUpdateAPIRequest) GetVolume() int64
GetVolume Volume Getter
func (TaobaoScitemUpdateAPIRequest) GetWeight ¶
func (r TaobaoScitemUpdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoScitemUpdateAPIRequest) GetWidth ¶
func (r TaobaoScitemUpdateAPIRequest) GetWidth() int64
GetWidth Width Getter
func (TaobaoScitemUpdateAPIRequest) GetWmsCode ¶
func (r TaobaoScitemUpdateAPIRequest) GetWmsCode() string
GetWmsCode WmsCode Getter
func (*TaobaoScitemUpdateAPIRequest) SetBarCode ¶
func (r *TaobaoScitemUpdateAPIRequest) SetBarCode(_barCode string) error
SetBarCode is BarCode Setter 条形码
func (*TaobaoScitemUpdateAPIRequest) SetBrandId ¶
func (r *TaobaoScitemUpdateAPIRequest) SetBrandId(_brandId int64) error
SetBrandId is BrandId Setter 品牌id
func (*TaobaoScitemUpdateAPIRequest) SetBrandName ¶
func (r *TaobaoScitemUpdateAPIRequest) SetBrandName(_brandName string) error
SetBrandName is BrandName Setter brand_Name
func (*TaobaoScitemUpdateAPIRequest) SetHeight ¶
func (r *TaobaoScitemUpdateAPIRequest) SetHeight(_height int64) error
SetHeight is Height Setter 高 单位:mm
func (*TaobaoScitemUpdateAPIRequest) SetIsAreaSale ¶
func (r *TaobaoScitemUpdateAPIRequest) SetIsAreaSale(_isAreaSale int64) error
SetIsAreaSale is IsAreaSale Setter 1表示区域销售,0或是空是非区域销售
func (*TaobaoScitemUpdateAPIRequest) SetIsCostly ¶
func (r *TaobaoScitemUpdateAPIRequest) SetIsCostly(_isCostly int64) error
SetIsCostly is IsCostly Setter 是否是贵重品 0:不是 1:是
func (*TaobaoScitemUpdateAPIRequest) SetIsDangerous ¶
func (r *TaobaoScitemUpdateAPIRequest) SetIsDangerous(_isDangerous int64) error
SetIsDangerous is IsDangerous Setter 是否危险 0:不是 0:是
func (*TaobaoScitemUpdateAPIRequest) SetIsFriable ¶
func (r *TaobaoScitemUpdateAPIRequest) SetIsFriable(_isFriable int64) error
SetIsFriable is IsFriable Setter 是否易碎 0:不是 1:是
func (*TaobaoScitemUpdateAPIRequest) SetIsWarranty ¶
func (r *TaobaoScitemUpdateAPIRequest) SetIsWarranty(_isWarranty int64) error
SetIsWarranty is IsWarranty Setter 是否保质期:0:不是 1:是
func (*TaobaoScitemUpdateAPIRequest) SetItemId ¶
func (r *TaobaoScitemUpdateAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 后端商品ID,跟outer_code必须指定一个
func (*TaobaoScitemUpdateAPIRequest) SetItemName ¶
func (r *TaobaoScitemUpdateAPIRequest) SetItemName(_itemName string) error
SetItemName is ItemName Setter 商品名称
func (*TaobaoScitemUpdateAPIRequest) SetItemType ¶
func (r *TaobaoScitemUpdateAPIRequest) SetItemType(_itemType int64) error
SetItemType is ItemType Setter 0.普通供应链商品 1.供应链组合主商品
func (*TaobaoScitemUpdateAPIRequest) SetLength ¶
func (r *TaobaoScitemUpdateAPIRequest) SetLength(_length int64) error
SetLength is Length Setter 长度 单位:mm
func (*TaobaoScitemUpdateAPIRequest) SetMatterStatus ¶
func (r *TaobaoScitemUpdateAPIRequest) SetMatterStatus(_matterStatus int64) error
SetMatterStatus is MatterStatus Setter 0:液体,1:粉体,2:固体
func (*TaobaoScitemUpdateAPIRequest) SetOuterCode ¶
func (r *TaobaoScitemUpdateAPIRequest) SetOuterCode(_outerCode string) error
SetOuterCode is OuterCode Setter 商家编码,跟item_id必须指定一个
func (*TaobaoScitemUpdateAPIRequest) SetPrice ¶
func (r *TaobaoScitemUpdateAPIRequest) SetPrice(_price int64) error
SetPrice is Price Setter price
func (*TaobaoScitemUpdateAPIRequest) SetRemark ¶
func (r *TaobaoScitemUpdateAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter remark
func (*TaobaoScitemUpdateAPIRequest) SetRemoveProperties ¶
func (r *TaobaoScitemUpdateAPIRequest) SetRemoveProperties(_removeProperties string) error
SetRemoveProperties is RemoveProperties Setter 移除商品属性P列表,P由系统分配:p1;p2
func (*TaobaoScitemUpdateAPIRequest) SetSpuId ¶
func (r *TaobaoScitemUpdateAPIRequest) SetSpuId(_spuId int64) error
SetSpuId is SpuId Setter 淘宝SKU产品级编码CSPU ID
func (*TaobaoScitemUpdateAPIRequest) SetUpdateProperties ¶
func (r *TaobaoScitemUpdateAPIRequest) SetUpdateProperties(_updateProperties string) error
SetUpdateProperties is UpdateProperties Setter 需要更新的商品属性格式是 p1:v1,p2:v2,p3:v3
func (*TaobaoScitemUpdateAPIRequest) SetVolume ¶
func (r *TaobaoScitemUpdateAPIRequest) SetVolume(_volume int64) error
SetVolume is Volume Setter 体积:立方厘米
func (*TaobaoScitemUpdateAPIRequest) SetWeight ¶
func (r *TaobaoScitemUpdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter weight
func (*TaobaoScitemUpdateAPIRequest) SetWidth ¶
func (r *TaobaoScitemUpdateAPIRequest) SetWidth(_width int64) error
SetWidth is Width Setter 宽 单位:mm
func (*TaobaoScitemUpdateAPIRequest) SetWmsCode ¶
func (r *TaobaoScitemUpdateAPIRequest) SetWmsCode(_wmsCode string) error
SetWmsCode is WmsCode Setter 仓储商编码
type TaobaoScitemUpdateAPIResponse ¶
type TaobaoScitemUpdateAPIResponse struct { model.CommonResponse TaobaoScitemUpdateAPIResponseModel }
TaobaoScitemUpdateAPIResponse 根据商品ID或商家编码修改后端商品 API返回值 taobao.scitem.update
根据商品ID或商家编码修改后端商品
type TaobaoScitemUpdateAPIResponseModel ¶
type TaobaoScitemUpdateAPIResponseModel struct { XMLName xml.Name `xml:"scitem_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新商品数量,1表示成功更新了一条数据,0:表示未找到匹配的数据 UpdateRows int64 `json:"update_rows,omitempty" xml:"update_rows,omitempty"` }
TaobaoScitemUpdateAPIResponseModel is 根据商品ID或商家编码修改后端商品 成功返回结果
type TipInfo ¶
type TipInfo struct { // 商品id ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 返回信息 Info string `json:"info,omitempty" xml:"info,omitempty"` // errorCode Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // errorMessage Errormessage string `json:"errormessage,omitempty" xml:"errormessage,omitempty"` // scItemCode ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // storeCode StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // invStoreType InvStoreType int64 `json:"inv_store_type,omitempty" xml:"inv_store_type,omitempty"` // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 1前端商品 2供应链货品 ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"` }
TipInfo 结构体
type TmallChannelProductsGetAPIRequest ¶
type TmallChannelProductsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallChannelProductsGetAPIRequest 查询供应商的产品数据 API请求 tmall.channel.products.get
查询供应商的产品数据。
* 入参传入pids将优先查询,即只按这个条件查询。 *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条) * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。 * 入参fields传入images将查询多图数据,不传只返回主图数据。 * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据) * 查询结果按照产品发布时间倒序,即时间近的数据在前。 * 传入channel 渠道,会只返回相应渠道的产品
func NewTmallChannelProductsGetRequest ¶
func NewTmallChannelProductsGetRequest() *TmallChannelProductsGetAPIRequest
NewTmallChannelProductsGetRequest 初始化TmallChannelProductsGetAPIRequest对象
func (TmallChannelProductsGetAPIRequest) GetApiMethodName ¶
func (r TmallChannelProductsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallChannelProductsGetAPIRequest) GetApiParams ¶
func (r TmallChannelProductsGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallChannelProductsGetAPIRequest) GetTopQueryProductDO ¶
func (r TmallChannelProductsGetAPIRequest) GetTopQueryProductDO() *TopQueryProductDo
GetTopQueryProductDO TopQueryProductDO Getter
func (*TmallChannelProductsGetAPIRequest) SetTopQueryProductDO ¶
func (r *TmallChannelProductsGetAPIRequest) SetTopQueryProductDO(_topQueryProductDO *TopQueryProductDo) error
SetTopQueryProductDO is TopQueryProductDO Setter top_query_product_d_o
type TmallChannelProductsGetAPIResponse ¶
type TmallChannelProductsGetAPIResponse struct { model.CommonResponse TmallChannelProductsGetAPIResponseModel }
TmallChannelProductsGetAPIResponse 查询供应商的产品数据 API返回值 tmall.channel.products.get
查询供应商的产品数据。
* 入参传入pids将优先查询,即只按这个条件查询。 *入参传入sku_number将优先查询(没有传入pids),即只按这个条件查询(最多显示50条) * 入参fields传skus将查询sku的数据,不传该参数默认不查询,返回产品的其它信息。 * 入参fields传入images将查询多图数据,不传只返回主图数据。 * 入参fields仅对传入pids生效(只有按ID查询时,才能查询额外的数据) * 查询结果按照产品发布时间倒序,即时间近的数据在前。 * 传入channel 渠道,会只返回相应渠道的产品
type TmallChannelProductsGetAPIResponseModel ¶
type TmallChannelProductsGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_channel_products_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 产品对象记录集 Products []TopProductDo `json:"products,omitempty" xml:"products>top_product_do,omitempty"` // 查询结果记录数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TmallChannelProductsGetAPIResponseModel is 查询供应商的产品数据 成功返回结果
type TmallInventoryQueryForstoreAPIRequest ¶
type TmallInventoryQueryForstoreAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallInventoryQueryForstoreAPIRequest 查询后端商品仓库库存 API请求 tmall.inventory.query.forstore
商家查询后端商品仓库库存
func NewTmallInventoryQueryForstoreRequest ¶
func NewTmallInventoryQueryForstoreRequest() *TmallInventoryQueryForstoreAPIRequest
NewTmallInventoryQueryForstoreRequest 初始化TmallInventoryQueryForstoreAPIRequest对象
func (TmallInventoryQueryForstoreAPIRequest) GetApiMethodName ¶
func (r TmallInventoryQueryForstoreAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallInventoryQueryForstoreAPIRequest) GetApiParams ¶
func (r TmallInventoryQueryForstoreAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallInventoryQueryForstoreAPIRequest) GetParamList ¶
func (r TmallInventoryQueryForstoreAPIRequest) GetParamList() []InventoryQueryForStoreRequest
GetParamList ParamList Getter
func (*TmallInventoryQueryForstoreAPIRequest) SetParamList ¶
func (r *TmallInventoryQueryForstoreAPIRequest) SetParamList(_paramList []InventoryQueryForStoreRequest) error
SetParamList is ParamList Setter 查询列表
type TmallInventoryQueryForstoreAPIResponse ¶
type TmallInventoryQueryForstoreAPIResponse struct { model.CommonResponse TmallInventoryQueryForstoreAPIResponseModel }
TmallInventoryQueryForstoreAPIResponse 查询后端商品仓库库存 API返回值 tmall.inventory.query.forstore
商家查询后端商品仓库库存
type TmallInventoryQueryForstoreAPIResponseModel ¶
type TmallInventoryQueryForstoreAPIResponseModel struct { XMLName xml.Name `xml:"tmall_inventory_query_forstore_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误code Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` // 错误信息 Errormessage string `json:"errormessage,omitempty" xml:"errormessage,omitempty"` // 查询结果 Result *InventoryQueryResult `json:"result,omitempty" xml:"result,omitempty"` // 整体成功或失败 Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"` }
TmallInventoryQueryForstoreAPIResponseModel is 查询后端商品仓库库存 成功返回结果
type TmallSupplychainChannelProductDownshelfAPIRequest ¶
type TmallSupplychainChannelProductDownshelfAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductDownshelfAPIRequest 产品下架 API请求 tmall.supplychain.channel.product.downshelf
产品下架
func NewTmallSupplychainChannelProductDownshelfRequest ¶
func NewTmallSupplychainChannelProductDownshelfRequest() *TmallSupplychainChannelProductDownshelfAPIRequest
NewTmallSupplychainChannelProductDownshelfRequest 初始化TmallSupplychainChannelProductDownshelfAPIRequest对象
func (TmallSupplychainChannelProductDownshelfAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductDownshelfAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductDownshelfAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductDownshelfAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallSupplychainChannelProductDownshelfAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductDownshelfAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
type TmallSupplychainChannelProductDownshelfAPIResponse ¶
type TmallSupplychainChannelProductDownshelfAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductDownshelfAPIResponseModel }
TmallSupplychainChannelProductDownshelfAPIResponse 产品下架 API返回值 tmall.supplychain.channel.product.downshelf
产品下架
type TmallSupplychainChannelProductDownshelfAPIResponseModel ¶
type TmallSupplychainChannelProductDownshelfAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_downshelf_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductDownshelfResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductDownshelfAPIResponseModel is 产品下架 成功返回结果
type TmallSupplychainChannelProductDownshelfResultDto ¶
type TmallSupplychainChannelProductDownshelfResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 下架结果 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
TmallSupplychainChannelProductDownshelfResultDto 结构体
type TmallSupplychainChannelProductPriceGetAPIRequest ¶
type TmallSupplychainChannelProductPriceGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductPriceGetAPIRequest 渠道价格查询接口 API请求 tmall.supplychain.channel.product.price.get
渠道价格查询接口
func NewTmallSupplychainChannelProductPriceGetRequest ¶
func NewTmallSupplychainChannelProductPriceGetRequest() *TmallSupplychainChannelProductPriceGetAPIRequest
NewTmallSupplychainChannelProductPriceGetRequest 初始化TmallSupplychainChannelProductPriceGetAPIRequest对象
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetChannelCode ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetChannelCode() int64
GetChannelCode ChannelCode Getter
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetPriceType ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetPriceType() int64
GetPriceType PriceType Getter
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallSupplychainChannelProductPriceGetAPIRequest) GetSkuId ¶
func (r TmallSupplychainChannelProductPriceGetAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TmallSupplychainChannelProductPriceGetAPIRequest) SetChannelCode ¶
func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetChannelCode(_channelCode int64) error
SetChannelCode is ChannelCode Setter 渠道ID(台湾市场/供销平台/大农业…..)
func (*TmallSupplychainChannelProductPriceGetAPIRequest) SetPriceType ¶
func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetPriceType(_priceType int64) error
SetPriceType is PriceType Setter 区域价、指导价
func (*TmallSupplychainChannelProductPriceGetAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
func (*TmallSupplychainChannelProductPriceGetAPIRequest) SetSkuId ¶
func (r *TmallSupplychainChannelProductPriceGetAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter SKU ID
type TmallSupplychainChannelProductPriceGetAPIResponse ¶
type TmallSupplychainChannelProductPriceGetAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductPriceGetAPIResponseModel }
TmallSupplychainChannelProductPriceGetAPIResponse 渠道价格查询接口 API返回值 tmall.supplychain.channel.product.price.get
渠道价格查询接口
type TmallSupplychainChannelProductPriceGetAPIResponseModel ¶
type TmallSupplychainChannelProductPriceGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_price_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductPriceGetResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductPriceGetAPIResponseModel is 渠道价格查询接口 成功返回结果
type TmallSupplychainChannelProductPriceGetResultDto ¶
type TmallSupplychainChannelProductPriceGetResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 询价结果 Module *TopProductPriceResult `json:"module,omitempty" xml:"module,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallSupplychainChannelProductPriceGetResultDto 结构体
type TmallSupplychainChannelProductPriceUpdateAPIRequest ¶
type TmallSupplychainChannelProductPriceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductPriceUpdateAPIRequest 渠道价格更新接口 API请求 tmall.supplychain.channel.product.price.update
更新渠道产品价格
func NewTmallSupplychainChannelProductPriceUpdateRequest ¶
func NewTmallSupplychainChannelProductPriceUpdateRequest() *TmallSupplychainChannelProductPriceUpdateAPIRequest
NewTmallSupplychainChannelProductPriceUpdateRequest 初始化TmallSupplychainChannelProductPriceUpdateAPIRequest对象
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetChannelCode ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetChannelCode() int64
GetChannelCode ChannelCode Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetCurrencyType ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetCurrencyType() string
GetCurrencyType CurrencyType Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetPriceType ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetPriceType() int64
GetPriceType PriceType Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductPrice ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetProductPrice() string
GetProductPrice ProductPrice Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuId ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuPrice ¶
func (r TmallSupplychainChannelProductPriceUpdateAPIRequest) GetSkuPrice() string
GetSkuPrice SkuPrice Getter
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetChannelCode ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetChannelCode(_channelCode int64) error
SetChannelCode is ChannelCode Setter 渠道编码
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetCurrencyType ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetCurrencyType(_currencyType string) error
SetCurrencyType is CurrencyType Setter 币种,非必填,仅支持当商品记为外币价格时使用
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetPriceType ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetPriceType(_priceType int64) error
SetPriceType is PriceType Setter 1.指导价(默认) 2.区域价
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品数字ID
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductPrice ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetProductPrice(_productPrice string) error
SetProductPrice is ProductPrice Setter 产品价格,必填
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuId ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter SKU ID
func (*TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuPrice ¶
func (r *TmallSupplychainChannelProductPriceUpdateAPIRequest) SetSkuPrice(_skuPrice string) error
SetSkuPrice is SkuPrice Setter 属于这个sku的商品的价格 取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。
type TmallSupplychainChannelProductPriceUpdateAPIResponse ¶
type TmallSupplychainChannelProductPriceUpdateAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductPriceUpdateAPIResponseModel }
TmallSupplychainChannelProductPriceUpdateAPIResponse 渠道价格更新接口 API返回值 tmall.supplychain.channel.product.price.update
更新渠道产品价格
type TmallSupplychainChannelProductPriceUpdateAPIResponseModel ¶
type TmallSupplychainChannelProductPriceUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_price_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductPriceUpdateAPIResponseModel is 渠道价格更新接口 成功返回结果
type TmallSupplychainChannelProductQuantityGetAPIRequest ¶
type TmallSupplychainChannelProductQuantityGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductQuantityGetAPIRequest 渠道库存查询接口 API请求 tmall.supplychain.channel.product.quantity.get
渠道库存查询接口
func NewTmallSupplychainChannelProductQuantityGetRequest ¶
func NewTmallSupplychainChannelProductQuantityGetRequest() *TmallSupplychainChannelProductQuantityGetAPIRequest
NewTmallSupplychainChannelProductQuantityGetRequest 初始化TmallSupplychainChannelProductQuantityGetAPIRequest对象
func (TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductQuantityGetAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallSupplychainChannelProductQuantityGetAPIRequest) GetSkuId ¶
func (r TmallSupplychainChannelProductQuantityGetAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TmallSupplychainChannelProductQuantityGetAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductQuantityGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品数字ID
func (*TmallSupplychainChannelProductQuantityGetAPIRequest) SetSkuId ¶
func (r *TmallSupplychainChannelProductQuantityGetAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter SKU ID
type TmallSupplychainChannelProductQuantityGetAPIResponse ¶
type TmallSupplychainChannelProductQuantityGetAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductQuantityGetAPIResponseModel }
TmallSupplychainChannelProductQuantityGetAPIResponse 渠道库存查询接口 API返回值 tmall.supplychain.channel.product.quantity.get
渠道库存查询接口
type TmallSupplychainChannelProductQuantityGetAPIResponseModel ¶
type TmallSupplychainChannelProductQuantityGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_quantity_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductQuantityGetResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductQuantityGetAPIResponseModel is 渠道库存查询接口 成功返回结果
type TmallSupplychainChannelProductQuantityGetResultDto ¶
type TmallSupplychainChannelProductQuantityGetResultDto struct { // 库存数量 Module string `json:"module,omitempty" xml:"module,omitempty"` // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallSupplychainChannelProductQuantityGetResultDto 结构体
type TmallSupplychainChannelProductQuantityUpdateAPIRequest ¶
type TmallSupplychainChannelProductQuantityUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductQuantityUpdateAPIRequest 渠道无仓库存更新接口 API请求 tmall.supplychain.channel.product.quantity.update
渠道无仓库存更新接口
func NewTmallSupplychainChannelProductQuantityUpdateRequest ¶
func NewTmallSupplychainChannelProductQuantityUpdateRequest() *TmallSupplychainChannelProductQuantityUpdateAPIRequest
NewTmallSupplychainChannelProductQuantityUpdateRequest 初始化TmallSupplychainChannelProductQuantityUpdateAPIRequest对象
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetQuantity ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetQuantity() int64
GetQuantity Quantity Getter
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetSkuId ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetUpdateType ¶
func (r TmallSupplychainChannelProductQuantityUpdateAPIRequest) GetUpdateType() int64
GetUpdateType UpdateType Getter
func (*TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品数字ID
func (*TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetQuantity ¶
func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetQuantity(_quantity int64) error
SetQuantity is Quantity Setter 库存修改值,必选。当全量更新库存时,quantity必须为大于等于0的正整数;当增量更新库存时,quantity为整数,可小于等于0。若增量更新时传入的库存为负数,则负数与实际库存之和不能小于0。比如当前实际库存为1,传入增量更新quantity=-1,库存改为0
func (*TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetSkuId ¶
func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 产品SKU ID
func (*TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetUpdateType ¶
func (r *TmallSupplychainChannelProductQuantityUpdateAPIRequest) SetUpdateType(_updateType int64) error
SetUpdateType is UpdateType Setter 库存更新方式,可选。1为全量更新,2为增量更新。如果不填,默认为全量更新
type TmallSupplychainChannelProductQuantityUpdateAPIResponse ¶
type TmallSupplychainChannelProductQuantityUpdateAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductQuantityUpdateAPIResponseModel }
TmallSupplychainChannelProductQuantityUpdateAPIResponse 渠道无仓库存更新接口 API返回值 tmall.supplychain.channel.product.quantity.update
渠道无仓库存更新接口
type TmallSupplychainChannelProductQuantityUpdateAPIResponseModel ¶
type TmallSupplychainChannelProductQuantityUpdateAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_quantity_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductQuantityUpdateResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductQuantityUpdateAPIResponseModel is 渠道无仓库存更新接口 成功返回结果
type TmallSupplychainChannelProductQuantityUpdateResultDto ¶
type TmallSupplychainChannelProductQuantityUpdateResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 更新内容 Module *TopProductQuantityResult `json:"module,omitempty" xml:"module,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallSupplychainChannelProductQuantityUpdateResultDto 结构体
type TmallSupplychainChannelProductReleaseAPIRequest ¶
type TmallSupplychainChannelProductReleaseAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductReleaseAPIRequest 供应商铺货 API请求 tmall.supplychain.channel.product.release
供应商渠道铺货接口
func NewTmallSupplychainChannelProductReleaseRequest ¶
func NewTmallSupplychainChannelProductReleaseRequest() *TmallSupplychainChannelProductReleaseAPIRequest
NewTmallSupplychainChannelProductReleaseRequest 初始化TmallSupplychainChannelProductReleaseAPIRequest对象
func (TmallSupplychainChannelProductReleaseAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductReleaseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductReleaseAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductReleaseAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductReleaseAPIRequest) GetChannelCode ¶
func (r TmallSupplychainChannelProductReleaseAPIRequest) GetChannelCode() int64
GetChannelCode ChannelCode Getter
func (TmallSupplychainChannelProductReleaseAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductReleaseAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallSupplychainChannelProductReleaseAPIRequest) SetChannelCode ¶
func (r *TmallSupplychainChannelProductReleaseAPIRequest) SetChannelCode(_channelCode int64) error
SetChannelCode is ChannelCode Setter 渠道ID
func (*TmallSupplychainChannelProductReleaseAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductReleaseAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品数字ID
type TmallSupplychainChannelProductReleaseAPIResponse ¶
type TmallSupplychainChannelProductReleaseAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductReleaseAPIResponseModel }
TmallSupplychainChannelProductReleaseAPIResponse 供应商铺货 API返回值 tmall.supplychain.channel.product.release
供应商渠道铺货接口
type TmallSupplychainChannelProductReleaseAPIResponseModel ¶
type TmallSupplychainChannelProductReleaseAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_release_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TmallSupplychainChannelProductReleaseResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductReleaseAPIResponseModel is 供应商铺货 成功返回结果
type TmallSupplychainChannelProductReleaseResultDto ¶
type TmallSupplychainChannelProductReleaseResultDto struct { // 链路ID TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"` // 异常名 ExpName string `json:"exp_name,omitempty" xml:"exp_name,omitempty"` // 重定向url RedirectUrl string `json:"redirect_url,omitempty" xml:"redirect_url,omitempty"` // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallSupplychainChannelProductReleaseResultDto 结构体
type TmallSupplychainChannelProductReleaseStatusGetAPIRequest ¶
type TmallSupplychainChannelProductReleaseStatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductReleaseStatusGetAPIRequest 产品铺货状态查询 API请求 tmall.supplychain.channel.product.release.status.get
巴拿马战役渠道产品状态查询
func NewTmallSupplychainChannelProductReleaseStatusGetRequest ¶
func NewTmallSupplychainChannelProductReleaseStatusGetRequest() *TmallSupplychainChannelProductReleaseStatusGetAPIRequest
NewTmallSupplychainChannelProductReleaseStatusGetRequest 初始化TmallSupplychainChannelProductReleaseStatusGetAPIRequest对象
func (TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetChannelCode ¶
func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetChannelCode() int64
GetChannelCode ChannelCode Getter
func (TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductReleaseStatusGetAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetChannelCode ¶
func (r *TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetChannelCode(_channelCode int64) error
SetChannelCode is ChannelCode Setter 渠道ID ( 台湾 : 111002 )
func (*TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductReleaseStatusGetAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
type TmallSupplychainChannelProductReleaseStatusGetAPIResponse ¶
type TmallSupplychainChannelProductReleaseStatusGetAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductReleaseStatusGetAPIResponseModel }
TmallSupplychainChannelProductReleaseStatusGetAPIResponse 产品铺货状态查询 API返回值 tmall.supplychain.channel.product.release.status.get
巴拿马战役渠道产品状态查询
type TmallSupplychainChannelProductReleaseStatusGetAPIResponseModel ¶
type TmallSupplychainChannelProductReleaseStatusGetAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_release_status_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductReleaseStatusGetResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductReleaseStatusGetAPIResponseModel is 产品铺货状态查询 成功返回结果
type TmallSupplychainChannelProductReleaseStatusGetResultDto ¶
type TmallSupplychainChannelProductReleaseStatusGetResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 查询结果 Module *TopProductStatusResult `json:"module,omitempty" xml:"module,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TmallSupplychainChannelProductReleaseStatusGetResultDto 结构体
type TmallSupplychainChannelProductUpshelfAPIRequest ¶
type TmallSupplychainChannelProductUpshelfAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallSupplychainChannelProductUpshelfAPIRequest 产品上架 API请求 tmall.supplychain.channel.product.upshelf
上架渠道产品
func NewTmallSupplychainChannelProductUpshelfRequest ¶
func NewTmallSupplychainChannelProductUpshelfRequest() *TmallSupplychainChannelProductUpshelfAPIRequest
NewTmallSupplychainChannelProductUpshelfRequest 初始化TmallSupplychainChannelProductUpshelfAPIRequest对象
func (TmallSupplychainChannelProductUpshelfAPIRequest) GetApiMethodName ¶
func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallSupplychainChannelProductUpshelfAPIRequest) GetApiParams ¶
func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallSupplychainChannelProductUpshelfAPIRequest) GetProductId ¶
func (r TmallSupplychainChannelProductUpshelfAPIRequest) GetProductId() int64
GetProductId ProductId Getter
func (*TmallSupplychainChannelProductUpshelfAPIRequest) SetProductId ¶
func (r *TmallSupplychainChannelProductUpshelfAPIRequest) SetProductId(_productId int64) error
SetProductId is ProductId Setter 产品ID
type TmallSupplychainChannelProductUpshelfAPIResponse ¶
type TmallSupplychainChannelProductUpshelfAPIResponse struct { model.CommonResponse TmallSupplychainChannelProductUpshelfAPIResponseModel }
TmallSupplychainChannelProductUpshelfAPIResponse 产品上架 API返回值 tmall.supplychain.channel.product.upshelf
上架渠道产品
type TmallSupplychainChannelProductUpshelfAPIResponseModel ¶
type TmallSupplychainChannelProductUpshelfAPIResponseModel struct { XMLName xml.Name `xml:"tmall_supplychain_channel_product_upshelf_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 异步获取历史数据接口返回结果 Result *TmallSupplychainChannelProductUpshelfResultDto `json:"result,omitempty" xml:"result,omitempty"` }
TmallSupplychainChannelProductUpshelfAPIResponseModel is 产品上架 成功返回结果
type TmallSupplychainChannelProductUpshelfResultDto ¶
type TmallSupplychainChannelProductUpshelfResultDto struct { // 错误码 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 执行结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 上架结果 Module bool `json:"module,omitempty" xml:"module,omitempty"` }
TmallSupplychainChannelProductUpshelfResultDto 结构体
type TopDpOrderDo ¶
type TopDpOrderDo struct { // ISV自定义key,通过taobao.fenxiao.order.customfield.update 写入。目前禁用 IsvCustomKey []string `json:"isv_custom_key,omitempty" xml:"isv_custom_key>string,omitempty"` // ISV自定义值,通过taobao.fenxiao.order.customfield.update 写入。目前禁用 IsvCustomValue []string `json:"isv_custom_value,omitempty" xml:"isv_custom_value>string,omitempty"` // 采购单留言列表,如果是代销,包含消费者留言。 OrderMessages []OrderMessages `json:"order_messages,omitempty" xml:"order_messages>order_messages,omitempty"` // 子订单的详细信息列表 SubPurchaseOrders []SubOrderDetail `json:"sub_purchase_orders,omitempty" xml:"sub_purchase_orders>sub_order_detail,omitempty"` // 建议废弃 Feature对象列表目前已有的属性: attr_key为 www,attr_value为1 表示是www子订单; attr_key为 wwwStoreCode,attr_value是www子订单发货的仓库编码; attr_key为 isWt,attr_value为1 表示是网厅子订单; attr_key为wtInfo,attr_value为网厅相关合约信息; attr_key为shipper,attr_value为cn表示菜鸟发货; attr_key为 storeCode,attr_value为仓库信息; attr_key为 erpHold,attr_value为1表示强管控中, attr_value为2表示分单完成; Features []FeatureDo `json:"features,omitempty" xml:"features>feature_do,omitempty"` // [架海金梁独有字段,非架海金梁用户请勿关心]子单物流发货信息 LogisticsInfos []ErpLogisticsInfo `json:"logistics_infos,omitempty" xml:"logistics_infos>erp_logistics_info,omitempty"` // 供应商来源网站。 入驻时定义供应商来源的外部系统编码, values: taobao, alibaba SupplierFrom string `json:"supplier_from,omitempty" xml:"supplier_from,omitempty"` // 供应商昵称(在来源网站的帐号名) SupplierUsername string `json:"supplier_username,omitempty" xml:"supplier_username,omitempty"` // 分销商昵称(在来源网站的帐号名)。 DistributorUsername string `json:"distributor_username,omitempty" xml:"distributor_username,omitempty"` // 采购单创建时间。格式:yyyy-MM-dd HH:mm:ss Created string `json:"created,omitempty" xml:"created,omitempty"` // 支付宝交易号,在分销商使用担保交易支付时存在。 来源主订单的payOrderId。 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 应付采购单总额(不含邮费,精确到2位小数;单位:元。如:200.07,表示:200元7分 ) 计算公式: SUM(子单采购价 * 子单采购数量 - 子单折扣)+ 主单调整金额 - 主单折扣 TotalFee string `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 采购单邮费。(改价后最新邮费,精确到2位小数;单位:元。如:8.07,表示:8元7分 ) PostFee string `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 分销商实付金额。(精确到2位小数;单位:元。如:208.14,表示:208元1角4分 ) DistributorPayment string `json:"distributor_payment,omitempty" xml:"distributor_payment,omitempty"` // 交易订单快照URL(该字段废弃) SnapshotUrl string `json:"snapshot_url,omitempty" xml:"snapshot_url,omitempty"` // 采购单付款时间。格式:yyyy-MM-dd HH:mm:ss PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 采购单物流发货时间。格式:yyyy-MM-dd HH:mm:ss ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 采购单最后修改时间(包括订单状态变更和订单操作)。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 供应商备注信息。 只有供应商身份查询输出此新信息 SupplierMemo string `json:"supplier_memo,omitempty" xml:"supplier_memo,omitempty"` // 支付方式:ALIPAY_SURETY(支付宝担保交易)、ALIPAY_CHAIN(分账交易)、TRANSFER(线下转账)、PREPAY(预存款)、IMMEDIATELY(即时到账)、CASHGOODS(先款后货)、ACCOUNT_PERIOD(账期支付) PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 交易模式(分销方式):AGENT(代销)、DEALER(经销)、INSTEAD_SALE(代售)、CONSIGNMENT(自营寄售)、PLATFORM_CONSIGNMENT(平台寄售) TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"` // 建议废弃: 分销商来源网站。 入驻时定义分销商来源的外部系统编码, 目前固定值: taobao DistributorFrom string `json:"distributor_from,omitempty" xml:"distributor_from,omitempty"` // 采购单交易状态。 可选值: WAIT_BUYER_PAY(等待付款) WAIT_SELLER_SEND_GOODS(已付款,待发货) WAIT_BUYER_CONFIRM_GOODS(已付款,已发货) PAID_FORBID_CONSIGN(已付款,禁止发货 ps:只有大快消行业的才有) TRADE_FINISHED(交易成功) TRADE_CLOSED(交易关闭) WAIT_BUYER_CONFIRM_GOODS_ACOUNTED(已付款(已分账),已发货。只对代销分账支持) PAY_ACOUNTED_GOODS_CONFIRM (已分账发货成功) PAY_WAIT_ACOUNT_GOODS_CONFIRM(已付款,确认收货) Status string `json:"status,omitempty" xml:"status,omitempty"` // 消费者(买家)nick,供应商查询不会返回买家昵称,分销商查询才会返回。 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 采购单留言,默认是分销商留言。在代销模式下信息包括消费者(买家)留言和分销商留言信息 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 物流配送方式,发货后有此数据。 对应的值:FAST(快速)、EMS、ORDINARY(平邮)、SELLER(卖家包邮) Shipping string `json:"shipping,omitempty" xml:"shipping,omitempty"` // 物流公司名称 LogisticsCompanyName string `json:"logistics_company_name,omitempty" xml:"logistics_company_name,omitempty"` // 运单号 LogisticsId string `json:"logistics_id,omitempty" xml:"logistics_id,omitempty"` // 交易结束时间。 如果交易成功此时间表示交易成功时间,如果交易关闭,此时间表示交易关闭时间。 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 消费者(买家)支付给分销商的主单的实际总金额。 注意买家购买的商品可能不是全部来自同一供货商,所以此金额不代表供应商销售商品消费者的实付款。请同时参考子单上的相关金额。(精确到2位小数;单位:元。如:200.07,表示:200元7分) BuyerPayment string `json:"buyer_payment,omitempty" xml:"buyer_payment,omitempty"` // 加密后的消费者淘宝ID,长度为32 BuyerTaobaoId string `json:"buyer_taobao_id,omitempty" xml:"buyer_taobao_id,omitempty"` // 支付宝交易号,担保交易使用。 AlipayOrderNo string `json:"alipay_order_no,omitempty" xml:"alipay_order_no,omitempty"` // 已执行确认收货的金额,单位:元 ConfirmPaidFeeYuan string `json:"confirm_paid_fee_yuan,omitempty" xml:"confirm_paid_fee_yuan,omitempty"` // 消费者淘宝id被加密后的唯一标识 OpenBuyerUid string `json:"open_buyer_uid,omitempty" xml:"open_buyer_uid,omitempty"` // 计划出库时间 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 计划送达时间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 配送服务,201为驿站送货上门服务,202为顺丰配送服务,里面多个值时用英文逗号隔开 AsdpAds string `json:"asdp_ads,omitempty" xml:"asdp_ads,omitempty"` // 推荐配送公司编码 DeliveryCps string `json:"delivery_cps,omitempty" xml:"delivery_cps,omitempty"` // 买家详细信息 Receiver *TopReceiverDo `json:"receiver,omitempty" xml:"receiver,omitempty"` // 分销采购单号(分销流水号) FenxiaoId int64 `json:"fenxiao_id,omitempty" xml:"fenxiao_id,omitempty"` // 废弃:如果是担保交易此值是TP800的交易单号,其他情况是采购单单号 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 消费者主订单ID (经销模式下,不存在该单号) TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 供应商备注旗帜vlaue在1-5之间。 非1-5之间,都采用1作为默认。 1:红色 2:黄色 3:绿色 4:蓝色 5:粉红色 供应商角色查询返回 SupplierFlag int64 `json:"supplier_flag,omitempty" xml:"supplier_flag,omitempty"` // 渠道(市场)编码,例如消费电子的编码为200002 ChannelCode int64 `json:"channel_code,omitempty" xml:"channel_code,omitempty"` }
TopDpOrderDo 结构体
type TopDpRefundDetailDo ¶ added in v1.2.5
type TopDpRefundDetailDo struct { // 退货的物流信息 ReturnLogistics []RefundLogistics `json:"return_logistics,omitempty" xml:"return_logistics>refund_logistics,omitempty"` // 退款明细项,记录退款涉及的订单 RefundItems []RefundItem `json:"refund_items,omitempty" xml:"refund_items>refund_item,omitempty"` // 退款创建时间 RefundCreateTime string `json:"refund_create_time,omitempty" xml:"refund_create_time,omitempty"` // 退款的金额(元) RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 支付给供应商的金额(元),分销订单子单实付金额-退款金额 PaySupFee string `json:"pay_sup_fee,omitempty" xml:"pay_sup_fee,omitempty"` // 退款原因 RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"` // 退款说明 RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"` // 分销商nick DistributorNick string `json:"distributor_nick,omitempty" xml:"distributor_nick,omitempty"` // 供应商nick SupplierNick string `json:"supplier_nick,omitempty" xml:"supplier_nick,omitempty"` // 退款修改时间。格式:yyyy-MM-dd HH:mm:ss Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 超时时间 Timeout string `json:"timeout,omitempty" xml:"timeout,omitempty"` // 分销子订单号,如果是by子单发起退款,就会在退款主单上记录分销子订单号 SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 退款状态1:分销商已经申请退款,等待供应商确认2:供应商已经同意退货,等待分销商退货3:分销商已经退货,等待供应商确认收货4:退款关闭5:退款成功 6:供应商拒绝退款12:供应商同意退款,待系统打款 9:没有申请退款 10:供应商拒绝确认收货,待分销商重新修改 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 分销主订单号 PurchaseOrderId int64 `json:"purchase_order_id,omitempty" xml:"purchase_order_id,omitempty"` // 退款流程类型:4:未发货退款;1:已发货仅退款;2:已发货退货退款;3:售后仅退款;5:物流拒收;6:售后退货退款 RefundFlowType int64 `json:"refund_flow_type,omitempty" xml:"refund_flow_type,omitempty"` // 超时类型:<br/>1:供应商同意退款/同意退货超时;<br/>2:供应商确认收货超时 ToType int64 `json:"to_type,omitempty" xml:"to_type,omitempty"` // 前台消费者订单对应的退款详情 BuyerRefund *BuyerRefund `json:"buyer_refund,omitempty" xml:"buyer_refund,omitempty"` // 分销退款单号 RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 是否退货,如果是已发货退货退款/售后退货退款,就是true IsReturnGoods bool `json:"is_return_goods,omitempty" xml:"is_return_goods,omitempty"` }
TopDpRefundDetailDo 结构体
type TopMemoAttachment ¶
type TopMemoAttachment struct { // 附件地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 附件名称 Name string `json:"name,omitempty" xml:"name,omitempty"` }
TopMemoAttachment 结构体
type TopMemoDto ¶
type TopMemoDto struct { // 附件 Attachments []TopMemoAttachment `json:"attachments,omitempty" xml:"attachments>top_memo_attachment,omitempty"` // 子订单备注内容 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 操作者昵称 OperateUserNick string `json:"operate_user_nick,omitempty" xml:"operate_user_nick,omitempty"` }
TopMemoDto 结构体
type TopOfflineAddPrepayDto ¶
type TopOfflineAddPrepayDto struct { // 收款人账号 ReceiverAccountNum string `json:"receiver_account_num,omitempty" xml:"receiver_account_num,omitempty"` // 外部系统支付流水Id,用于商家上传流水时去重(外部保证唯一) OuterPayId string `json:"outer_pay_id,omitempty" xml:"outer_pay_id,omitempty"` // 销商淘宝nick DistNick string `json:"dist_nick,omitempty" xml:"dist_nick,omitempty"` // 出票人全称 DrawerFullName string `json:"drawer_full_name,omitempty" xml:"drawer_full_name,omitempty"` // 付款行行号 PayBankNum string `json:"pay_bank_num,omitempty" xml:"pay_bank_num,omitempty"` // 出票人账号 DrawerAccountNum string `json:"drawer_account_num,omitempty" xml:"drawer_account_num,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 出票日期 TicketIssueDate string `json:"ticket_issue_date,omitempty" xml:"ticket_issue_date,omitempty"` // 收款开户银行 ReceiverBankFullName string `json:"receiver_bank_full_name,omitempty" xml:"receiver_bank_full_name,omitempty"` // 承兑票据号(承兑必填) TicketId string `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"` // 汇票到期日期 AcceptDate string `json:"accept_date,omitempty" xml:"accept_date,omitempty"` // 收款人全称 ReceiverFullName string `json:"receiver_full_name,omitempty" xml:"receiver_full_name,omitempty"` // 付款行全称 PayBankFullName string `json:"pay_bank_full_name,omitempty" xml:"pay_bank_full_name,omitempty"` // 资金流水类型:1.纸质承兑; 2.电子承兑;3.现金;4.优惠返点;5.奖励 FlowType int64 `json:"flow_type,omitempty" xml:"flow_type,omitempty"` // 金额,单位分(必须为正数) TicketMoney int64 `json:"ticket_money,omitempty" xml:"ticket_money,omitempty"` }
TopOfflineAddPrepayDto 结构体
type TopOfflineReducePrepayDto ¶
type TopOfflineReducePrepayDto struct { // 收款人账号 ReceiverAccountNum string `json:"receiver_account_num,omitempty" xml:"receiver_account_num,omitempty"` // 外部系统支付流水Id,用于商家上传流水时去重(外部保证唯一) OuterPayId string `json:"outer_pay_id,omitempty" xml:"outer_pay_id,omitempty"` // 销商淘宝nick DistNick string `json:"dist_nick,omitempty" xml:"dist_nick,omitempty"` // 出票人全称 DrawerFullName string `json:"drawer_full_name,omitempty" xml:"drawer_full_name,omitempty"` // 付款行行号 PayBankNum string `json:"pay_bank_num,omitempty" xml:"pay_bank_num,omitempty"` // 出票人账号 DrawerAccountNum string `json:"drawer_account_num,omitempty" xml:"drawer_account_num,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 出票日期 TicketIssueDate string `json:"ticket_issue_date,omitempty" xml:"ticket_issue_date,omitempty"` // 收款开户银行 ReceiverBankFullName string `json:"receiver_bank_full_name,omitempty" xml:"receiver_bank_full_name,omitempty"` // 承兑票据号 TicketId string `json:"ticket_id,omitempty" xml:"ticket_id,omitempty"` // 汇票到期日期 AcceptDate string `json:"accept_date,omitempty" xml:"accept_date,omitempty"` // 收款人全称 ReceiverFullName string `json:"receiver_full_name,omitempty" xml:"receiver_full_name,omitempty"` // 付款行全称 PayBankFullName string `json:"pay_bank_full_name,omitempty" xml:"pay_bank_full_name,omitempty"` // 资金流水类型:1.纸质承兑; 2.电子承兑;3.现金;4.优惠返点;5.奖励 FlowType int64 `json:"flow_type,omitempty" xml:"flow_type,omitempty"` // 线下流水类型 1票据作废 2线下使用 OfflinePrepayDetailType int64 `json:"offline_prepay_detail_type,omitempty" xml:"offline_prepay_detail_type,omitempty"` // 金额,单位分(必须为负数) TicketMoney int64 `json:"ticket_money,omitempty" xml:"ticket_money,omitempty"` }
TopOfflineReducePrepayDto 结构体
type TopProductDo ¶
type TopProductDo struct { // 分销产品SKU列表 Skus []ProductSkuDo `json:"skus,omitempty" xml:"skus>product_sku_do,omitempty"` // 所在地:市 City string `json:"city,omitempty" xml:"city,omitempty"` // 代销采购价格,单位:元。 CostPriceYuan string `json:"cost_price_yuan,omitempty" xml:"cost_price_yuan,omitempty"` // 产品描述路径,通过http请求获取 DescPath string `json:"desc_path,omitempty" xml:"desc_path,omitempty"` // 创建时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 更新时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // ems费用,单位:元 PostageEms string `json:"postage_ems,omitempty" xml:"postage_ems,omitempty"` // 快递费用,单位:元 PostageFast string `json:"postage_fast,omitempty" xml:"postage_fast,omitempty"` // 平邮费用,单位:元 PostageOrdinary string `json:"postage_ordinary,omitempty" xml:"postage_ordinary,omitempty"` // 商家编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 所在地:省 Prov string `json:"prov,omitempty" xml:"prov,omitempty"` // 最高零售价,单位:元。 RetailPriceHigh string `json:"retail_price_high,omitempty" xml:"retail_price_high,omitempty"` // 最低零售价,单位:元。 RetailPriceLow string `json:"retail_price_low,omitempty" xml:"retail_price_low,omitempty"` // 市场价:单位元 StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"` // 产品名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 产品图片路径列表,用“,”分隔 Pictures string `json:"pictures,omitempty" xml:"pictures,omitempty"` // 是否有发票,可选值:false(否)、true(是) HaveInvoice int64 `json:"have_invoice,omitempty" xml:"have_invoice,omitempty"` // 是否有保修,可选值:false(否)、true(是) HaveQuarantee int64 `json:"have_quarantee,omitempty" xml:"have_quarantee,omitempty"` // 关联的前台宝贝id AuctionId int64 `json:"auction_id,omitempty" xml:"auction_id,omitempty"` // 下载人数 ItemsCount int64 `json:"items_count,omitempty" xml:"items_count,omitempty"` // 运费模板ID PostageId int64 `json:"postage_id,omitempty" xml:"postage_id,omitempty"` // 运费类型:1(供应商承担运费)、2(分销商承担运费)可选值:seller(供应商承担运费)、buyer(分销商承担运费) PostageType int64 `json:"postage_type,omitempty" xml:"postage_type,omitempty"` // 产品ID Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` // 产品所属产品线id ProductLineId int64 `json:"product_line_id,omitempty" xml:"product_line_id,omitempty"` // 产品库存 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // scItemId ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // spuId SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"` // 发布状态: 1 上架,2 下架,3 删除 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 累计采购次数 OrdersCount int64 `json:"orders_count,omitempty" xml:"orders_count,omitempty"` }
TopProductDo 结构体
type TopProductPriceResult ¶
type TopProductPriceResult struct { // 价格 Price string `json:"price,omitempty" xml:"price,omitempty"` // 币种 CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"` // 产品ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // SKU ID SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 渠道编码 ChannelCode int64 `json:"channel_code,omitempty" xml:"channel_code,omitempty"` // 价格类型,区域价、指导价 PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"` }
TopProductPriceResult 结构体
type TopProductQuantityResult ¶
type TopProductQuantityResult struct { // 更新后库存数量 Result string `json:"result,omitempty" xml:"result,omitempty"` // 更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 产品数字ID ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"` // SKU ID SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
TopProductQuantityResult 结构体
type TopProductStatusResult ¶
type TopProductStatusResult struct { // 产品铺货状态 Release bool `json:"release,omitempty" xml:"release,omitempty"` }
TopProductStatusResult 结构体
type TopQueryProductDo ¶
type TopQueryProductDo struct { // 要查询的产品id 列表 Ids []int64 `json:"ids,omitempty" xml:"ids>int64,omitempty"` // 关联的前端宝贝id列表 ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"` // 产品商家编码 ProductOuterId string `json:"product_outer_id,omitempty" xml:"product_outer_id,omitempty"` // sku商家编码 SkuOuterId string `json:"sku_outer_id,omitempty" xml:"sku_outer_id,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 产品线id ProductLineId int64 `json:"product_line_id,omitempty" xml:"product_line_id,omitempty"` // 当前要查看的页数 PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` // 渠道[21 零售plus] Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"` }
TopQueryProductDo 结构体
type TopReceiverDo ¶
type TopReceiverDo struct { // 收货人全名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 固定电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 移动电话 MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"` // 收货人的详细地址信息 Address string `json:"address,omitempty" xml:"address,omitempty"` // 区/县 District string `json:"district,omitempty" xml:"district,omitempty"` // 收货人的城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 邮政编码 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 收货人所在省份 State string `json:"state,omitempty" xml:"state,omitempty"` // 收件人ID (Open Addressee ID),长度在128个字符之内。 Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"` }
TopReceiverDo 结构体
type UpdateCnskuOption ¶
type UpdateCnskuOption struct { // 是否同步到wms, 为空时默认下发 SyncWms bool `json:"sync_wms,omitempty" xml:"sync_wms,omitempty"` }
UpdateCnskuOption 结构体
type WareHouseDto ¶
type WareHouseDto struct { // 详细地址描述 Address string `json:"address,omitempty" xml:"address,omitempty"` // 仓库地址信息,格式 :省~市~区县 AddressAreaName string `json:"address_area_name,omitempty" xml:"address_area_name,omitempty"` // 别名 AliasName string `json:"alias_name,omitempty" xml:"alias_name,omitempty"` // 联系人 Contact string `json:"contact,omitempty" xml:"contact,omitempty"` // 电话号码 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 邮编 PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"` // 仓库编码,仅允许使用字母、数字、下划线,并且在6-30个字符内 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 仓库名称 StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"` // 操作类型,新增:ADD;修改:UPDATE OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"` }
WareHouseDto 结构体
Source Files ¶
- AddCnskuOption.go
- AlibabaAscpCnskuAddAPIRequest.go
- AlibabaAscpCnskuAddAPIResponse.go
- AlibabaAscpCnskuModifyAPIRequest.go
- AlibabaAscpCnskuModifyAPIResponse.go
- AlibabaAscpCnskuSearchAPIRequest.go
- AlibabaAscpCnskuSearchAPIResponse.go
- AlibabaAscpCnskuUpdateAPIRequest.go
- AlibabaAscpCnskuUpdateAPIResponse.go
- AlibabaFenxiaoCbutotaobaoRelationAddAPIRequest.go
- AlibabaFenxiaoCbutotaobaoRelationAddAPIResponse.go
- BaseResult.go
- BigDecimal.go
- BuyerRefund.go
- CnskuDto.go
- CnskuExtendDto.go
- CnskuFeatureDto.go
- CnskuRelationDto.go
- CnskuResult.go
- CnskuSnSampleDto.go
- CnskuSnSampleRuleDto.go
- CnskuSuiteGoodsRelationDto.go
- Cooperation.go
- DealerOrder.go
- DealerOrderDetail.go
- Discount.go
- DiscountDetail.go
- Distributor.go
- DpBuyerDetail.go
- ErpLogisticsInfo.go
- Feature.go
- FeatureDo.go
- FenxiaoGrade.go
- FenxiaoItemRecord.go
- FenxiaoProduct.go
- FenxiaoSku.go
- GradeDiscount.go
- InventoryInfoDetailDto.go
- InventoryQueryForStoreRequest.go
- InventoryQueryResult.go
- InventorySubDetailDto.go
- InventorySum.go
- LoginUser.go
- Null.go
- OrderList.go
- OrderMessages.go
- PaginationResult.go
- PduList.go
- ProductCat.go
- ProductImageList.go
- ProductSkuDo.go
- PurchaseOrder.go
- QueryPagination.go
- Receiver.go
- RefundDetail.go
- RefundDetailList.go
- RefundItem.go
- RefundLogistics.go
- RegionalPriceDto.go
- Requisition.go
- ResultDto.go
- ScItem.go
- ScItemMap.go
- ScItemSearchDto.go
- SkuList.go
- Store.go
- SubOrderDetail.go
- SubOrderList.go
- TaobaoFenxiaoCooperationGetAPIRequest.go
- TaobaoFenxiaoCooperationGetAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderAgreeAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderAgreeAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderCloseAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderCloseAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderCreateAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderCreateAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderGetAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderGetAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderQueryAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderQueryAPIResponse.go
- TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIRequest.go
- TaobaoFenxiaoDealerRequisitionorderRemarkUpdateAPIResponse.go
- TaobaoFenxiaoDiscountsGetAPIRequest.go
- TaobaoFenxiaoDiscountsGetAPIResponse.go
- TaobaoFenxiaoDistributorItemsGetAPIRequest.go
- TaobaoFenxiaoDistributorItemsGetAPIResponse.go
- TaobaoFenxiaoDistributorProductsGetAPIRequest.go
- TaobaoFenxiaoDistributorProductsGetAPIResponse.go
- TaobaoFenxiaoDistributorsGetAPIRequest.go
- TaobaoFenxiaoDistributorsGetAPIResponse.go
- TaobaoFenxiaoGradesGetAPIRequest.go
- TaobaoFenxiaoGradesGetAPIResponse.go
- TaobaoFenxiaoLoginUserGetAPIRequest.go
- TaobaoFenxiaoLoginUserGetAPIResponse.go
- TaobaoFenxiaoOrderConfirmPaidAPIRequest.go
- TaobaoFenxiaoOrderConfirmPaidAPIResponse.go
- TaobaoFenxiaoOrderRemarkUpdateAPIRequest.go
- TaobaoFenxiaoOrderRemarkUpdateAPIResponse.go
- TaobaoFenxiaoOrdersGetAPIRequest.go
- TaobaoFenxiaoOrdersGetAPIResponse.go
- TaobaoFenxiaoProductAddAPIRequest.go
- TaobaoFenxiaoProductAddAPIResponse.go
- TaobaoFenxiaoProductGradepriceGetAPIRequest.go
- TaobaoFenxiaoProductGradepriceGetAPIResponse.go
- TaobaoFenxiaoProductGradepriceUpdateAPIRequest.go
- TaobaoFenxiaoProductGradepriceUpdateAPIResponse.go
- TaobaoFenxiaoProductImageDeleteAPIRequest.go
- TaobaoFenxiaoProductImageDeleteAPIResponse.go
- TaobaoFenxiaoProductImageUploadAPIRequest.go
- TaobaoFenxiaoProductImageUploadAPIResponse.go
- TaobaoFenxiaoProductImportFromAuctionAPIRequest.go
- TaobaoFenxiaoProductImportFromAuctionAPIResponse.go
- TaobaoFenxiaoProductMapAddAPIRequest.go
- TaobaoFenxiaoProductMapAddAPIResponse.go
- TaobaoFenxiaoProductQuantityUpdateAPIRequest.go
- TaobaoFenxiaoProductQuantityUpdateAPIResponse.go
- TaobaoFenxiaoProductSkuAddAPIRequest.go
- TaobaoFenxiaoProductSkuAddAPIResponse.go
- TaobaoFenxiaoProductSkuDeleteAPIRequest.go
- TaobaoFenxiaoProductSkuDeleteAPIResponse.go
- TaobaoFenxiaoProductSkuUpdateAPIRequest.go
- TaobaoFenxiaoProductSkuUpdateAPIResponse.go
- TaobaoFenxiaoProductSkusGetAPIRequest.go
- TaobaoFenxiaoProductSkusGetAPIResponse.go
- TaobaoFenxiaoProductToChannelImportAPIRequest.go
- TaobaoFenxiaoProductToChannelImportAPIResponse.go
- TaobaoFenxiaoProductUpdateAPIRequest.go
- TaobaoFenxiaoProductUpdateAPIResponse.go
- TaobaoFenxiaoProductcatAddAPIRequest.go
- TaobaoFenxiaoProductcatAddAPIResponse.go
- TaobaoFenxiaoProductcatDeleteAPIRequest.go
- TaobaoFenxiaoProductcatDeleteAPIResponse.go
- TaobaoFenxiaoProductcatUpdateAPIRequest.go
- TaobaoFenxiaoProductcatUpdateAPIResponse.go
- TaobaoFenxiaoProductcatsGetAPIRequest.go
- TaobaoFenxiaoProductcatsGetAPIResponse.go
- TaobaoFenxiaoProductsGetAPIRequest.go
- TaobaoFenxiaoProductsGetAPIResponse.go
- TaobaoFenxiaoRefundGetAPIRequest.go
- TaobaoFenxiaoRefundGetAPIResponse.go
- TaobaoFenxiaoRefundQueryAPIRequest.go
- TaobaoFenxiaoRefundQueryAPIResponse.go
- TaobaoFenxiaoRequisitionsGetAPIRequest.go
- TaobaoFenxiaoRequisitionsGetAPIResponse.go
- TaobaoFenxiaoTradePrepayOfflineAddAPIRequest.go
- TaobaoFenxiaoTradePrepayOfflineAddAPIResponse.go
- TaobaoFenxiaoTradePrepayOfflineAddResultTopDo.go
- TaobaoFenxiaoTradePrepayOfflineReduceAPIRequest.go
- TaobaoFenxiaoTradePrepayOfflineReduceAPIResponse.go
- TaobaoFenxiaoTradePrepayOfflineReduceResultTopDo.go
- TaobaoFenxiaoYphOrderGetAPIRequest.go
- TaobaoFenxiaoYphOrderGetAPIResponse.go
- TaobaoFenxiaoYphOrdersGetAPIRequest.go
- TaobaoFenxiaoYphOrdersGetAPIResponse.go
- TaobaoFenxiaoYphRefundGetAPIRequest.go
- TaobaoFenxiaoYphRefundGetAPIResponse.go
- TaobaoFenxiaoYphRefundsGetAPIRequest.go
- TaobaoFenxiaoYphRefundsGetAPIResponse.go
- TaobaoInventoryAdjustExternalAPIRequest.go
- TaobaoInventoryAdjustExternalAPIResponse.go
- TaobaoInventoryAdjustTradeAPIRequest.go
- TaobaoInventoryAdjustTradeAPIResponse.go
- TaobaoInventoryInitialAPIRequest.go
- TaobaoInventoryInitialAPIResponse.go
- TaobaoInventoryInitialItemAPIRequest.go
- TaobaoInventoryInitialItemAPIResponse.go
- TaobaoInventoryQueryAPIRequest.go
- TaobaoInventoryQueryAPIResponse.go
- TaobaoInventoryStoreManageAPIRequest.go
- TaobaoInventoryStoreManageAPIResponse.go
- TaobaoInventoryStoreQueryAPIRequest.go
- TaobaoInventoryStoreQueryAPIResponse.go
- TaobaoInventoryWarehouseManageAPIRequest.go
- TaobaoInventoryWarehouseManageAPIResponse.go
- TaobaoInventoryWarehouseManageResult.go
- TaobaoInventoryWarehouseQueryAPIRequest.go
- TaobaoInventoryWarehouseQueryAPIResponse.go
- TaobaoKaolaScitemAddAPIRequest.go
- TaobaoKaolaScitemAddAPIResponse.go
- TaobaoRegionPriceCancleAPIRequest.go
- TaobaoRegionPriceCancleAPIResponse.go
- TaobaoRegionPriceManageAPIRequest.go
- TaobaoRegionPriceManageAPIResponse.go
- TaobaoRegionPriceQueryAPIRequest.go
- TaobaoRegionPriceQueryAPIResponse.go
- TaobaoRegionSaleQueryAPIRequest.go
- TaobaoRegionSaleQueryAPIResponse.go
- TaobaoRegionWarehouseManageAPIRequest.go
- TaobaoRegionWarehouseManageAPIResponse.go
- TaobaoRegionWarehouseQueryAPIRequest.go
- TaobaoRegionWarehouseQueryAPIResponse.go
- TaobaoScitemAddAPIRequest.go
- TaobaoScitemAddAPIResponse.go
- TaobaoScitemGetAPIRequest.go
- TaobaoScitemGetAPIResponse.go
- TaobaoScitemMapAddAPIRequest.go
- TaobaoScitemMapAddAPIResponse.go
- TaobaoScitemMapDeleteAPIRequest.go
- TaobaoScitemMapDeleteAPIResponse.go
- TaobaoScitemMapQueryAPIRequest.go
- TaobaoScitemMapQueryAPIResponse.go
- TaobaoScitemOutercodeGetAPIRequest.go
- TaobaoScitemOutercodeGetAPIResponse.go
- TaobaoScitemQueryAPIRequest.go
- TaobaoScitemQueryAPIResponse.go
- TaobaoScitemUpdateAPIRequest.go
- TaobaoScitemUpdateAPIResponse.go
- TipInfo.go
- TmallChannelProductsGetAPIRequest.go
- TmallChannelProductsGetAPIResponse.go
- TmallInventoryQueryForstoreAPIRequest.go
- TmallInventoryQueryForstoreAPIResponse.go
- TmallSupplychainChannelProductDownshelfAPIRequest.go
- TmallSupplychainChannelProductDownshelfAPIResponse.go
- TmallSupplychainChannelProductDownshelfResultDto.go
- TmallSupplychainChannelProductPriceGetAPIRequest.go
- TmallSupplychainChannelProductPriceGetAPIResponse.go
- TmallSupplychainChannelProductPriceGetResultDto.go
- TmallSupplychainChannelProductPriceUpdateAPIRequest.go
- TmallSupplychainChannelProductPriceUpdateAPIResponse.go
- TmallSupplychainChannelProductQuantityGetAPIRequest.go
- TmallSupplychainChannelProductQuantityGetAPIResponse.go
- TmallSupplychainChannelProductQuantityGetResultDto.go
- TmallSupplychainChannelProductQuantityUpdateAPIRequest.go
- TmallSupplychainChannelProductQuantityUpdateAPIResponse.go
- TmallSupplychainChannelProductQuantityUpdateResultDto.go
- TmallSupplychainChannelProductReleaseAPIRequest.go
- TmallSupplychainChannelProductReleaseAPIResponse.go
- TmallSupplychainChannelProductReleaseResultDto.go
- TmallSupplychainChannelProductReleaseStatusGetAPIRequest.go
- TmallSupplychainChannelProductReleaseStatusGetAPIResponse.go
- TmallSupplychainChannelProductReleaseStatusGetResultDto.go
- TmallSupplychainChannelProductUpshelfAPIRequest.go
- TmallSupplychainChannelProductUpshelfAPIResponse.go
- TmallSupplychainChannelProductUpshelfResultDto.go
- TopDpOrderDo.go
- TopDpRefundDetailDo.go
- TopMemoAttachment.go
- TopMemoDto.go
- TopOfflineAddPrepayDto.go
- TopOfflineReducePrepayDto.go
- TopProductDo.go
- TopProductPriceResult.go
- TopProductQuantityResult.go
- TopProductStatusResult.go
- TopQueryProductDo.go
- TopReceiverDo.go
- UpdateCnskuOption.go
- WareHouseDto.go
- doc.go