internal/stubs/subscription_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.SubscriptionGet 0 2 1
1
package stubs
2
3
// SubscriptionGet is the response for a subscription payment
4
func SubscriptionGet() []byte {
5
	return []byte(`
6
[
7
  {
8
    "serviceNumber": "500000001",
9
    "serviceid": "10042",
10
    "merchant": "CMENEOPREPAID",
11
    "payItemId": "string",
12
    "payItemDescr": "string",
13
    "amountType": "FIXED",
14
    "name": "string",
15
    "localCur": "str",
16
    "amountLocalCur": "0.0",
17
    "customerReference": "string",
18
    "customerName": "string",
19
    "customerNumber": "string",
20
    "startDate": "2019-08-24",
21
    "dueDate": "2019-08-24",
22
    "endDate": "2019-08-24",
23
    "optStrg": "string",
24
    "optNmb": 0
25
  }
26
]
27
`)
28
}
29