lkl_sdk/consts/ec.go

43 lines
1.4 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package consts
type ECType string
const (
ECType001 ECType = "EC001" // EC001 : 特约商户支付服务合作协议V3.1(商户入网)
ECType002 ECType = "EC002" // EC002 : 特约商户支付服务合作协议V3.2(商户入网+分账)
ECType003 ECType = "EC003" // EC003 : 分账结算授权委托书
ECType004 ECType = "EC004" // EC004 : 特约商户支付服务合作协议V3.3(商户入网)
ECType005 ECType = "EC005" // EC005 : 特约商户支付服务合作协议V3.3(商户入网+分账)
ECType007 ECType = "EC007" // EC007 : 特约商户支付服务合作协议V4.1 + 结算授权委托书 (商户入网 + 分账 )
ECType008 ECType = "EC008" // EC008 : 特约商户支付服务合作协议V4.1 (商户入网)
ECType009 ECType = "EC009" // EC009 : 结算授权委托书
)
func (e ECType) Ptr() string {
return string(e)
}
type CertType string
const (
CertType_RESIDENT_ID CertType = "RESIDENT_ID" // RESIDENT_ID身份证)
CertType_PASSPORT CertType = "PASSPORT" // PASSPORT护照
CertType_HK_MACAO_PASS CertType = "HK_MACAO_PASS" // HK_MACAO_PASS港澳居民往来内地通行证
CertType_TAIWAN_PASS CertType = "TAIWAN_PASS" // TAIWAN_PASS台湾居民来往大陆通行证
)
func (c CertType) Ptr() string {
return string(c)
}
type AgentTag int
const (
AgentTag0 AgentTag = iota // 0不启用 缺省
AgentTag1 // 1: 启用
)
func (a AgentTag) Ptr() int {
return int(a)
}