parser

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: GPL-2.0 Imports: 12 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address(src *proto.SAddress) *member.ConsigneeAddress

func ComplexMemberDto

func ComplexMemberDto(src *member.ComplexMember) *proto.SComplexMember

func FromSaleLabelDto

func FromSaleLabelDto(src *proto.SItemLabel) *item.Label

func Item

func Item(src *proto.SOldItem) *item.GoodsItem

func ItemDto

func ItemDto(src *item.GoodsItem) *proto.SOldItem

func ItemDtoV2

func ItemDtoV2(src *item.GoodsItem) *proto.SUnifiedViewItem

func LevelPriceDto

func LevelPriceDto(src *item.MemberPrice) *proto.SLevelPrice

func MemberDto

func MemberDto(src *member.Member) *proto.SMember

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 Sku

func Sku(src *proto.SSku) *item.Sku

func SkuArrayDto

func SkuArrayDto(src []*item.Sku) []*proto.SSku

func SkuDto

func SkuDto(src *item.Sku) *proto.SSku

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.

Jump to

Keyboard shortcuts

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