gs2 1.4.57 → 1.4.59
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.
- package/money2/model/Namespace.d.ts +20 -0
- package/money2/model/Namespace.js +72 -2
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +71 -0
- package/money2/model/NotificationSetting.d.ts +21 -0
- package/money2/model/NotificationSetting.js +76 -0
- package/money2/model/NotificationSetting.js.map +1 -0
- package/money2/model/NotificationSetting.ts +76 -0
- package/money2/model/StoreSubscriptionContentModel.d.ts +4 -0
- package/money2/model/StoreSubscriptionContentModel.js +14 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -1
- package/money2/model/StoreSubscriptionContentModel.ts +14 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +4 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +14 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -1
- package/money2/model/StoreSubscriptionContentModelMaster.ts +14 -0
- package/money2/model/SubscribeTransaction.d.ts +4 -0
- package/money2/model/SubscribeTransaction.js +14 -0
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +14 -0
- package/money2/model/index.d.ts +2 -1
- package/money2/model/index.js +3 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +2 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.d.ts +37 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js +123 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/AllocateSubscriptionStatusRequest.d.ts +33 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js +109 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusRequest.ts +119 -0
- package/money2/request/CreateNamespaceRequest.d.ts +20 -0
- package/money2/request/CreateNamespaceRequest.js +72 -2
- package/money2/request/CreateNamespaceRequest.js.map +1 -1
- package/money2/request/CreateNamespaceRequest.ts +70 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +4 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +14 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -1
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +14 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.d.ts +37 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js +123 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.d.ts +33 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js +109 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.ts +119 -0
- package/money2/request/UpdateNamespaceRequest.d.ts +20 -0
- package/money2/request/UpdateNamespaceRequest.js +72 -2
- package/money2/request/UpdateNamespaceRequest.js.map +1 -1
- package/money2/request/UpdateNamespaceRequest.ts +70 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +4 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +14 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -1
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +14 -0
- package/money2/request/index.d.ts +5 -1
- package/money2/request/index.js +10 -2
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +8 -0
- package/money2/rest.d.ts +4 -0
- package/money2/rest.js +156 -10
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +162 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/AllocateSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusResult.ts +47 -0
- package/money2/result/index.d.ts +5 -1
- package/money2/result/index.js +10 -2
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var AllocateSubscriptionStatusRequest = /** @class */ (function () {
|
|
19
|
+
function AllocateSubscriptionStatusRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.receipt = null;
|
|
25
|
+
this.duplicationAvoider = null;
|
|
26
|
+
}
|
|
27
|
+
AllocateSubscriptionStatusRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
AllocateSubscriptionStatusRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
AllocateSubscriptionStatusRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
AllocateSubscriptionStatusRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
AllocateSubscriptionStatusRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
AllocateSubscriptionStatusRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
AllocateSubscriptionStatusRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
AllocateSubscriptionStatusRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
AllocateSubscriptionStatusRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
AllocateSubscriptionStatusRequest.prototype.getAccessToken = function () {
|
|
61
|
+
return this.accessToken;
|
|
62
|
+
};
|
|
63
|
+
AllocateSubscriptionStatusRequest.prototype.setAccessToken = function (accessToken) {
|
|
64
|
+
this.accessToken = accessToken;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
AllocateSubscriptionStatusRequest.prototype.withAccessToken = function (accessToken) {
|
|
68
|
+
this.accessToken = accessToken;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
AllocateSubscriptionStatusRequest.prototype.getReceipt = function () {
|
|
72
|
+
return this.receipt;
|
|
73
|
+
};
|
|
74
|
+
AllocateSubscriptionStatusRequest.prototype.setReceipt = function (receipt) {
|
|
75
|
+
this.receipt = receipt;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
AllocateSubscriptionStatusRequest.prototype.withReceipt = function (receipt) {
|
|
79
|
+
this.receipt = receipt;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
AllocateSubscriptionStatusRequest.prototype.getDuplicationAvoider = function () {
|
|
83
|
+
return this.duplicationAvoider;
|
|
84
|
+
};
|
|
85
|
+
AllocateSubscriptionStatusRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
86
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
AllocateSubscriptionStatusRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
90
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
AllocateSubscriptionStatusRequest.fromDict = function (data) {
|
|
94
|
+
return new AllocateSubscriptionStatusRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withAccessToken(data["accessToken"])
|
|
97
|
+
.withReceipt(data["receipt"]);
|
|
98
|
+
};
|
|
99
|
+
AllocateSubscriptionStatusRequest.prototype.toDict = function () {
|
|
100
|
+
return {
|
|
101
|
+
"namespaceName": this.getNamespaceName(),
|
|
102
|
+
"accessToken": this.getAccessToken(),
|
|
103
|
+
"receipt": this.getReceipt(),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
return AllocateSubscriptionStatusRequest;
|
|
107
|
+
}());
|
|
108
|
+
exports.default = AllocateSubscriptionStatusRequest;
|
|
109
|
+
//# sourceMappingURL=AllocateSubscriptionStatusRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllocateSubscriptionStatusRequest.js","sourceRoot":"","sources":["AllocateSubscriptionStatusRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,YAAO,GAAgB,IAAI,CAAC;QAC5B,uBAAkB,GAAgB,IAAI,CAAC;IA2FnD,CAAC;IAzFU,wDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,wDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,2DAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4DA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AO,IAAI,iCAAiC,EAAE;aACzC,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IACtC,CAAC;IAEM,kDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;IACL,wCAAC;AAAD,CAAC,AAlGD,IAkGC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AllocateSubscriptionStatusRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private accessToken: string|null = null;
|
|
27
|
+
private receipt: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
29
|
+
|
|
30
|
+
public getRequestId(): string|null {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public setRequestId(requestId: string|null) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public withRequestId(requestId: string|null): this {
|
|
40
|
+
this.requestId = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getContextStack(): string|null {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public setContextStack(contextStack: string|null) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public withContextStack(contextStack: string|null): this {
|
|
54
|
+
this.contextStack = contextStack;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
61
|
+
this.namespaceName = namespaceName;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public getAccessToken(): string|null {
|
|
69
|
+
return this.accessToken;
|
|
70
|
+
}
|
|
71
|
+
public setAccessToken(accessToken: string|null) {
|
|
72
|
+
this.accessToken = accessToken;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
public withAccessToken(accessToken: string|null): this {
|
|
76
|
+
this.accessToken = accessToken;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public getReceipt(): string|null {
|
|
80
|
+
return this.receipt;
|
|
81
|
+
}
|
|
82
|
+
public setReceipt(receipt: string|null) {
|
|
83
|
+
this.receipt = receipt;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withReceipt(receipt: string|null): this {
|
|
87
|
+
this.receipt = receipt;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public getDuplicationAvoider(): string|null {
|
|
92
|
+
return this.duplicationAvoider;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
96
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
101
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public static fromDict(data: {[key: string]: any}): AllocateSubscriptionStatusRequest {
|
|
106
|
+
return new AllocateSubscriptionStatusRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withAccessToken(data["accessToken"])
|
|
109
|
+
.withReceipt(data["receipt"]);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public toDict(): {[key: string]: any} {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
"receipt": this.getReceipt(),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -10,6 +10,11 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
10
10
|
private platformSetting;
|
|
11
11
|
private depositBalanceScript;
|
|
12
12
|
private withdrawBalanceScript;
|
|
13
|
+
private subscribeScript;
|
|
14
|
+
private renewScript;
|
|
15
|
+
private unsubscribeScript;
|
|
16
|
+
private takeOverScript;
|
|
17
|
+
private changeSubscriptionStatusNotification;
|
|
13
18
|
private logSetting;
|
|
14
19
|
getRequestId(): string | null;
|
|
15
20
|
setRequestId(requestId: string | null): this;
|
|
@@ -38,6 +43,21 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
38
43
|
getWithdrawBalanceScript(): Gs2Money2.ScriptSetting | null;
|
|
39
44
|
setWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
40
45
|
withWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
46
|
+
getSubscribeScript(): string | null;
|
|
47
|
+
setSubscribeScript(subscribeScript: string | null): this;
|
|
48
|
+
withSubscribeScript(subscribeScript: string | null): this;
|
|
49
|
+
getRenewScript(): string | null;
|
|
50
|
+
setRenewScript(renewScript: string | null): this;
|
|
51
|
+
withRenewScript(renewScript: string | null): this;
|
|
52
|
+
getUnsubscribeScript(): string | null;
|
|
53
|
+
setUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
54
|
+
withUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
55
|
+
getTakeOverScript(): Gs2Money2.ScriptSetting | null;
|
|
56
|
+
setTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
57
|
+
withTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
58
|
+
getChangeSubscriptionStatusNotification(): Gs2Money2.NotificationSetting | null;
|
|
59
|
+
setChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
60
|
+
withChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
41
61
|
getLogSetting(): Gs2Money2.LogSetting | null;
|
|
42
62
|
setLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
43
63
|
withLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
@@ -28,6 +28,11 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
28
28
|
this.platformSetting = null;
|
|
29
29
|
this.depositBalanceScript = null;
|
|
30
30
|
this.withdrawBalanceScript = null;
|
|
31
|
+
this.subscribeScript = null;
|
|
32
|
+
this.renewScript = null;
|
|
33
|
+
this.unsubscribeScript = null;
|
|
34
|
+
this.takeOverScript = null;
|
|
35
|
+
this.changeSubscriptionStatusNotification = null;
|
|
31
36
|
this.logSetting = null;
|
|
32
37
|
}
|
|
33
38
|
CreateNamespaceRequest.prototype.getRequestId = function () {
|
|
@@ -129,6 +134,61 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
129
134
|
this.withdrawBalanceScript = withdrawBalanceScript;
|
|
130
135
|
return this;
|
|
131
136
|
};
|
|
137
|
+
CreateNamespaceRequest.prototype.getSubscribeScript = function () {
|
|
138
|
+
return this.subscribeScript;
|
|
139
|
+
};
|
|
140
|
+
CreateNamespaceRequest.prototype.setSubscribeScript = function (subscribeScript) {
|
|
141
|
+
this.subscribeScript = subscribeScript;
|
|
142
|
+
return this;
|
|
143
|
+
};
|
|
144
|
+
CreateNamespaceRequest.prototype.withSubscribeScript = function (subscribeScript) {
|
|
145
|
+
this.subscribeScript = subscribeScript;
|
|
146
|
+
return this;
|
|
147
|
+
};
|
|
148
|
+
CreateNamespaceRequest.prototype.getRenewScript = function () {
|
|
149
|
+
return this.renewScript;
|
|
150
|
+
};
|
|
151
|
+
CreateNamespaceRequest.prototype.setRenewScript = function (renewScript) {
|
|
152
|
+
this.renewScript = renewScript;
|
|
153
|
+
return this;
|
|
154
|
+
};
|
|
155
|
+
CreateNamespaceRequest.prototype.withRenewScript = function (renewScript) {
|
|
156
|
+
this.renewScript = renewScript;
|
|
157
|
+
return this;
|
|
158
|
+
};
|
|
159
|
+
CreateNamespaceRequest.prototype.getUnsubscribeScript = function () {
|
|
160
|
+
return this.unsubscribeScript;
|
|
161
|
+
};
|
|
162
|
+
CreateNamespaceRequest.prototype.setUnsubscribeScript = function (unsubscribeScript) {
|
|
163
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
164
|
+
return this;
|
|
165
|
+
};
|
|
166
|
+
CreateNamespaceRequest.prototype.withUnsubscribeScript = function (unsubscribeScript) {
|
|
167
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
168
|
+
return this;
|
|
169
|
+
};
|
|
170
|
+
CreateNamespaceRequest.prototype.getTakeOverScript = function () {
|
|
171
|
+
return this.takeOverScript;
|
|
172
|
+
};
|
|
173
|
+
CreateNamespaceRequest.prototype.setTakeOverScript = function (takeOverScript) {
|
|
174
|
+
this.takeOverScript = takeOverScript;
|
|
175
|
+
return this;
|
|
176
|
+
};
|
|
177
|
+
CreateNamespaceRequest.prototype.withTakeOverScript = function (takeOverScript) {
|
|
178
|
+
this.takeOverScript = takeOverScript;
|
|
179
|
+
return this;
|
|
180
|
+
};
|
|
181
|
+
CreateNamespaceRequest.prototype.getChangeSubscriptionStatusNotification = function () {
|
|
182
|
+
return this.changeSubscriptionStatusNotification;
|
|
183
|
+
};
|
|
184
|
+
CreateNamespaceRequest.prototype.setChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
185
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
186
|
+
return this;
|
|
187
|
+
};
|
|
188
|
+
CreateNamespaceRequest.prototype.withChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
189
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
190
|
+
return this;
|
|
191
|
+
};
|
|
132
192
|
CreateNamespaceRequest.prototype.getLogSetting = function () {
|
|
133
193
|
return this.logSetting;
|
|
134
194
|
};
|
|
@@ -149,10 +209,15 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
149
209
|
.withPlatformSetting(Gs2Money2.PlatformSetting.fromDict(data["platformSetting"]))
|
|
150
210
|
.withDepositBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["depositBalanceScript"]))
|
|
151
211
|
.withWithdrawBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["withdrawBalanceScript"]))
|
|
212
|
+
.withSubscribeScript(data["subscribeScript"])
|
|
213
|
+
.withRenewScript(data["renewScript"])
|
|
214
|
+
.withUnsubscribeScript(data["unsubscribeScript"])
|
|
215
|
+
.withTakeOverScript(Gs2Money2.ScriptSetting.fromDict(data["takeOverScript"]))
|
|
216
|
+
.withChangeSubscriptionStatusNotification(Gs2Money2.NotificationSetting.fromDict(data["changeSubscriptionStatusNotification"]))
|
|
152
217
|
.withLogSetting(Gs2Money2.LogSetting.fromDict(data["logSetting"]));
|
|
153
218
|
};
|
|
154
219
|
CreateNamespaceRequest.prototype.toDict = function () {
|
|
155
|
-
var _a, _b, _c, _d;
|
|
220
|
+
var _a, _b, _c, _d, _e, _f;
|
|
156
221
|
return {
|
|
157
222
|
"name": this.getName(),
|
|
158
223
|
"currencyUsagePriority": this.getCurrencyUsagePriority(),
|
|
@@ -161,7 +226,12 @@ var CreateNamespaceRequest = /** @class */ (function () {
|
|
|
161
226
|
"platformSetting": (_a = this.getPlatformSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
162
227
|
"depositBalanceScript": (_b = this.getDepositBalanceScript()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
163
228
|
"withdrawBalanceScript": (_c = this.getWithdrawBalanceScript()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
164
|
-
"
|
|
229
|
+
"subscribeScript": this.getSubscribeScript(),
|
|
230
|
+
"renewScript": this.getRenewScript(),
|
|
231
|
+
"unsubscribeScript": this.getUnsubscribeScript(),
|
|
232
|
+
"takeOverScript": (_d = this.getTakeOverScript()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
233
|
+
"changeSubscriptionStatusNotification": (_e = this.getChangeSubscriptionStatusNotification()) === null || _e === void 0 ? void 0 : _e.toDict(),
|
|
234
|
+
"logSetting": (_f = this.getLogSetting()) === null || _f === void 0 ? void 0 : _f.toDict(),
|
|
165
235
|
};
|
|
166
236
|
};
|
|
167
237
|
return CreateNamespaceRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNamespaceRequest.js","sourceRoot":"","sources":["CreateNamespaceRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0D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,11 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
29
29
|
private platformSetting: Gs2Money2.PlatformSetting|null = null;
|
|
30
30
|
private depositBalanceScript: Gs2Money2.ScriptSetting|null = null;
|
|
31
31
|
private withdrawBalanceScript: Gs2Money2.ScriptSetting|null = null;
|
|
32
|
+
private subscribeScript: string|null = null;
|
|
33
|
+
private renewScript: string|null = null;
|
|
34
|
+
private unsubscribeScript: string|null = null;
|
|
35
|
+
private takeOverScript: Gs2Money2.ScriptSetting|null = null;
|
|
36
|
+
private changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null = null;
|
|
32
37
|
private logSetting: Gs2Money2.LogSetting|null = null;
|
|
33
38
|
|
|
34
39
|
public getRequestId(): string|null {
|
|
@@ -135,6 +140,61 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
135
140
|
this.withdrawBalanceScript = withdrawBalanceScript;
|
|
136
141
|
return this;
|
|
137
142
|
}
|
|
143
|
+
public getSubscribeScript(): string|null {
|
|
144
|
+
return this.subscribeScript;
|
|
145
|
+
}
|
|
146
|
+
public setSubscribeScript(subscribeScript: string|null) {
|
|
147
|
+
this.subscribeScript = subscribeScript;
|
|
148
|
+
return this;
|
|
149
|
+
}
|
|
150
|
+
public withSubscribeScript(subscribeScript: string|null): this {
|
|
151
|
+
this.subscribeScript = subscribeScript;
|
|
152
|
+
return this;
|
|
153
|
+
}
|
|
154
|
+
public getRenewScript(): string|null {
|
|
155
|
+
return this.renewScript;
|
|
156
|
+
}
|
|
157
|
+
public setRenewScript(renewScript: string|null) {
|
|
158
|
+
this.renewScript = renewScript;
|
|
159
|
+
return this;
|
|
160
|
+
}
|
|
161
|
+
public withRenewScript(renewScript: string|null): this {
|
|
162
|
+
this.renewScript = renewScript;
|
|
163
|
+
return this;
|
|
164
|
+
}
|
|
165
|
+
public getUnsubscribeScript(): string|null {
|
|
166
|
+
return this.unsubscribeScript;
|
|
167
|
+
}
|
|
168
|
+
public setUnsubscribeScript(unsubscribeScript: string|null) {
|
|
169
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
170
|
+
return this;
|
|
171
|
+
}
|
|
172
|
+
public withUnsubscribeScript(unsubscribeScript: string|null): this {
|
|
173
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
174
|
+
return this;
|
|
175
|
+
}
|
|
176
|
+
public getTakeOverScript(): Gs2Money2.ScriptSetting|null {
|
|
177
|
+
return this.takeOverScript;
|
|
178
|
+
}
|
|
179
|
+
public setTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting|null) {
|
|
180
|
+
this.takeOverScript = takeOverScript;
|
|
181
|
+
return this;
|
|
182
|
+
}
|
|
183
|
+
public withTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting|null): this {
|
|
184
|
+
this.takeOverScript = takeOverScript;
|
|
185
|
+
return this;
|
|
186
|
+
}
|
|
187
|
+
public getChangeSubscriptionStatusNotification(): Gs2Money2.NotificationSetting|null {
|
|
188
|
+
return this.changeSubscriptionStatusNotification;
|
|
189
|
+
}
|
|
190
|
+
public setChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null) {
|
|
191
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
192
|
+
return this;
|
|
193
|
+
}
|
|
194
|
+
public withChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null): this {
|
|
195
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
196
|
+
return this;
|
|
197
|
+
}
|
|
138
198
|
public getLogSetting(): Gs2Money2.LogSetting|null {
|
|
139
199
|
return this.logSetting;
|
|
140
200
|
}
|
|
@@ -156,6 +216,11 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
156
216
|
.withPlatformSetting(Gs2Money2.PlatformSetting.fromDict(data["platformSetting"]))
|
|
157
217
|
.withDepositBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["depositBalanceScript"]))
|
|
158
218
|
.withWithdrawBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["withdrawBalanceScript"]))
|
|
219
|
+
.withSubscribeScript(data["subscribeScript"])
|
|
220
|
+
.withRenewScript(data["renewScript"])
|
|
221
|
+
.withUnsubscribeScript(data["unsubscribeScript"])
|
|
222
|
+
.withTakeOverScript(Gs2Money2.ScriptSetting.fromDict(data["takeOverScript"]))
|
|
223
|
+
.withChangeSubscriptionStatusNotification(Gs2Money2.NotificationSetting.fromDict(data["changeSubscriptionStatusNotification"]))
|
|
159
224
|
.withLogSetting(Gs2Money2.LogSetting.fromDict(data["logSetting"]));
|
|
160
225
|
}
|
|
161
226
|
|
|
@@ -168,6 +233,11 @@ export default class CreateNamespaceRequest implements IRequest {
|
|
|
168
233
|
"platformSetting": this.getPlatformSetting()?.toDict(),
|
|
169
234
|
"depositBalanceScript": this.getDepositBalanceScript()?.toDict(),
|
|
170
235
|
"withdrawBalanceScript": this.getWithdrawBalanceScript()?.toDict(),
|
|
236
|
+
"subscribeScript": this.getSubscribeScript(),
|
|
237
|
+
"renewScript": this.getRenewScript(),
|
|
238
|
+
"unsubscribeScript": this.getUnsubscribeScript(),
|
|
239
|
+
"takeOverScript": this.getTakeOverScript()?.toDict(),
|
|
240
|
+
"changeSubscriptionStatusNotification": this.getChangeSubscriptionStatusNotification()?.toDict(),
|
|
171
241
|
"logSetting": this.getLogSetting()?.toDict(),
|
|
172
242
|
};
|
|
173
243
|
}
|
|
@@ -9,6 +9,7 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
9
9
|
private metadata;
|
|
10
10
|
private scheduleNamespaceId;
|
|
11
11
|
private triggerName;
|
|
12
|
+
private reallocateSpanDays;
|
|
12
13
|
private appleAppStore;
|
|
13
14
|
private googlePlay;
|
|
14
15
|
getRequestId(): string | null;
|
|
@@ -35,6 +36,9 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
35
36
|
getTriggerName(): string | null;
|
|
36
37
|
setTriggerName(triggerName: string | null): this;
|
|
37
38
|
withTriggerName(triggerName: string | null): this;
|
|
39
|
+
getReallocateSpanDays(): number | null;
|
|
40
|
+
setReallocateSpanDays(reallocateSpanDays: number | null): this;
|
|
41
|
+
withReallocateSpanDays(reallocateSpanDays: number | null): this;
|
|
38
42
|
getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent | null;
|
|
39
43
|
setAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
|
|
40
44
|
withAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
|
|
@@ -27,6 +27,7 @@ var CreateStoreSubscriptionContentModelMasterRequest = /** @class */ (function (
|
|
|
27
27
|
this.metadata = null;
|
|
28
28
|
this.scheduleNamespaceId = null;
|
|
29
29
|
this.triggerName = null;
|
|
30
|
+
this.reallocateSpanDays = null;
|
|
30
31
|
this.appleAppStore = null;
|
|
31
32
|
this.googlePlay = null;
|
|
32
33
|
}
|
|
@@ -118,6 +119,17 @@ var CreateStoreSubscriptionContentModelMasterRequest = /** @class */ (function (
|
|
|
118
119
|
this.triggerName = triggerName;
|
|
119
120
|
return this;
|
|
120
121
|
};
|
|
122
|
+
CreateStoreSubscriptionContentModelMasterRequest.prototype.getReallocateSpanDays = function () {
|
|
123
|
+
return this.reallocateSpanDays;
|
|
124
|
+
};
|
|
125
|
+
CreateStoreSubscriptionContentModelMasterRequest.prototype.setReallocateSpanDays = function (reallocateSpanDays) {
|
|
126
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
CreateStoreSubscriptionContentModelMasterRequest.prototype.withReallocateSpanDays = function (reallocateSpanDays) {
|
|
130
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
121
133
|
CreateStoreSubscriptionContentModelMasterRequest.prototype.getAppleAppStore = function () {
|
|
122
134
|
return this.appleAppStore;
|
|
123
135
|
};
|
|
@@ -148,6 +160,7 @@ var CreateStoreSubscriptionContentModelMasterRequest = /** @class */ (function (
|
|
|
148
160
|
.withMetadata(data["metadata"])
|
|
149
161
|
.withScheduleNamespaceId(data["scheduleNamespaceId"])
|
|
150
162
|
.withTriggerName(data["triggerName"])
|
|
163
|
+
.withReallocateSpanDays(data["reallocateSpanDays"])
|
|
151
164
|
.withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
|
|
152
165
|
.withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]));
|
|
153
166
|
};
|
|
@@ -160,6 +173,7 @@ var CreateStoreSubscriptionContentModelMasterRequest = /** @class */ (function (
|
|
|
160
173
|
"metadata": this.getMetadata(),
|
|
161
174
|
"scheduleNamespaceId": this.getScheduleNamespaceId(),
|
|
162
175
|
"triggerName": this.getTriggerName(),
|
|
176
|
+
"reallocateSpanDays": this.getReallocateSpanDays(),
|
|
163
177
|
"appleAppStore": (_a = this.getAppleAppStore()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
164
178
|
"googlePlay": (_b = this.getGooglePlay()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
165
179
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateStoreSubscriptionContentModelMasterRequest.js","sourceRoot":"","sources":["CreateStoreSubscriptionContentModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAoD,IAAI,CAAC;QACtE,eAAU,GAAiD,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateStoreSubscriptionContentModelMasterRequest.js","sourceRoot":"","sources":["CreateStoreSubscriptionContentModelMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gBAAW,GAAgB,IAAI,CAAC;QAChC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,kBAAa,GAAoD,IAAI,CAAC;QACtE,eAAU,GAAiD,IAAI,CAAC;IA2J5E,CAAC;IAzJU,uEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,uEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0EAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,0EAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2EAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;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,0CAAE,MAAM,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,uDAAC;AAAD,CAAC,AAvKD,IAuKC"}
|
|
@@ -28,6 +28,7 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
28
28
|
private metadata: string|null = null;
|
|
29
29
|
private scheduleNamespaceId: string|null = null;
|
|
30
30
|
private triggerName: string|null = null;
|
|
31
|
+
private reallocateSpanDays: number|null = null;
|
|
31
32
|
private appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent|null = null;
|
|
32
33
|
private googlePlay: Gs2Money2.GooglePlaySubscriptionContent|null = null;
|
|
33
34
|
|
|
@@ -124,6 +125,17 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
124
125
|
this.triggerName = triggerName;
|
|
125
126
|
return this;
|
|
126
127
|
}
|
|
128
|
+
public getReallocateSpanDays(): number|null {
|
|
129
|
+
return this.reallocateSpanDays;
|
|
130
|
+
}
|
|
131
|
+
public setReallocateSpanDays(reallocateSpanDays: number|null) {
|
|
132
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
public withReallocateSpanDays(reallocateSpanDays: number|null): this {
|
|
136
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
127
139
|
public getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent|null {
|
|
128
140
|
return this.appleAppStore;
|
|
129
141
|
}
|
|
@@ -155,6 +167,7 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
155
167
|
.withMetadata(data["metadata"])
|
|
156
168
|
.withScheduleNamespaceId(data["scheduleNamespaceId"])
|
|
157
169
|
.withTriggerName(data["triggerName"])
|
|
170
|
+
.withReallocateSpanDays(data["reallocateSpanDays"])
|
|
158
171
|
.withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
|
|
159
172
|
.withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]));
|
|
160
173
|
}
|
|
@@ -167,6 +180,7 @@ export default class CreateStoreSubscriptionContentModelMasterRequest implements
|
|
|
167
180
|
"metadata": this.getMetadata(),
|
|
168
181
|
"scheduleNamespaceId": this.getScheduleNamespaceId(),
|
|
169
182
|
"triggerName": this.getTriggerName(),
|
|
183
|
+
"reallocateSpanDays": this.getReallocateSpanDays(),
|
|
170
184
|
"appleAppStore": this.getAppleAppStore()?.toDict(),
|
|
171
185
|
"googlePlay": this.getGooglePlay()?.toDict(),
|
|
172
186
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class TakeoverSubscriptionStatusByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private receipt;
|
|
8
|
+
private timeOffsetToken;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getUserId(): string | null;
|
|
20
|
+
setUserId(userId: string | null): this;
|
|
21
|
+
withUserId(userId: string | null): this;
|
|
22
|
+
getReceipt(): string | null;
|
|
23
|
+
setReceipt(receipt: string | null): this;
|
|
24
|
+
withReceipt(receipt: string | null): this;
|
|
25
|
+
getTimeOffsetToken(): string | null;
|
|
26
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
27
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
getDuplicationAvoider(): string | null;
|
|
29
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
30
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): TakeoverSubscriptionStatusByUserIdRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|