Passed
Push — main ( e3569e...274dce )
by Acho
02:28
created

stubs.SubscriptionGet   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
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,
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