Documentation
¶
Overview ¶
*
- Copyright 2015 @ at3.net.
- name : helper
- author : jarryliu
- date : 2016-11-29 17:04
- description :
- history :
*
- Copyright 2015 @ at3.net.
- name : parser.go
- author : jarryliu
- date : 2016-11-17 15:07
- description :
- history :
Index ¶
- func Address(src *proto.SAddress) *member.ConsigneeAddress
- func ComplexMemberDto(src *member.ComplexMember) *proto.SComplexMember
- func FromSaleLabelDto(src *proto.SItemLabel) *item.Label
- func Item(src *proto.SOldItem) *item.GoodsItem
- func ItemDto(src *item.GoodsItem) *proto.SOldItem
- func ItemDtoV2(src *item.GoodsItem) *proto.SUnifiedViewItem
- func LevelPriceDto(src *item.MemberPrice) *proto.SLevelPrice
- func MemberDto(src *member.Member) *proto.SMember
- func Order(src *proto.SSingleOrder) *order.ComplexOrder
- func OrderDto(src *order.ComplexOrder) *proto.SSingleOrder
- func OrderItem(src *proto.SOrderItem) *order.ComplexItem
- func OrderItemDto(src *order.ComplexItem) *proto.SOrderItem
- func PagingResult(total int, data interface{}, err error) *proto.SPagingResult
- func ParseCartItem(item *cart.NormalCartItem) *proto.SShoppingCartItem
- func ParseGoodsDto_(src *valueobject.Goods) *proto.SUnifiedViewItem
- func ParseGoodsItem(src *proto.SUnifiedViewItem) *item.GoodsItem
- func ParseItemSnapshotDto(src *item.Snapshot) *proto.SItemSnapshot
- func ParseLevelPrice(src *proto.SLevelPrice) *item.MemberPrice
- func ParseOrderItem(v *dto.OrderItem) *proto.SOrderItem
- func ParseSaleLabelDto(src *item.Label) *proto.SItemLabel
- func ParseToDtoCart(ic cart.ICart) *proto.SShoppingCart
- func ParseTradeSnapshot(src *item.TradeSnapshot) *proto.STradeSnapshot
- func PriceArrayDto(src []*item.MemberPrice) []*proto.SLevelPrice
- func Sku(src *proto.SSku) *item.Sku
- func SkuArrayDto(src []*item.Sku) []*proto.SSku
- func SkuDto(src *item.Sku) *proto.SSku
- func SubOrderDto(src *order.NormalSubOrder) *proto.SSingleOrder
- func SubOrderItemDto(src *order.SubOrderItem) *proto.SOrderItem
- func TradeMethodDataDto(src *payment.TradeMethodData) *proto.STradeMethodData
- func WsItemDiscount(src *proto.SWsItemDiscount) *item.WsItemDiscount
- func WsItemDiscountDto(src *item.WsItemDiscount) *proto.SWsItemDiscount
- func WsSkuPrice(src *proto.SWsSkuPrice) *item.WsSkuPrice
- func WsSkuPriceDto(src *item.WsSkuPrice) *proto.SWsSkuPrice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComplexMemberDto ¶
func ComplexMemberDto(src *member.ComplexMember) *proto.SComplexMember
func FromSaleLabelDto ¶
func FromSaleLabelDto(src *proto.SItemLabel) *item.Label
func LevelPriceDto ¶
func LevelPriceDto(src *item.MemberPrice) *proto.SLevelPrice
func Order ¶
func Order(src *proto.SSingleOrder) *order.ComplexOrder
func OrderDto ¶
func OrderDto(src *order.ComplexOrder) *proto.SSingleOrder
func OrderItem ¶
func OrderItem(src *proto.SOrderItem) *order.ComplexItem
func OrderItemDto ¶
func OrderItemDto(src *order.ComplexItem) *proto.SOrderItem
func PagingResult ¶
func PagingResult(total int, data interface{}, err error) *proto.SPagingResult
func ParseCartItem ¶
func ParseCartItem(item *cart.NormalCartItem) *proto.SShoppingCartItem
func ParseGoodsDto_ ¶
func ParseGoodsDto_(src *valueobject.Goods) *proto.SUnifiedViewItem
func ParseGoodsItem ¶
func ParseGoodsItem(src *proto.SUnifiedViewItem) *item.GoodsItem
func ParseItemSnapshotDto ¶
func ParseItemSnapshotDto(src *item.Snapshot) *proto.SItemSnapshot
func ParseLevelPrice ¶
func ParseLevelPrice(src *proto.SLevelPrice) *item.MemberPrice
func ParseOrderItem ¶
func ParseOrderItem(v *dto.OrderItem) *proto.SOrderItem
func ParseSaleLabelDto ¶
func ParseSaleLabelDto(src *item.Label) *proto.SItemLabel
func ParseToDtoCart ¶
func ParseToDtoCart(ic cart.ICart) *proto.SShoppingCart
func ParseTradeSnapshot ¶
func ParseTradeSnapshot(src *item.TradeSnapshot) *proto.STradeSnapshot
func PriceArrayDto ¶
func PriceArrayDto(src []*item.MemberPrice) []*proto.SLevelPrice
func SubOrderDto ¶
func SubOrderDto(src *order.NormalSubOrder) *proto.SSingleOrder
func SubOrderItemDto ¶
func SubOrderItemDto(src *order.SubOrderItem) *proto.SOrderItem
func TradeMethodDataDto ¶
func TradeMethodDataDto(src *payment.TradeMethodData) *proto.STradeMethodData
func WsItemDiscount ¶
func WsItemDiscount(src *proto.SWsItemDiscount) *item.WsItemDiscount
func WsItemDiscountDto ¶
func WsItemDiscountDto(src *item.WsItemDiscount) *proto.SWsItemDiscount
func WsSkuPrice ¶
func WsSkuPrice(src *proto.SWsSkuPrice) *item.WsSkuPrice
func WsSkuPriceDto ¶
func WsSkuPriceDto(src *item.WsSkuPrice) *proto.SWsSkuPrice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.