Documentation ¶
Overview ¶
Package merchant represents our merchant apis and especially types.
Index ¶
- type Merchant
- func (m Merchant) AddBilling(c *gin.Context)
- func (m *Merchant) ByID(id string) (*ebs_fields.Merchant, error)
- func (m Merchant) GetMerchant(c *gin.Context)
- func (m *Merchant) Init(db *gorm.DB, log *logrus.Logger)
- func (m Merchant) Login(c *gin.Context)
- func (m *Merchant) SetDB(db *gorm.DB)
- func (m Merchant) Update(c *gin.Context)
- func (m *Merchant) Write() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Merchant ¶
type Merchant struct { gorm.Model ebs_fields.Merchant // contains filtered or unexported fields }
Merchant is a fully qualified noebs merchant
func (Merchant) AddBilling ¶
AddBilling to a specific biller ID via `MerchantMobileNumber`
func (*Merchant) ByID ¶
func (m *Merchant) ByID(id string) (*ebs_fields.Merchant, error)
ByID get a merchant profile using their id
func (Merchant) GetMerchant ¶
GetMerchant from existing merchants in noebs
Click to show internal directories.
Click to hide internal directories.