internal/stubs/topup_response.go   A
last analyzed

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A stubs.TopupGetPackagesOk 0 2 1
1
package stubs
2
3
// TopupGetPackagesOk returns the api responses to /topup
4
func TopupGetPackagesOk() []byte {
5
	return []byte(`
6
[
7
   {
8
      "serviceid":"2000",
9
      "merchant":"CMENEOPREPAID",
10
      "payItemId":"S-112-974-CMENEOPREPAID-2000-10010-1",
11
      "amountType":"CUSTOM",
12
      "localCur":"XAF",
13
      "name":"Custom Amount",
14
      "amountLocalCur":null,
15
      "description":"",
16
      "payItemDescr":null,
17
      "optStrg":null,
18
      "optNmb":null
19
   },
20
   {
21
      "serviceid":"20062",
22
      "merchant":"CMORANGE",
23
      "payItemId":"S-112-951-CMORANGE-20062-CM_ORANGE_VTU_CUSTOM-1",
24
      "amountType":"CUSTOM",
25
      "localCur":"XAF",
26
      "name":"Airtime Custom Amount",
27
      "amountLocalCur":null,
28
      "description":"Airtime Custom Topup",
29
      "payItemDescr":null,
30
      "optStrg":null,
31
      "optNmb":null
32
   }
33
]
34
`)
35
}
36