oci-ospgateway 2.11.0 → 2.13.0
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/index.d.ts +3 -2
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/lib/client.d.ts +93 -7
- package/lib/client.js +425 -10
- package/lib/client.js.map +1 -1
- package/lib/model/authorize-subscription-payment-details.d.ts +31 -0
- package/lib/model/authorize-subscription-payment-details.js +57 -0
- package/lib/model/authorize-subscription-payment-details.js.map +1 -0
- package/lib/model/authorize-subscription-payment-receipt.d.ts +33 -0
- package/lib/model/authorize-subscription-payment-receipt.js +29 -0
- package/lib/model/authorize-subscription-payment-receipt.js.map +1 -0
- package/lib/model/{address.d.ts → bill-to-address.d.ts} +6 -6
- package/lib/model/{address.js → bill-to-address.js} +9 -9
- package/lib/model/bill-to-address.js.map +1 -0
- package/lib/model/billing-address.d.ts +65 -0
- package/lib/model/billing-address.js +29 -0
- package/lib/model/billing-address.js.map +1 -0
- package/lib/model/country.d.ts +2 -2
- package/lib/model/country.js +2 -2
- package/lib/model/credit-card-payment-detail.d.ts +2 -2
- package/lib/model/credit-card-payment-detail.js +2 -2
- package/lib/model/credit-card-payment-option.d.ts +24 -0
- package/lib/model/credit-card-payment-option.js +52 -0
- package/lib/model/credit-card-payment-option.js.map +1 -0
- package/lib/model/credit-card-type.d.ts +28 -0
- package/lib/model/credit-card-type.js +39 -0
- package/lib/model/credit-card-type.js.map +1 -0
- package/lib/model/currency.d.ts +2 -2
- package/lib/model/currency.js +2 -2
- package/lib/model/index.d.ts +38 -4
- package/lib/model/index.js +39 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/invoice-collection.d.ts +2 -2
- package/lib/model/invoice-collection.js +2 -2
- package/lib/model/invoice-line-collection.d.ts +2 -2
- package/lib/model/invoice-line-collection.js +2 -2
- package/lib/model/invoice-line-summary.d.ts +2 -2
- package/lib/model/invoice-line-summary.js +2 -2
- package/lib/model/invoice-summary.d.ts +2 -2
- package/lib/model/invoice-summary.js +2 -2
- package/lib/model/invoice.d.ts +3 -3
- package/lib/model/invoice.js +6 -4
- package/lib/model/invoice.js.map +1 -1
- package/lib/model/merchant-defined-data.d.ts +29 -0
- package/lib/model/merchant-defined-data.js +29 -0
- package/lib/model/merchant-defined-data.js.map +1 -0
- package/lib/model/other-payment-detail.d.ts +2 -2
- package/lib/model/other-payment-detail.js +2 -2
- package/lib/model/pay-invoice-details.d.ts +2 -2
- package/lib/model/pay-invoice-details.js +2 -2
- package/lib/model/pay-invoice-receipt.d.ts +2 -2
- package/lib/model/pay-invoice-receipt.js +2 -2
- package/lib/model/pay-subscription-details.d.ts +31 -0
- package/lib/model/pay-subscription-details.js +57 -0
- package/lib/model/pay-subscription-details.js.map +1 -0
- package/lib/model/pay-subscription-receipt.d.ts +33 -0
- package/lib/model/pay-subscription-receipt.js +29 -0
- package/lib/model/pay-subscription-receipt.js.map +1 -0
- package/lib/model/payment-detail.d.ts +2 -2
- package/lib/model/payment-detail.js +2 -2
- package/lib/model/payment-gateway.d.ts +23 -0
- package/lib/model/payment-gateway.js +57 -0
- package/lib/model/payment-gateway.js.map +1 -0
- package/lib/model/payment-method.d.ts +28 -0
- package/lib/model/payment-method.js +39 -0
- package/lib/model/payment-method.js.map +1 -0
- package/lib/model/payment-option.d.ts +30 -0
- package/lib/model/payment-option.js +69 -0
- package/lib/model/payment-option.js.map +1 -0
- package/lib/model/paypal-payment-detail.d.ts +2 -2
- package/lib/model/paypal-payment-detail.js +2 -2
- package/lib/model/paypal-payment-option.d.ts +24 -0
- package/lib/model/paypal-payment-option.js +52 -0
- package/lib/model/paypal-payment-option.js.map +1 -0
- package/lib/model/subscription-collection.d.ts +26 -0
- package/lib/model/subscription-collection.js +61 -0
- package/lib/model/subscription-collection.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +118 -0
- package/lib/model/subscription-summary.js +107 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/model/subscription.d.ts +118 -0
- package/lib/model/subscription.js +107 -0
- package/lib/model/subscription.js.map +1 -0
- package/lib/model/tax-info.d.ts +41 -0
- package/lib/model/tax-info.js +29 -0
- package/lib/model/tax-info.js.map +1 -0
- package/lib/model/update-subscription-details.d.ts +27 -0
- package/lib/model/update-subscription-details.js +57 -0
- package/lib/model/update-subscription-details.js.map +1 -0
- package/lib/request/authorize-subscription-payment-request.d.ts +58 -0
- package/lib/request/authorize-subscription-payment-request.js +15 -0
- package/lib/request/authorize-subscription-payment-request.js.map +1 -0
- package/lib/request/download-pdf-content-request.d.ts +1 -1
- package/lib/request/get-invoice-request.d.ts +1 -1
- package/lib/request/get-subscription-request.d.ts +38 -0
- package/lib/request/get-subscription-request.js +15 -0
- package/lib/request/get-subscription-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -2
- package/lib/request/index.js +5 -3
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-invoice-lines-request.d.ts +1 -1
- package/lib/request/list-invoices-request.d.ts +1 -1
- package/lib/request/list-subscriptions-request.d.ts +71 -0
- package/lib/request/list-subscriptions-request.js +36 -0
- package/lib/request/list-subscriptions-request.js.map +1 -0
- package/lib/request/pay-invoice-request.d.ts +1 -1
- package/lib/request/pay-subscription-request.d.ts +58 -0
- package/lib/request/pay-subscription-request.js +15 -0
- package/lib/request/pay-subscription-request.js.map +1 -0
- package/lib/request/update-subscription-request.d.ts +52 -0
- package/lib/request/update-subscription-request.js +15 -0
- package/lib/request/update-subscription-request.js.map +1 -0
- package/lib/response/authorize-subscription-payment-response.d.ts +29 -0
- package/lib/response/authorize-subscription-payment-response.js +15 -0
- package/lib/response/authorize-subscription-payment-response.js.map +1 -0
- package/lib/response/get-subscription-response.d.ts +29 -0
- package/lib/response/get-subscription-response.js +15 -0
- package/lib/response/get-subscription-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -2
- package/lib/response/index.js +2 -2
- package/lib/response/list-subscriptions-response.d.ts +36 -0
- package/lib/response/list-subscriptions-response.js +15 -0
- package/lib/response/list-subscriptions-response.js.map +1 -0
- package/lib/response/pay-subscription-response.d.ts +29 -0
- package/lib/response/pay-subscription-response.js +15 -0
- package/lib/response/pay-subscription-response.js.map +1 -0
- package/lib/response/update-subscription-response.d.ts +29 -0
- package/lib/response/update-subscription-response.js +15 -0
- package/lib/response/update-subscription-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/address.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
package/lib/model/invoice.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -101,7 +101,7 @@ export interface Invoice {
|
|
|
101
101
|
*/
|
|
102
102
|
"paymentTerms"?: string;
|
|
103
103
|
"lastPaymentDetail"?: model.OtherPaymentDetail | model.PaypalPaymentDetail | model.CreditCardPaymentDetail;
|
|
104
|
-
"billToAddress"?: model.
|
|
104
|
+
"billToAddress"?: model.BillToAddress;
|
|
105
105
|
/**
|
|
106
106
|
* List of subscription identifiers
|
|
107
107
|
*/
|
package/lib/model/invoice.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -69,7 +69,9 @@ var Invoice;
|
|
|
69
69
|
"lastPaymentDetail": obj.lastPaymentDetail
|
|
70
70
|
? model.PaymentDetail.getJsonObj(obj.lastPaymentDetail)
|
|
71
71
|
: undefined,
|
|
72
|
-
"billToAddress": obj.billToAddress
|
|
72
|
+
"billToAddress": obj.billToAddress
|
|
73
|
+
? model.BillToAddress.getJsonObj(obj.billToAddress)
|
|
74
|
+
: undefined
|
|
73
75
|
});
|
|
74
76
|
return jsonObj;
|
|
75
77
|
}
|
|
@@ -81,7 +83,7 @@ var Invoice;
|
|
|
81
83
|
? model.PaymentDetail.getDeserializedJsonObj(obj.lastPaymentDetail)
|
|
82
84
|
: undefined,
|
|
83
85
|
"billToAddress": obj.billToAddress
|
|
84
|
-
? model.
|
|
86
|
+
? model.BillToAddress.getDeserializedJsonObj(obj.billToAddress)
|
|
85
87
|
: undefined
|
|
86
88
|
});
|
|
87
89
|
return jsonObj;
|
package/lib/model/invoice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuGlC,IAAiB,OAAO,
|
|
1
|
+
{"version":3,"file":"invoice.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/invoice.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuGlC,IAAiB,OAAO,CA+DvB;AA/DD,WAAiB,OAAO;IACtB,IAAY,WAcX;IAdD,WAAY,WAAW;QACrB,oCAAqB,CAAA;QACrB,4CAA6B,CAAA;QAC7B,kCAAmB,CAAA;QACnB,kCAAmB,CAAA;QACnB,sCAAuB,CAAA;QACvB,wCAAyB,CAAA;QACzB,kCAAmB,CAAA;QACnB,8BAAe,CAAA;QACf;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EAdW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QActB;IAED,IAAY,aAUX;IAVD,WAAY,aAAa;QACvB,8BAAa,CAAA;QACb,qCAAoB,CAAA;QACpB,uDAAsC,CAAA;QACtC,kCAAiB,CAAA;QACjB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAVW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAUxB;IAED,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9E,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvD,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACnD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,kBAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1F,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,8BAAsB,yBAgBrC,CAAA;AACH,CAAC,EA/DgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA+DvB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Merchant details.
|
|
15
|
+
*/
|
|
16
|
+
export interface MerchantDefinedData {
|
|
17
|
+
/**
|
|
18
|
+
* Promotion type code.
|
|
19
|
+
*/
|
|
20
|
+
"promoType"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Cloud account name.
|
|
23
|
+
*/
|
|
24
|
+
"cloudAccountName"?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace MerchantDefinedData {
|
|
27
|
+
function getJsonObj(obj: MerchantDefinedData): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: MerchantDefinedData): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MerchantDefinedData = void 0;
|
|
16
|
+
var MerchantDefinedData;
|
|
17
|
+
(function (MerchantDefinedData) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
MerchantDefinedData.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
MerchantDefinedData.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(MerchantDefinedData = exports.MerchantDefinedData || (exports.MerchantDefinedData = {}));
|
|
29
|
+
//# sourceMappingURL=merchant-defined-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merchant-defined-data.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/merchant-defined-data.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Request object for paying a subscription
|
|
16
|
+
*/
|
|
17
|
+
export interface PaySubscriptionDetails {
|
|
18
|
+
"subscription": model.Subscription;
|
|
19
|
+
/**
|
|
20
|
+
* Language code
|
|
21
|
+
*/
|
|
22
|
+
"languageCode": string;
|
|
23
|
+
/**
|
|
24
|
+
* User email
|
|
25
|
+
*/
|
|
26
|
+
"email": string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace PaySubscriptionDetails {
|
|
29
|
+
function getJsonObj(obj: PaySubscriptionDetails): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: PaySubscriptionDetails): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PaySubscriptionDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PaySubscriptionDetails;
|
|
37
|
+
(function (PaySubscriptionDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"subscription": obj.subscription
|
|
41
|
+
? model.Subscription.getJsonObj(obj.subscription)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
PaySubscriptionDetails.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"subscription": obj.subscription
|
|
50
|
+
? model.Subscription.getDeserializedJsonObj(obj.subscription)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
PaySubscriptionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(PaySubscriptionDetails = exports.PaySubscriptionDetails || (exports.PaySubscriptionDetails = {}));
|
|
57
|
+
//# sourceMappingURL=pay-subscription-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pay-subscription-details.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/pay-subscription-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,sBAAsB,CAyBtC;AAzBD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC;gBACjD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,6CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAyBtC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Subscription payment action response
|
|
15
|
+
*/
|
|
16
|
+
export interface PaySubscriptionReceipt {
|
|
17
|
+
/**
|
|
18
|
+
* Payment header id
|
|
19
|
+
*/
|
|
20
|
+
"headerId": string;
|
|
21
|
+
/**
|
|
22
|
+
* Parameters in a token for Payment Service
|
|
23
|
+
*/
|
|
24
|
+
"apiToken"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Session token created for Payment Service
|
|
27
|
+
*/
|
|
28
|
+
"userToken"?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace PaySubscriptionReceipt {
|
|
31
|
+
function getJsonObj(obj: PaySubscriptionReceipt): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: PaySubscriptionReceipt): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.PaySubscriptionReceipt = void 0;
|
|
16
|
+
var PaySubscriptionReceipt;
|
|
17
|
+
(function (PaySubscriptionReceipt) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
PaySubscriptionReceipt.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
PaySubscriptionReceipt.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(PaySubscriptionReceipt = exports.PaySubscriptionReceipt || (exports.PaySubscriptionReceipt = {}));
|
|
29
|
+
//# sourceMappingURL=pay-subscription-receipt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pay-subscription-receipt.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/pay-subscription-receipt.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAWtC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* This site describes all the Rest endpoints of
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
4
|
* OpenAPI spec version: 20191001
|
|
5
5
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* This site describes all the Rest endpoints of
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
5
|
* OpenAPI spec version: 20191001
|
|
6
6
|
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
7
|
*
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Payment gateway details.
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentGateway {
|
|
18
|
+
"merchantDefinedData"?: model.MerchantDefinedData;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace PaymentGateway {
|
|
21
|
+
function getJsonObj(obj: PaymentGateway): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: PaymentGateway): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PaymentGateway = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PaymentGateway;
|
|
37
|
+
(function (PaymentGateway) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"merchantDefinedData": obj.merchantDefinedData
|
|
41
|
+
? model.MerchantDefinedData.getJsonObj(obj.merchantDefinedData)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
PaymentGateway.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"merchantDefinedData": obj.merchantDefinedData
|
|
50
|
+
? model.MerchantDefinedData.getDeserializedJsonObj(obj.merchantDefinedData)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
PaymentGateway.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(PaymentGateway = exports.PaymentGateway || (exports.PaymentGateway = {}));
|
|
57
|
+
//# sourceMappingURL=payment-gateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-gateway.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/payment-gateway.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,cAAc,CAyB9B;AAzBD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC/D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC3E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAyB9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Payment method
|
|
15
|
+
**/
|
|
16
|
+
export declare enum PaymentMethod {
|
|
17
|
+
CreditCard = "CREDIT_CARD",
|
|
18
|
+
Paypal = "PAYPAL",
|
|
19
|
+
/**
|
|
20
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
21
|
+
* version of the SDK.
|
|
22
|
+
*/
|
|
23
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
24
|
+
}
|
|
25
|
+
export declare namespace PaymentMethod {
|
|
26
|
+
function getJsonObj(obj: PaymentMethod): PaymentMethod;
|
|
27
|
+
function getDeserializedJsonObj(obj: PaymentMethod): PaymentMethod;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OSP Gateway API
|
|
4
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
5
|
+
* OpenAPI spec version: 20191001
|
|
6
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.PaymentMethod = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Payment method
|
|
18
|
+
**/
|
|
19
|
+
var PaymentMethod;
|
|
20
|
+
(function (PaymentMethod) {
|
|
21
|
+
PaymentMethod["CreditCard"] = "CREDIT_CARD";
|
|
22
|
+
PaymentMethod["Paypal"] = "PAYPAL";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
PaymentMethod["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
29
|
+
(function (PaymentMethod) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
PaymentMethod.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
PaymentMethod.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(PaymentMethod = exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
39
|
+
//# sourceMappingURL=payment-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-method.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/payment-method.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aASX;AATD,WAAY,aAAa;IACvB,2CAA0B,CAAA;IAC1B,kCAAiB,CAAA;IAEjB;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSP Gateway API
|
|
3
|
+
* This site describes all the Rest endpoints of OSP Gateway.
|
|
4
|
+
* OpenAPI spec version: 20191001
|
|
5
|
+
* Contact: osp_team_oci_cam_ww_grp@oracle.com
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Payment option of a subscription.
|
|
15
|
+
*/
|
|
16
|
+
export interface PaymentOption {
|
|
17
|
+
/**
|
|
18
|
+
* Wallet instrument internal id.
|
|
19
|
+
*/
|
|
20
|
+
"walletInstrumentId"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Wallet transaction id.
|
|
23
|
+
*/
|
|
24
|
+
"walletTransactionId"?: string;
|
|
25
|
+
"paymentMethod": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace PaymentOption {
|
|
28
|
+
function getJsonObj(obj: PaymentOption): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: PaymentOption): object;
|
|
30
|
+
}
|