mobile

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowMsgXML

type FlowMsgXML struct {
	XMLName xml.Name `xml:"SyncFlowPkgLeftQuotaResp"`
	*Msg
}

type FlowXML

type FlowXML struct {
	XMLName xml.Name `xml:"SyncFlowPkgLeftQuotaReq"`
	*MobileXML
}

type Mobile

type Mobile struct {
	Orderid        string     `json:"-"`
	Userpseudocode string     `json:"-"`
	Channelseqid   string     `json:"-"`
	Price          int        `json:"-"`
	Actionid       int        `json:"actionid"`
	Effectivetime  xtime.Time `json:"starttime,omitempty"`
	Expiretime     xtime.Time `json:"endtime,omitempty"`
	Channelid      string     `json:"-"`
	Productid      string     `json:"productid,omitempty"`
	Ordertype      int        `json:"-"`
	Threshold      int        `json:"flow"`
	Resulttime     xtime.Time `json:"-"`
	MobileType     int        `json:"orderstatus,omitempty"`
	ProductType    int        `json:"product_type,omitempty"`
}

func (*Mobile) MobileChange

func (u *Mobile) MobileChange()

MobileChange

func (*Mobile) MobileXMLMobile

func (u *Mobile) MobileXMLMobile(uxml *MobileXML)

MobileXMLMobile

type MobileIP

type MobileIP struct {
	IPStartUint uint32 `json:"-"`
	IPEndUint   uint32 `json:"-"`
}

type MobileUserIP

type MobileUserIP struct {
	IPStr    string `json:"ip"`
	IsValide bool   `json:"is_valide"`
}

type MobileXML

type MobileXML struct {
	Orderid        string `xml:"OrderID"`
	Userpseudocode string `xml:"UserPseudoCode"`
	Channelseqid   string `xml:"ChannelSeqId"`
	Price          string `xml:"Price"`
	Actiontime     string `xml:"ActionTime"`
	Actionid       string `xml:"ActionID"`
	Effectivetime  string `xml:"EffectiveTime"`
	Expiretime     string `xml:"ExpireTime"`
	Channelid      string `xml:"ChannelId"`
	Productid      string `xml:"ProductId"`
	Ordertype      string `xml:"OrderType"`
	Threshold      string `xml:"Threshold"`
	Resulttime     string `xml:"ResultTime"`
}

type Msg

type Msg struct {
	Xmlns   string `xml:"xmlns,attr"`
	MsgType string `xml:"MsgType"`
	Version string `xml:"Version"`
	HRet    string `xml:"hRet"`
}

type OrderMsgXML

type OrderMsgXML struct {
	XMLName xml.Name `xml:"SyncFlowPkgOrderResp"`
	*Msg
}

type OrderXML

type OrderXML struct {
	XMLName xml.Name `xml:"SyncFlowPkgOrderReq"`
	*MobileXML
}

Jump to

Keyboard shortcuts

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