entity

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmRequest

type ConfirmRequest struct {
	ReturnSn string `json:"return_sn"`
}

func (ConfirmRequest) String

func (g ConfirmRequest) String() string

type ConfirmResponseResponseEntity

type ConfirmResponseResponseEntity struct {
	ReturnSn string `json:"return_sn"`
}

func (ConfirmResponseResponseEntity) String

type ConfirmResult

type ConfirmResult struct {
	RequestId string                        `json:"request_id"`
	Error     string                        `json:"error"`
	Message   string                        `json:"message"`
	Response  ConfirmResponseResponseEntity `json:"response"`
}

func (ConfirmResult) String

func (g ConfirmResult) String() string

type DisputeRequest

type DisputeRequest struct {
	ReturnSn          string   `json:"return_sn"`
	Email             string   `json:"email"`
	DisputeReason     string   `json:"dispute_reason"`
	DisputeTextReason string   `json:"dispute_text_reason"`
	Image             []string `json:"image"`
}

func (DisputeRequest) String

func (g DisputeRequest) String() string

type DisputeResponseResponseEntity

type DisputeResponseResponseEntity struct {
	ReturnSn string `json:"return_sn"`
}

func (DisputeResponseResponseEntity) String

type DisputeResult

type DisputeResult struct {
	RequestId string                        `json:"request_id"`
	Error     string                        `json:"error"`
	Message   string                        `json:"message"`
	Response  DisputeResponseResponseEntity `json:"response"`
}

func (DisputeResult) String

func (g DisputeResult) String() string

type GetReturnDetailActivityResponseEntity

type GetReturnDetailActivityResponseEntity struct {
	ActivityId      int64                                `json:"activity_id"`
	ActivityType    string                               `json:"activity_type"`
	OriginalPrice   string                               `json:"original_price"`
	DiscountedPrice string                               `json:"discounted_price"`
	Items           []GetReturnDetailItemsResponseEntity `json:"items"`
}

func (GetReturnDetailActivityResponseEntity) String

type GetReturnDetailItemResponseEntity

type GetReturnDetailItemResponseEntity struct {
	ModelId      int64    `json:"model_id"`
	Name         string   `json:"name"`
	Images       []string `json:"images"`
	Amount       int      `json:"amount"`
	ItemPrice    float32  `json:"item_price"`
	IsAddOnDeal  bool     `json:"is_add_on_deal"`
	IsMainItem   bool     `json:"is_main_item"`
	AddOnDealId  int64    `json:"add_on_deal_id"`
	ItemId       int64    `json:"item_id"`
	ItemSku      string   `json:"item_sku"`
	VariationSku string   `json:"variation_sku"`
}

func (GetReturnDetailItemResponseEntity) String

type GetReturnDetailItemsResponseEntity

type GetReturnDetailItemsResponseEntity struct {
	ItemId            int64  `json:"item_id"`
	VariationId       int64  `json:"variation_id"`
	QuantityPurchased int    `json:"quantity_purchased"`
	OriginalPrice     string `json:"original_price"`
}

func (GetReturnDetailItemsResponseEntity) String

type GetReturnDetailRequest

type GetReturnDetailRequest struct {
	ReturnSn int `json:"return_sn"`
}

func (GetReturnDetailRequest) String

func (g GetReturnDetailRequest) String() string

type GetReturnDetailResponseResponseEntity

type GetReturnDetailResponseResponseEntity struct {
	Image                []string                                `json:"image"`
	Reason               string                                  `json:"reason"`
	TextReason           string                                  `json:"text_reason"`
	ReturnSn             int                                     `json:"return_sn"`
	RefundAmount         float32                                 `json:"refund_amount"`
	Currency             string                                  `json:"currency"`
	CreateTime           int                                     `json:"create_time"`
	UpdateTime           int                                     `json:"update_time"`
	Status               string                                  `json:"status"`
	DueDate              int                                     `json:"due_date"`
	TrackingNumber       string                                  `json:"tracking_number"`
	DisputeReason        []string                                `json:"dispute_reason"`
	DisputeTextReason    []string                                `json:"dispute_text_reason"`
	NeedsLogistics       bool                                    `json:"needs_logistics"`
	AmountBeforeDiscount float32                                 `json:"amount_before_discount"`
	User                 GetReturnDetailUserResponseEntity       `json:"user"`
	Item                 []GetReturnDetailItemResponseEntity     `json:"item"`
	OrderSn              string                                  `json:"order_sn"`
	ReturnShipDueDate    int                                     `json:"return_ship_due_date"`
	ReturnSellerDueDate  int                                     `json:"return_seller_due_date"`
	Activity             []GetReturnDetailActivityResponseEntity `json:"activity"`
}

func (GetReturnDetailResponseResponseEntity) String

type GetReturnDetailResult

type GetReturnDetailResult struct {
	RequestId string                                `json:"request_id"`
	Error     string                                `json:"error"`
	Message   string                                `json:"message"`
	Response  GetReturnDetailResponseResponseEntity `json:"response"`
}

func (GetReturnDetailResult) String

func (g GetReturnDetailResult) String() string

type GetReturnDetailUserResponseEntity

type GetReturnDetailUserResponseEntity struct {
	Username string `json:"username"`
	Email    string `json:"email"`
	Portrait string `json:"portrait"`
}

func (GetReturnDetailUserResponseEntity) String

type GetReturnListItemResponseEntity

type GetReturnListItemResponseEntity struct {
	ModelId      int64    `json:"model_id"`
	Name         string   `json:"name"`
	Images       []string `json:"images"`
	Amount       int      `json:"amount"`
	ItemPrice    float32  `json:"item_price"`
	IsAddOnDeal  bool     `json:"is_add_on_deal"`
	IsMainItem   bool     `json:"is_main_item"`
	AddOnDealId  int64    `json:"add_on_deal_id"`
	ItemId       int64    `json:"item_id"`
	ItemSku      string   `json:"item_sku"`
	VariationSku string   `json:"variation_sku"`
}

func (GetReturnListItemResponseEntity) String

type GetReturnListRequest

type GetReturnListRequest struct {
	PageNo         int `json:"page_no"`
	PageSize       int `json:"page_size"`
	CreateTimeFrom int `json:"create_time_from"`
	CreateTimeTo   int `json:"create_time_to"`
}

func (GetReturnListRequest) String

func (g GetReturnListRequest) String() string

type GetReturnListResponseResponse

type GetReturnListResponseResponse struct {
	Return []GetReturnListResponseResponseEntity `json:"return"`
	More   bool                                  `json:"more"`
}

GetReturnListResponseResponse

type GetReturnListResponseResponseEntity

type GetReturnListResponseResponseEntity struct {
	Image                []string                          `json:"image"`
	Reason               string                            `json:"reason"`
	TextReason           string                            `json:"text_reason"`
	ReturnSn             int64                             `json:"return_sn"`
	RefundAmount         float32                           `json:"refund_amount"`
	Currency             string                            `json:"currency"`
	CreateTime           int                               `json:"create_time"`
	UpdateTime           int                               `json:"update_time"`
	Status               string                            `json:"status"`
	DueDate              int                               `json:"due_date"`
	TrackingNumber       string                            `json:"tracking_number"`
	DisputeReason        []string                          `json:"dispute_reason"`
	DisputeTextReason    []string                          `json:"dispute_text_reason"`
	NeedsLogistics       bool                              `json:"needs_logistics"`
	AmountBeforeDiscount float32                           `json:"amount_before_discount"`
	User                 GetReturnListUserResponseEntity   `json:"user"`
	Item                 []GetReturnListItemResponseEntity `json:"item"`
	OrderSn              string                            `json:"order_sn"`
	ReturnShipDueDate    int                               `json:"return_ship_due_date"`
	ReturnSellerDueDate  int                               `json:"return_seller_due_date"`
}

func (GetReturnListResponseResponseEntity) String

type GetReturnListResult

type GetReturnListResult struct {
	RequestId string                        `json:"request_id"`
	Error     string                        `json:"error"`
	Message   string                        `json:"message"`
	Response  GetReturnListResponseResponse `json:"response"`
}

func (GetReturnListResult) String

func (g GetReturnListResult) String() string

type GetReturnListUserResponseEntity

type GetReturnListUserResponseEntity struct {
	Username string `json:"username"`
	Email    string `json:"email"`
	Portrait string `json:"portrait"`
}

func (GetReturnListUserResponseEntity) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL