gs2 1.4.55 → 1.4.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class AppleAppStoreSetting implements IModel {
|
|
3
3
|
private bundleId;
|
|
4
|
-
private
|
|
4
|
+
private issuerId;
|
|
5
5
|
private keyId;
|
|
6
6
|
private privateKeyPem;
|
|
7
7
|
getBundleId(): string | null;
|
|
8
8
|
setBundleId(bundleId: string | null): this;
|
|
9
9
|
withBundleId(bundleId: string | null): this;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
getIssuerId(): string | null;
|
|
11
|
+
setIssuerId(issuerId: string | null): this;
|
|
12
|
+
withIssuerId(issuerId: string | null): this;
|
|
13
13
|
getKeyId(): string | null;
|
|
14
14
|
setKeyId(keyId: string | null): this;
|
|
15
15
|
withKeyId(keyId: string | null): this;
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
var AppleAppStoreSetting = /** @class */ (function () {
|
|
19
19
|
function AppleAppStoreSetting() {
|
|
20
20
|
this.bundleId = null;
|
|
21
|
-
this.
|
|
21
|
+
this.issuerId = null;
|
|
22
22
|
this.keyId = null;
|
|
23
23
|
this.privateKeyPem = null;
|
|
24
24
|
}
|
|
@@ -33,15 +33,15 @@ var AppleAppStoreSetting = /** @class */ (function () {
|
|
|
33
33
|
this.bundleId = bundleId;
|
|
34
34
|
return this;
|
|
35
35
|
};
|
|
36
|
-
AppleAppStoreSetting.prototype.
|
|
37
|
-
return this.
|
|
36
|
+
AppleAppStoreSetting.prototype.getIssuerId = function () {
|
|
37
|
+
return this.issuerId;
|
|
38
38
|
};
|
|
39
|
-
AppleAppStoreSetting.prototype.
|
|
40
|
-
this.
|
|
39
|
+
AppleAppStoreSetting.prototype.setIssuerId = function (issuerId) {
|
|
40
|
+
this.issuerId = issuerId;
|
|
41
41
|
return this;
|
|
42
42
|
};
|
|
43
|
-
AppleAppStoreSetting.prototype.
|
|
44
|
-
this.
|
|
43
|
+
AppleAppStoreSetting.prototype.withIssuerId = function (issuerId) {
|
|
44
|
+
this.issuerId = issuerId;
|
|
45
45
|
return this;
|
|
46
46
|
};
|
|
47
47
|
AppleAppStoreSetting.prototype.getKeyId = function () {
|
|
@@ -72,14 +72,14 @@ var AppleAppStoreSetting = /** @class */ (function () {
|
|
|
72
72
|
}
|
|
73
73
|
return new AppleAppStoreSetting()
|
|
74
74
|
.withBundleId(data["bundleId"])
|
|
75
|
-
.
|
|
75
|
+
.withIssuerId(data["issuerId"])
|
|
76
76
|
.withKeyId(data["keyId"])
|
|
77
77
|
.withPrivateKeyPem(data["privateKeyPem"]);
|
|
78
78
|
};
|
|
79
79
|
AppleAppStoreSetting.prototype.toDict = function () {
|
|
80
80
|
return {
|
|
81
81
|
"bundleId": this.getBundleId(),
|
|
82
|
-
"
|
|
82
|
+
"issuerId": this.getIssuerId(),
|
|
83
83
|
"keyId": this.getKeyId(),
|
|
84
84
|
"privateKeyPem": this.getPrivateKeyPem(),
|
|
85
85
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,aAAQ,GAAgB,IAAI,CAAC;QAC7B,
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,aAAQ,GAAgB,IAAI,CAAC;QAC7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,UAAK,GAAgB,IAAI,CAAC;QAC1B,kBAAa,GAAgB,IAAI,CAAC;IAiE9C,CAAC;IAhEU,0CAAW,GAAlB;QACI,OAAO,IAA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,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,oBAAoB,EAAE;aAC5B,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;aACxB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -20,7 +20,7 @@ import * as Gs2Money2 from '../../money2/model'
|
|
|
20
20
|
|
|
21
21
|
export default class AppleAppStoreSetting implements IModel {
|
|
22
22
|
private bundleId: string|null = null;
|
|
23
|
-
private
|
|
23
|
+
private issuerId: string|null = null;
|
|
24
24
|
private keyId: string|null = null;
|
|
25
25
|
private privateKeyPem: string|null = null;
|
|
26
26
|
public getBundleId(): string|null {
|
|
@@ -34,15 +34,15 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
34
34
|
this.bundleId = bundleId;
|
|
35
35
|
return this;
|
|
36
36
|
}
|
|
37
|
-
public
|
|
38
|
-
return this.
|
|
37
|
+
public getIssuerId(): string|null {
|
|
38
|
+
return this.issuerId;
|
|
39
39
|
}
|
|
40
|
-
public
|
|
41
|
-
this.
|
|
40
|
+
public setIssuerId(issuerId: string|null) {
|
|
41
|
+
this.issuerId = issuerId;
|
|
42
42
|
return this;
|
|
43
43
|
}
|
|
44
|
-
public
|
|
45
|
-
this.
|
|
44
|
+
public withIssuerId(issuerId: string|null): this {
|
|
45
|
+
this.issuerId = issuerId;
|
|
46
46
|
return this;
|
|
47
47
|
}
|
|
48
48
|
public getKeyId(): string|null {
|
|
@@ -74,7 +74,7 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
74
74
|
}
|
|
75
75
|
return new AppleAppStoreSetting()
|
|
76
76
|
.withBundleId(data["bundleId"])
|
|
77
|
-
.
|
|
77
|
+
.withIssuerId(data["issuerId"])
|
|
78
78
|
.withKeyId(data["keyId"])
|
|
79
79
|
.withPrivateKeyPem(data["privateKeyPem"]);
|
|
80
80
|
}
|
|
@@ -82,7 +82,7 @@ export default class AppleAppStoreSetting implements IModel {
|
|
|
82
82
|
public toDict(): {[key: string]: any} {
|
|
83
83
|
return {
|
|
84
84
|
"bundleId": this.getBundleId(),
|
|
85
|
-
"
|
|
85
|
+
"issuerId": this.getIssuerId(),
|
|
86
86
|
"keyId": this.getKeyId(),
|
|
87
87
|
"privateKeyPem": this.getPrivateKeyPem(),
|
|
88
88
|
};
|