mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoDSettleUser

func DoDSettleUser() (*qlcSdk.DoDSettleUser, *qlcSdk.DoDSettleUser)

func GetChangeOrderRewardBlock

func GetChangeOrderRewardBlock(op *qlcSdk.DoDSettleResponseParam, sign qlcSdk.Signature) (*pkg.StateBlock, error)

func GetCreateOrderRewardBlock

func GetCreateOrderRewardBlock(op *qlcSdk.DoDSettleResponseParam, sign qlcSdk.Signature) (*pkg.StateBlock, error)

func GetOrderInfoByInternalId

func GetOrderInfoByInternalId(id string) (*qlcSdk.DoDSettleOrderInfo, error)

func GetPendingRequest

func GetPendingRequest(addr pkg.Address) []*qlcSdk.DoDPendingRequestRsp

func GetPendingResourceCheck

func GetPendingResourceCheck(addr pkg.Address) []*qlcSdk.DoDPendingResourceCheckInfo

func GetPendingResourceCheckForProductId

func GetPendingResourceCheckForProductId(addr pkg.Address) []*qlcSdk.DoDPendingResourceCheckInfo

func GetTerminateOrderRewardBlock

func GetTerminateOrderRewardBlock(op *qlcSdk.DoDSettleResponseParam, sign qlcSdk.Signature) (*pkg.StateBlock, error)

func GetUpdateOrderInfoRewardBlock

func GetUpdateOrderInfoRewardBlock(param *qlcSdk.DoDSettleResponseParam, sign qlcSdk.Signature) (*pkg.StateBlock, error)

func OrderInfo

func OrderInfo() (*qlcSdk.DoDSettleOrderInfo, error)

func ProtoChangeOrderParams

func ProtoChangeOrderParams() *proto.ChangeOrderParam

func ProtoCreateOrderParams

func ProtoCreateOrderParams() *proto.CreateOrderParam

func ProtoTerminateOrderParams

func ProtoTerminateOrderParams() *proto.TerminateOrderParam

func RandomHash

func RandomHash() pkg.Hash

func SonataGenerateInvFindResponse

func SonataGenerateInvFindResponse(reqParams *invapi.ProductFindParams) *invapi.ProductFindOK

func SonataGenerateInvGetResponse

func SonataGenerateInvGetResponse(reqParams *invapi.ProductGetParams) *invapi.ProductGetOK

func SonataGenerateOfferFindResponse

func SonataGenerateOfferFindResponse(reqParams *offapi.ProductOfferingFindParams) *offapi.FindResponse

func SonataGenerateOfferGetResponse

func SonataGenerateOfferGetResponse(reqParams *offapi.ProductOfferingGetParams) *offapi.GetResponse

func SonataGenerateOrderCreateResponse

func SonataGenerateOrderCreateResponse(reqParams *ordapi.ProductOrderCreateParams) *ordapi.ProductOrderCreateCreated

func SonataGenerateOrderFindResponse

func SonataGenerateOrderFindResponse(reqParams *ordapi.ProductOrderFindParams) *ordapi.ProductOrderFindOK

func SonataGenerateOrderGetResponse

func SonataGenerateOrderGetResponse(reqParams *ordapi.ProductOrderGetParams) *ordapi.ProductOrderGetOK

func SonataGenerateQuoteCreateResponse

func SonataGenerateQuoteCreateResponse(reqParams *quoapi.QuoteCreateParams) *quoapi.QuoteCreateCreated

func SonataGenerateQuoteFindResponse

func SonataGenerateQuoteFindResponse(reqParams *quoapi.QuoteFindParams) *quoapi.QuoteFindOK

func SonataGenerateQuoteGetResponse

func SonataGenerateQuoteGetResponse(reqParams *quoapi.QuoteGetParams) *quoapi.QuoteGetOK

func SonataGenerateSiteFindResponse

func SonataGenerateSiteFindResponse(reqParams *sitapi.GeographicSiteFindParams) *sitapi.GeographicSiteFindOK

func SonataGenerateSiteGetResponse

func SonataGenerateSiteGetResponse(reqParams *sitapi.GeographicSiteGetParams) *sitapi.GeographicSiteGetOK

func StateBlockWithoutWork

func StateBlockWithoutWork() *pkg.StateBlock

Types

This section is empty.

Jump to

Keyboard shortcuts

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