generated from NdoleStudio/go-http-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bill.go
33 lines (30 loc) · 1.22 KB
/
bill.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package smobilpay
import "time"
// BillGetParams are the parameters for getting a bill
type BillGetParams struct {
ServiceID string
Merchant string
ServiceNumber string
}
// Bill is the details for a bill payment
type Bill struct {
PayItemID string `json:"payItemId"`
ServiceNumber string `json:"serviceNumber"`
ServiceID string `json:"serviceid"`
Merchant string `json:"merchant"`
AmountType string `json:"amountType"`
LocalCurrency string `json:"localCur"`
AmountLocalCurrency string `json:"amountLocalCur"`
BillNumber string `json:"billNumber"`
CustomerNumber string `json:"customerNumber"`
BillMonth string `json:"billMonth"`
BillYear string `json:"billYear"`
BillDate time.Time `json:"billDate"`
BillDueDate time.Time `json:"billDueDate"`
PayItemDescription string `json:"payItemDescr"`
BillType string `json:"billType"`
PenaltyAmount string `json:"penaltyAmount"`
PayOrder int `json:"payOrder"`
OptionalString interface{} `json:"optStrg"`
OptionalNumber interface{} `json:"optNmb"`
}