@flexprice/sdk 1.0.16 → 1.0.26
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/README.md +281 -200
- package/package.json +29 -41
- package/LICENSE +0 -663
- package/dist/ApiClient.js +0 -653
- package/dist/api/AuthApi.js +0 -100
- package/dist/api/CustomersApi.js +0 -376
- package/dist/api/EntitlementsApi.js +0 -267
- package/dist/api/EnvironmentsApi.js +0 -184
- package/dist/api/EventsApi.js +0 -238
- package/dist/api/FeaturesApi.js +0 -263
- package/dist/api/IntegrationsApi.js +0 -169
- package/dist/api/InvoicesApi.js +0 -419
- package/dist/api/PaymentsApi.js +0 -272
- package/dist/api/PlansApi.js +0 -226
- package/dist/api/PricesApi.js +0 -228
- package/dist/api/SecretsApi.js +0 -137
- package/dist/api/SubscriptionsApi.js +0 -353
- package/dist/api/TasksApi.js +0 -232
- package/dist/api/TenantsApi.js +0 -162
- package/dist/api/UsersApi.js +0 -61
- package/dist/api/WalletsApi.js +0 -392
- package/dist/index.js +0 -1102
- package/dist/model/DtoAddress.js +0 -132
- package/dist/model/DtoAggregatedEntitlement.js +0 -106
- package/dist/model/DtoAggregatedFeature.js +0 -109
- package/dist/model/DtoAuthResponse.js +0 -96
- package/dist/model/DtoBillingPeriodInfo.js +0 -97
- package/dist/model/DtoBulkIngestEventRequest.js +0 -91
- package/dist/model/DtoCreateAPIKeyRequest.js +0 -117
- package/dist/model/DtoCreateAPIKeyResponse.js +0 -86
- package/dist/model/DtoCreateCustomerRequest.js +0 -188
- package/dist/model/DtoCreateEntitlementRequest.js +0 -150
- package/dist/model/DtoCreateEnvironmentRequest.js +0 -96
- package/dist/model/DtoCreateFeatureRequest.js +0 -177
- package/dist/model/DtoCreateIntegrationRequest.js +0 -105
- package/dist/model/DtoCreateInvoiceLineItemRequest.js +0 -206
- package/dist/model/DtoCreateInvoiceRequest.js +0 -289
- package/dist/model/DtoCreateMeterRequest.js +0 -144
- package/dist/model/DtoCreatePaymentRequest.js +0 -172
- package/dist/model/DtoCreatePlanEntitlementRequest.js +0 -150
- package/dist/model/DtoCreatePlanPriceRequest.js +0 -279
- package/dist/model/DtoCreatePlanRequest.js +0 -148
- package/dist/model/DtoCreatePriceRequest.js +0 -279
- package/dist/model/DtoCreatePriceTier.js +0 -102
- package/dist/model/DtoCreateSubscriptionRequest.js +0 -223
- package/dist/model/DtoCreateTaskRequest.js +0 -137
- package/dist/model/DtoCreateTenantRequest.js +0 -96
- package/dist/model/DtoCreateWalletRequest.js +0 -205
- package/dist/model/DtoCustomerEntitlementsResponse.js +0 -93
- package/dist/model/DtoCustomerInvoiceSummary.js +0 -148
- package/dist/model/DtoCustomerMultiCurrencyInvoiceSummary.js +0 -105
- package/dist/model/DtoCustomerResponse.js +0 -283
- package/dist/model/DtoCustomerUsageSummaryResponse.js +0 -121
- package/dist/model/DtoEntitlementResponse.js +0 -259
- package/dist/model/DtoEntitlementSource.js +0 -144
- package/dist/model/DtoEnvironmentResponse.js +0 -120
- package/dist/model/DtoEvent.js +0 -154
- package/dist/model/DtoFeatureResponse.js +0 -258
- package/dist/model/DtoFeatureUsageSummary.js +0 -135
- package/dist/model/DtoGetEventsRequest.js +0 -193
- package/dist/model/DtoGetEventsResponse.js +0 -129
- package/dist/model/DtoGetPreviewInvoiceRequest.js +0 -106
- package/dist/model/DtoGetUsageAnalyticsRequest.js +0 -156
- package/dist/model/DtoGetUsageAnalyticsResponse.js +0 -101
- package/dist/model/DtoGetUsageByMeterRequest.js +0 -149
- package/dist/model/DtoGetUsageBySubscriptionRequest.js +0 -114
- package/dist/model/DtoGetUsageBySubscriptionResponse.js +0 -137
- package/dist/model/DtoGetUsageRequest.js +0 -173
- package/dist/model/DtoGetUsageResponse.js +0 -110
- package/dist/model/DtoIngestEventRequest.js +0 -156
- package/dist/model/DtoInvoiceLineItemResponse.js +0 -326
- package/dist/model/DtoInvoiceResponse.js +0 -450
- package/dist/model/DtoLinkedIntegrationsResponse.js +0 -72
- package/dist/model/DtoListCustomersResponse.js +0 -95
- package/dist/model/DtoListEntitlementsResponse.js +0 -95
- package/dist/model/DtoListEnvironmentsResponse.js +0 -105
- package/dist/model/DtoListFeaturesResponse.js +0 -95
- package/dist/model/DtoListInvoicesResponse.js +0 -95
- package/dist/model/DtoListPaymentsResponse.js +0 -95
- package/dist/model/DtoListPlansResponse.js +0 -95
- package/dist/model/DtoListPricesResponse.js +0 -95
- package/dist/model/DtoListSecretsResponse.js +0 -95
- package/dist/model/DtoListSubscriptionPausesResponse.js +0 -89
- package/dist/model/DtoListSubscriptionsResponse.js +0 -95
- package/dist/model/DtoListTasksResponse.js +0 -95
- package/dist/model/DtoListWalletTransactionsResponse.js +0 -95
- package/dist/model/DtoLoginRequest.js +0 -108
- package/dist/model/DtoMeterResponse.js +0 -188
- package/dist/model/DtoPauseSubscriptionRequest.js +0 -141
- package/dist/model/DtoPaymentAttemptResponse.js +0 -174
- package/dist/model/DtoPaymentResponse.js +0 -314
- package/dist/model/DtoPlanResponse.js +0 -231
- package/dist/model/DtoPriceResponse.js +0 -373
- package/dist/model/DtoResumeSubscriptionRequest.js +0 -97
- package/dist/model/DtoSecretResponse.js +0 -183
- package/dist/model/DtoSignUpRequest.js +0 -118
- package/dist/model/DtoSubscriptionPauseResponse.js +0 -283
- package/dist/model/DtoSubscriptionResponse.js +0 -489
- package/dist/model/DtoSubscriptionUsageByMetersResponse.js +0 -148
- package/dist/model/DtoTaskResponse.js +0 -294
- package/dist/model/DtoTenantBillingDetails.js +0 -110
- package/dist/model/DtoTenantBillingUsage.js +0 -95
- package/dist/model/DtoTenantResponse.js +0 -134
- package/dist/model/DtoTopUpWalletRequest.js +0 -148
- package/dist/model/DtoUpdateCustomerRequest.js +0 -178
- package/dist/model/DtoUpdateEntitlementRequest.js +0 -105
- package/dist/model/DtoUpdateEnvironmentRequest.js +0 -84
- package/dist/model/DtoUpdateFeatureRequest.js +0 -139
- package/dist/model/DtoUpdatePaymentRequest.js +0 -82
- package/dist/model/DtoUpdatePaymentStatusRequest.js +0 -87
- package/dist/model/DtoUpdatePlanEntitlementRequest.js +0 -163
- package/dist/model/DtoUpdatePlanPriceRequest.js +0 -292
- package/dist/model/DtoUpdatePlanRequest.js +0 -138
- package/dist/model/DtoUpdatePriceRequest.js +0 -94
- package/dist/model/DtoUpdateTaskStatusRequest.js +0 -79
- package/dist/model/DtoUpdateTenantRequest.js +0 -86
- package/dist/model/DtoUpdateWalletRequest.js +0 -133
- package/dist/model/DtoUsageAnalyticItem.js +0 -190
- package/dist/model/DtoUsageAnalyticPoint.js +0 -88
- package/dist/model/DtoUsageResult.js +0 -80
- package/dist/model/DtoUserResponse.js +0 -98
- package/dist/model/DtoWalletBalanceResponse.js +0 -336
- package/dist/model/DtoWalletResponse.js +0 -235
- package/dist/model/DtoWalletTransactionResponse.js +0 -221
- package/dist/model/ErrorsErrorDetail.js +0 -94
- package/dist/model/ErrorsErrorResponse.js +0 -82
- package/dist/model/GithubComFlexpriceFlexpriceInternalTypesValue.js +0 -112
- package/dist/model/MeterAggregation.js +0 -82
- package/dist/model/MeterFilter.js +0 -86
- package/dist/model/PriceJSONBTransformQuantity.js +0 -82
- package/dist/model/PricePrice.js +0 -359
- package/dist/model/PricePriceTier.js +0 -87
- package/dist/model/PriceTransformQuantity.js +0 -82
- package/dist/model/SubscriptionSubscriptionLineItem.js +0 -338
- package/dist/model/SubscriptionSubscriptionPause.js +0 -283
- package/dist/model/TypesAggregationType.js +0 -53
- package/dist/model/TypesAutoTopupTrigger.js +0 -41
- package/dist/model/TypesBillingCadence.js +0 -41
- package/dist/model/TypesBillingCycle.js +0 -41
- package/dist/model/TypesBillingModel.js +0 -47
- package/dist/model/TypesBillingPeriod.js +0 -65
- package/dist/model/TypesBillingTier.js +0 -41
- package/dist/model/TypesCustomerFilter.js +0 -230
- package/dist/model/TypesDataType.js +0 -53
- package/dist/model/TypesEntityType.js +0 -47
- package/dist/model/TypesFeatureFilter.js +0 -243
- package/dist/model/TypesFeatureType.js +0 -47
- package/dist/model/TypesFileType.js +0 -41
- package/dist/model/TypesFilterCondition.js +0 -104
- package/dist/model/TypesFilterOperatorType.js +0 -77
- package/dist/model/TypesInvoiceBillingReason.js +0 -53
- package/dist/model/TypesInvoiceCadence.js +0 -41
- package/dist/model/TypesInvoiceStatus.js +0 -47
- package/dist/model/TypesInvoiceType.js +0 -47
- package/dist/model/TypesPaginationResponse.js +0 -84
- package/dist/model/TypesPauseMode.js +0 -47
- package/dist/model/TypesPauseStatus.js +0 -59
- package/dist/model/TypesPaymentDestinationType.js +0 -35
- package/dist/model/TypesPaymentMethodType.js +0 -53
- package/dist/model/TypesPaymentStatus.js +0 -65
- package/dist/model/TypesPriceType.js +0 -41
- package/dist/model/TypesResetUsage.js +0 -41
- package/dist/model/TypesResumeMode.js +0 -47
- package/dist/model/TypesSecretProvider.js +0 -47
- package/dist/model/TypesSecretType.js +0 -47
- package/dist/model/TypesSortCondition.js +0 -81
- package/dist/model/TypesSortDirection.js +0 -41
- package/dist/model/TypesStatus.js +0 -47
- package/dist/model/TypesSubscriptionStatus.js +0 -77
- package/dist/model/TypesTaskStatus.js +0 -53
- package/dist/model/TypesTaskType.js +0 -41
- package/dist/model/TypesTransactionReason.js +0 -77
- package/dist/model/TypesTransactionStatus.js +0 -47
- package/dist/model/TypesTransactionType.js +0 -41
- package/dist/model/TypesWalletConfig.js +0 -74
- package/dist/model/TypesWalletConfigPriceType.js +0 -47
- package/dist/model/TypesWalletStatus.js +0 -47
- package/dist/model/TypesWalletTxReferenceType.js +0 -47
- package/dist/model/TypesWalletType.js +0 -41
- package/dist/model/TypesWindowSize.js +0 -47
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The DtoUpdatePaymentRequest model module.
|
|
18
|
-
* @module model/DtoUpdatePaymentRequest
|
|
19
|
-
* @version 1.0
|
|
20
|
-
*/
|
|
21
|
-
class DtoUpdatePaymentRequest {
|
|
22
|
-
/**
|
|
23
|
-
* Constructs a new <code>DtoUpdatePaymentRequest</code>.
|
|
24
|
-
* @alias module:model/DtoUpdatePaymentRequest
|
|
25
|
-
*/
|
|
26
|
-
constructor() {
|
|
27
|
-
DtoUpdatePaymentRequest.initialize(this);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Initializes the fields of this object.
|
|
32
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
33
|
-
* Only for internal use.
|
|
34
|
-
*/
|
|
35
|
-
static initialize(obj) {}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Constructs a <code>DtoUpdatePaymentRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
39
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
40
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
41
|
-
* @param {module:model/DtoUpdatePaymentRequest} obj Optional instance to populate.
|
|
42
|
-
* @return {module:model/DtoUpdatePaymentRequest} The populated <code>DtoUpdatePaymentRequest</code> instance.
|
|
43
|
-
*/
|
|
44
|
-
static constructFromObject(data, obj) {
|
|
45
|
-
if (data) {
|
|
46
|
-
obj = obj || new DtoUpdatePaymentRequest();
|
|
47
|
-
if (data.hasOwnProperty('metadata')) {
|
|
48
|
-
obj['metadata'] = ApiClient.convertToType(data['metadata'], {
|
|
49
|
-
'String': 'String'
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
if (data.hasOwnProperty('payment_status')) {
|
|
53
|
-
obj['payment_status'] = ApiClient.convertToType(data['payment_status'], 'String');
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return obj;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Validates the JSON data with respect to <code>DtoUpdatePaymentRequest</code>.
|
|
61
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
62
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoUpdatePaymentRequest</code>.
|
|
63
|
-
*/
|
|
64
|
-
static validateJSON(data) {
|
|
65
|
-
// ensure the json data is a string
|
|
66
|
-
if (data['payment_status'] && !(typeof data['payment_status'] === 'string' || data['payment_status'] instanceof String)) {
|
|
67
|
-
throw new Error("Expected the field `payment_status` to be a primitive type in the JSON string but got " + data['payment_status']);
|
|
68
|
-
}
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @member {Object.<String, String>} metadata
|
|
75
|
-
*/
|
|
76
|
-
DtoUpdatePaymentRequest.prototype['metadata'] = undefined;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @member {String} payment_status
|
|
80
|
-
*/
|
|
81
|
-
DtoUpdatePaymentRequest.prototype['payment_status'] = undefined;
|
|
82
|
-
export default DtoUpdatePaymentRequest;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import TypesPaymentStatus from './TypesPaymentStatus';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The DtoUpdatePaymentStatusRequest model module.
|
|
19
|
-
* @module model/DtoUpdatePaymentStatusRequest
|
|
20
|
-
* @version 1.0
|
|
21
|
-
*/
|
|
22
|
-
class DtoUpdatePaymentStatusRequest {
|
|
23
|
-
/**
|
|
24
|
-
* Constructs a new <code>DtoUpdatePaymentStatusRequest</code>.
|
|
25
|
-
* @alias module:model/DtoUpdatePaymentStatusRequest
|
|
26
|
-
* @param paymentStatus {module:model/TypesPaymentStatus}
|
|
27
|
-
*/
|
|
28
|
-
constructor(paymentStatus) {
|
|
29
|
-
DtoUpdatePaymentStatusRequest.initialize(this, paymentStatus);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Initializes the fields of this object.
|
|
34
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
35
|
-
* Only for internal use.
|
|
36
|
-
*/
|
|
37
|
-
static initialize(obj, paymentStatus) {
|
|
38
|
-
obj['payment_status'] = paymentStatus;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Constructs a <code>DtoUpdatePaymentStatusRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
43
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
44
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
45
|
-
* @param {module:model/DtoUpdatePaymentStatusRequest} obj Optional instance to populate.
|
|
46
|
-
* @return {module:model/DtoUpdatePaymentStatusRequest} The populated <code>DtoUpdatePaymentStatusRequest</code> instance.
|
|
47
|
-
*/
|
|
48
|
-
static constructFromObject(data, obj) {
|
|
49
|
-
if (data) {
|
|
50
|
-
obj = obj || new DtoUpdatePaymentStatusRequest();
|
|
51
|
-
if (data.hasOwnProperty('amount')) {
|
|
52
|
-
obj['amount'] = ApiClient.convertToType(data['amount'], 'Number');
|
|
53
|
-
}
|
|
54
|
-
if (data.hasOwnProperty('payment_status')) {
|
|
55
|
-
obj['payment_status'] = TypesPaymentStatus.constructFromObject(data['payment_status']);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return obj;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Validates the JSON data with respect to <code>DtoUpdatePaymentStatusRequest</code>.
|
|
63
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoUpdatePaymentStatusRequest</code>.
|
|
65
|
-
*/
|
|
66
|
-
static validateJSON(data) {
|
|
67
|
-
// check to make sure all required properties are present in the JSON string
|
|
68
|
-
for (const property of DtoUpdatePaymentStatusRequest.RequiredProperties) {
|
|
69
|
-
if (!data.hasOwnProperty(property)) {
|
|
70
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return true;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
DtoUpdatePaymentStatusRequest.RequiredProperties = ["payment_status"];
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @member {Number} amount
|
|
80
|
-
*/
|
|
81
|
-
DtoUpdatePaymentStatusRequest.prototype['amount'] = undefined;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @member {module:model/TypesPaymentStatus} payment_status
|
|
85
|
-
*/
|
|
86
|
-
DtoUpdatePaymentStatusRequest.prototype['payment_status'] = undefined;
|
|
87
|
-
export default DtoUpdatePaymentStatusRequest;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import TypesBillingPeriod from './TypesBillingPeriod';
|
|
16
|
-
import TypesFeatureType from './TypesFeatureType';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The DtoUpdatePlanEntitlementRequest model module.
|
|
20
|
-
* @module model/DtoUpdatePlanEntitlementRequest
|
|
21
|
-
* @version 1.0
|
|
22
|
-
*/
|
|
23
|
-
class DtoUpdatePlanEntitlementRequest {
|
|
24
|
-
/**
|
|
25
|
-
* Constructs a new <code>DtoUpdatePlanEntitlementRequest</code>.
|
|
26
|
-
* @alias module:model/DtoUpdatePlanEntitlementRequest
|
|
27
|
-
* @param featureId {String}
|
|
28
|
-
* @param featureType {module:model/TypesFeatureType}
|
|
29
|
-
*/
|
|
30
|
-
constructor(featureId, featureType) {
|
|
31
|
-
DtoUpdatePlanEntitlementRequest.initialize(this, featureId, featureType);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Initializes the fields of this object.
|
|
36
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
37
|
-
* Only for internal use.
|
|
38
|
-
*/
|
|
39
|
-
static initialize(obj, featureId, featureType) {
|
|
40
|
-
obj['feature_id'] = featureId;
|
|
41
|
-
obj['feature_type'] = featureType;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Constructs a <code>DtoUpdatePlanEntitlementRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
46
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
47
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
48
|
-
* @param {module:model/DtoUpdatePlanEntitlementRequest} obj Optional instance to populate.
|
|
49
|
-
* @return {module:model/DtoUpdatePlanEntitlementRequest} The populated <code>DtoUpdatePlanEntitlementRequest</code> instance.
|
|
50
|
-
*/
|
|
51
|
-
static constructFromObject(data, obj) {
|
|
52
|
-
if (data) {
|
|
53
|
-
obj = obj || new DtoUpdatePlanEntitlementRequest();
|
|
54
|
-
if (data.hasOwnProperty('feature_id')) {
|
|
55
|
-
obj['feature_id'] = ApiClient.convertToType(data['feature_id'], 'String');
|
|
56
|
-
}
|
|
57
|
-
if (data.hasOwnProperty('feature_type')) {
|
|
58
|
-
obj['feature_type'] = TypesFeatureType.constructFromObject(data['feature_type']);
|
|
59
|
-
}
|
|
60
|
-
if (data.hasOwnProperty('id')) {
|
|
61
|
-
obj['id'] = ApiClient.convertToType(data['id'], 'String');
|
|
62
|
-
}
|
|
63
|
-
if (data.hasOwnProperty('is_enabled')) {
|
|
64
|
-
obj['is_enabled'] = ApiClient.convertToType(data['is_enabled'], 'Boolean');
|
|
65
|
-
}
|
|
66
|
-
if (data.hasOwnProperty('is_soft_limit')) {
|
|
67
|
-
obj['is_soft_limit'] = ApiClient.convertToType(data['is_soft_limit'], 'Boolean');
|
|
68
|
-
}
|
|
69
|
-
if (data.hasOwnProperty('plan_id')) {
|
|
70
|
-
obj['plan_id'] = ApiClient.convertToType(data['plan_id'], 'String');
|
|
71
|
-
}
|
|
72
|
-
if (data.hasOwnProperty('static_value')) {
|
|
73
|
-
obj['static_value'] = ApiClient.convertToType(data['static_value'], 'String');
|
|
74
|
-
}
|
|
75
|
-
if (data.hasOwnProperty('usage_limit')) {
|
|
76
|
-
obj['usage_limit'] = ApiClient.convertToType(data['usage_limit'], 'Number');
|
|
77
|
-
}
|
|
78
|
-
if (data.hasOwnProperty('usage_reset_period')) {
|
|
79
|
-
obj['usage_reset_period'] = TypesBillingPeriod.constructFromObject(data['usage_reset_period']);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return obj;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Validates the JSON data with respect to <code>DtoUpdatePlanEntitlementRequest</code>.
|
|
87
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
88
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoUpdatePlanEntitlementRequest</code>.
|
|
89
|
-
*/
|
|
90
|
-
static validateJSON(data) {
|
|
91
|
-
// check to make sure all required properties are present in the JSON string
|
|
92
|
-
for (const property of DtoUpdatePlanEntitlementRequest.RequiredProperties) {
|
|
93
|
-
if (!data.hasOwnProperty(property)) {
|
|
94
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
// ensure the json data is a string
|
|
98
|
-
if (data['feature_id'] && !(typeof data['feature_id'] === 'string' || data['feature_id'] instanceof String)) {
|
|
99
|
-
throw new Error("Expected the field `feature_id` to be a primitive type in the JSON string but got " + data['feature_id']);
|
|
100
|
-
}
|
|
101
|
-
// ensure the json data is a string
|
|
102
|
-
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
103
|
-
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
104
|
-
}
|
|
105
|
-
// ensure the json data is a string
|
|
106
|
-
if (data['plan_id'] && !(typeof data['plan_id'] === 'string' || data['plan_id'] instanceof String)) {
|
|
107
|
-
throw new Error("Expected the field `plan_id` to be a primitive type in the JSON string but got " + data['plan_id']);
|
|
108
|
-
}
|
|
109
|
-
// ensure the json data is a string
|
|
110
|
-
if (data['static_value'] && !(typeof data['static_value'] === 'string' || data['static_value'] instanceof String)) {
|
|
111
|
-
throw new Error("Expected the field `static_value` to be a primitive type in the JSON string but got " + data['static_value']);
|
|
112
|
-
}
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
DtoUpdatePlanEntitlementRequest.RequiredProperties = ["feature_id", "feature_type"];
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @member {String} feature_id
|
|
120
|
-
*/
|
|
121
|
-
DtoUpdatePlanEntitlementRequest.prototype['feature_id'] = undefined;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* @member {module:model/TypesFeatureType} feature_type
|
|
125
|
-
*/
|
|
126
|
-
DtoUpdatePlanEntitlementRequest.prototype['feature_type'] = undefined;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* The ID of the entitlement to update (present if the entitlement is being updated)
|
|
130
|
-
* @member {String} id
|
|
131
|
-
*/
|
|
132
|
-
DtoUpdatePlanEntitlementRequest.prototype['id'] = undefined;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @member {Boolean} is_enabled
|
|
136
|
-
*/
|
|
137
|
-
DtoUpdatePlanEntitlementRequest.prototype['is_enabled'] = undefined;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @member {Boolean} is_soft_limit
|
|
141
|
-
*/
|
|
142
|
-
DtoUpdatePlanEntitlementRequest.prototype['is_soft_limit'] = undefined;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @member {String} plan_id
|
|
146
|
-
*/
|
|
147
|
-
DtoUpdatePlanEntitlementRequest.prototype['plan_id'] = undefined;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @member {String} static_value
|
|
151
|
-
*/
|
|
152
|
-
DtoUpdatePlanEntitlementRequest.prototype['static_value'] = undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* @member {Number} usage_limit
|
|
156
|
-
*/
|
|
157
|
-
DtoUpdatePlanEntitlementRequest.prototype['usage_limit'] = undefined;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @member {module:model/TypesBillingPeriod} usage_reset_period
|
|
161
|
-
*/
|
|
162
|
-
DtoUpdatePlanEntitlementRequest.prototype['usage_reset_period'] = undefined;
|
|
163
|
-
export default DtoUpdatePlanEntitlementRequest;
|
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FlexPrice API
|
|
3
|
-
* FlexPrice API Service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import ApiClient from '../ApiClient';
|
|
15
|
-
import DtoCreatePriceTier from './DtoCreatePriceTier';
|
|
16
|
-
import PriceTransformQuantity from './PriceTransformQuantity';
|
|
17
|
-
import TypesBillingCadence from './TypesBillingCadence';
|
|
18
|
-
import TypesBillingModel from './TypesBillingModel';
|
|
19
|
-
import TypesBillingPeriod from './TypesBillingPeriod';
|
|
20
|
-
import TypesBillingTier from './TypesBillingTier';
|
|
21
|
-
import TypesInvoiceCadence from './TypesInvoiceCadence';
|
|
22
|
-
import TypesPriceType from './TypesPriceType';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* The DtoUpdatePlanPriceRequest model module.
|
|
26
|
-
* @module model/DtoUpdatePlanPriceRequest
|
|
27
|
-
* @version 1.0
|
|
28
|
-
*/
|
|
29
|
-
class DtoUpdatePlanPriceRequest {
|
|
30
|
-
/**
|
|
31
|
-
* Constructs a new <code>DtoUpdatePlanPriceRequest</code>.
|
|
32
|
-
* @alias module:model/DtoUpdatePlanPriceRequest
|
|
33
|
-
* @param billingCadence {module:model/TypesBillingCadence}
|
|
34
|
-
* @param billingModel {module:model/TypesBillingModel}
|
|
35
|
-
* @param billingPeriod {module:model/TypesBillingPeriod}
|
|
36
|
-
* @param billingPeriodCount {Number}
|
|
37
|
-
* @param currency {String}
|
|
38
|
-
* @param invoiceCadence {module:model/TypesInvoiceCadence}
|
|
39
|
-
* @param type {module:model/TypesPriceType}
|
|
40
|
-
*/
|
|
41
|
-
constructor(billingCadence, billingModel, billingPeriod, billingPeriodCount, currency, invoiceCadence, type) {
|
|
42
|
-
DtoUpdatePlanPriceRequest.initialize(this, billingCadence, billingModel, billingPeriod, billingPeriodCount, currency, invoiceCadence, type);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Initializes the fields of this object.
|
|
47
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
-
* Only for internal use.
|
|
49
|
-
*/
|
|
50
|
-
static initialize(obj, billingCadence, billingModel, billingPeriod, billingPeriodCount, currency, invoiceCadence, type) {
|
|
51
|
-
obj['billing_cadence'] = billingCadence;
|
|
52
|
-
obj['billing_model'] = billingModel;
|
|
53
|
-
obj['billing_period'] = billingPeriod;
|
|
54
|
-
obj['billing_period_count'] = billingPeriodCount;
|
|
55
|
-
obj['currency'] = currency;
|
|
56
|
-
obj['invoice_cadence'] = invoiceCadence;
|
|
57
|
-
obj['type'] = type;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Constructs a <code>DtoUpdatePlanPriceRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
-
* @param {module:model/DtoUpdatePlanPriceRequest} obj Optional instance to populate.
|
|
65
|
-
* @return {module:model/DtoUpdatePlanPriceRequest} The populated <code>DtoUpdatePlanPriceRequest</code> instance.
|
|
66
|
-
*/
|
|
67
|
-
static constructFromObject(data, obj) {
|
|
68
|
-
if (data) {
|
|
69
|
-
obj = obj || new DtoUpdatePlanPriceRequest();
|
|
70
|
-
if (data.hasOwnProperty('amount')) {
|
|
71
|
-
obj['amount'] = ApiClient.convertToType(data['amount'], 'String');
|
|
72
|
-
}
|
|
73
|
-
if (data.hasOwnProperty('billing_cadence')) {
|
|
74
|
-
obj['billing_cadence'] = TypesBillingCadence.constructFromObject(data['billing_cadence']);
|
|
75
|
-
}
|
|
76
|
-
if (data.hasOwnProperty('billing_model')) {
|
|
77
|
-
obj['billing_model'] = TypesBillingModel.constructFromObject(data['billing_model']);
|
|
78
|
-
}
|
|
79
|
-
if (data.hasOwnProperty('billing_period')) {
|
|
80
|
-
obj['billing_period'] = TypesBillingPeriod.constructFromObject(data['billing_period']);
|
|
81
|
-
}
|
|
82
|
-
if (data.hasOwnProperty('billing_period_count')) {
|
|
83
|
-
obj['billing_period_count'] = ApiClient.convertToType(data['billing_period_count'], 'Number');
|
|
84
|
-
}
|
|
85
|
-
if (data.hasOwnProperty('currency')) {
|
|
86
|
-
obj['currency'] = ApiClient.convertToType(data['currency'], 'String');
|
|
87
|
-
}
|
|
88
|
-
if (data.hasOwnProperty('description')) {
|
|
89
|
-
obj['description'] = ApiClient.convertToType(data['description'], 'String');
|
|
90
|
-
}
|
|
91
|
-
if (data.hasOwnProperty('filter_values')) {
|
|
92
|
-
obj['filter_values'] = ApiClient.convertToType(data['filter_values'], {
|
|
93
|
-
'String': ['String']
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
if (data.hasOwnProperty('id')) {
|
|
97
|
-
obj['id'] = ApiClient.convertToType(data['id'], 'String');
|
|
98
|
-
}
|
|
99
|
-
if (data.hasOwnProperty('invoice_cadence')) {
|
|
100
|
-
obj['invoice_cadence'] = TypesInvoiceCadence.constructFromObject(data['invoice_cadence']);
|
|
101
|
-
}
|
|
102
|
-
if (data.hasOwnProperty('lookup_key')) {
|
|
103
|
-
obj['lookup_key'] = ApiClient.convertToType(data['lookup_key'], 'String');
|
|
104
|
-
}
|
|
105
|
-
if (data.hasOwnProperty('metadata')) {
|
|
106
|
-
obj['metadata'] = ApiClient.convertToType(data['metadata'], {
|
|
107
|
-
'String': 'String'
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
if (data.hasOwnProperty('meter_id')) {
|
|
111
|
-
obj['meter_id'] = ApiClient.convertToType(data['meter_id'], 'String');
|
|
112
|
-
}
|
|
113
|
-
if (data.hasOwnProperty('plan_id')) {
|
|
114
|
-
obj['plan_id'] = ApiClient.convertToType(data['plan_id'], 'String');
|
|
115
|
-
}
|
|
116
|
-
if (data.hasOwnProperty('tier_mode')) {
|
|
117
|
-
obj['tier_mode'] = TypesBillingTier.constructFromObject(data['tier_mode']);
|
|
118
|
-
}
|
|
119
|
-
if (data.hasOwnProperty('tiers')) {
|
|
120
|
-
obj['tiers'] = ApiClient.convertToType(data['tiers'], [DtoCreatePriceTier]);
|
|
121
|
-
}
|
|
122
|
-
if (data.hasOwnProperty('transform_quantity')) {
|
|
123
|
-
obj['transform_quantity'] = PriceTransformQuantity.constructFromObject(data['transform_quantity']);
|
|
124
|
-
}
|
|
125
|
-
if (data.hasOwnProperty('trial_period')) {
|
|
126
|
-
obj['trial_period'] = ApiClient.convertToType(data['trial_period'], 'Number');
|
|
127
|
-
}
|
|
128
|
-
if (data.hasOwnProperty('type')) {
|
|
129
|
-
obj['type'] = TypesPriceType.constructFromObject(data['type']);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return obj;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Validates the JSON data with respect to <code>DtoUpdatePlanPriceRequest</code>.
|
|
137
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
138
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DtoUpdatePlanPriceRequest</code>.
|
|
139
|
-
*/
|
|
140
|
-
static validateJSON(data) {
|
|
141
|
-
// check to make sure all required properties are present in the JSON string
|
|
142
|
-
for (const property of DtoUpdatePlanPriceRequest.RequiredProperties) {
|
|
143
|
-
if (!data.hasOwnProperty(property)) {
|
|
144
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
// ensure the json data is a string
|
|
148
|
-
if (data['amount'] && !(typeof data['amount'] === 'string' || data['amount'] instanceof String)) {
|
|
149
|
-
throw new Error("Expected the field `amount` to be a primitive type in the JSON string but got " + data['amount']);
|
|
150
|
-
}
|
|
151
|
-
// ensure the json data is a string
|
|
152
|
-
if (data['currency'] && !(typeof data['currency'] === 'string' || data['currency'] instanceof String)) {
|
|
153
|
-
throw new Error("Expected the field `currency` to be a primitive type in the JSON string but got " + data['currency']);
|
|
154
|
-
}
|
|
155
|
-
// ensure the json data is a string
|
|
156
|
-
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
157
|
-
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
158
|
-
}
|
|
159
|
-
// ensure the json data is a string
|
|
160
|
-
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
161
|
-
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
162
|
-
}
|
|
163
|
-
// ensure the json data is a string
|
|
164
|
-
if (data['lookup_key'] && !(typeof data['lookup_key'] === 'string' || data['lookup_key'] instanceof String)) {
|
|
165
|
-
throw new Error("Expected the field `lookup_key` to be a primitive type in the JSON string but got " + data['lookup_key']);
|
|
166
|
-
}
|
|
167
|
-
// ensure the json data is a string
|
|
168
|
-
if (data['meter_id'] && !(typeof data['meter_id'] === 'string' || data['meter_id'] instanceof String)) {
|
|
169
|
-
throw new Error("Expected the field `meter_id` to be a primitive type in the JSON string but got " + data['meter_id']);
|
|
170
|
-
}
|
|
171
|
-
// ensure the json data is a string
|
|
172
|
-
if (data['plan_id'] && !(typeof data['plan_id'] === 'string' || data['plan_id'] instanceof String)) {
|
|
173
|
-
throw new Error("Expected the field `plan_id` to be a primitive type in the JSON string but got " + data['plan_id']);
|
|
174
|
-
}
|
|
175
|
-
if (data['tiers']) {
|
|
176
|
-
// data not null
|
|
177
|
-
// ensure the json data is an array
|
|
178
|
-
if (!Array.isArray(data['tiers'])) {
|
|
179
|
-
throw new Error("Expected the field `tiers` to be an array in the JSON data but got " + data['tiers']);
|
|
180
|
-
}
|
|
181
|
-
// validate the optional field `tiers` (array)
|
|
182
|
-
for (const item of data['tiers']) {
|
|
183
|
-
DtoCreatePriceTier.validateJSON(item);
|
|
184
|
-
}
|
|
185
|
-
;
|
|
186
|
-
}
|
|
187
|
-
// validate the optional field `transform_quantity`
|
|
188
|
-
if (data['transform_quantity']) {
|
|
189
|
-
// data not null
|
|
190
|
-
PriceTransformQuantity.validateJSON(data['transform_quantity']);
|
|
191
|
-
}
|
|
192
|
-
return true;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
DtoUpdatePlanPriceRequest.RequiredProperties = ["billing_cadence", "billing_model", "billing_period", "billing_period_count", "currency", "invoice_cadence", "type"];
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* @member {String} amount
|
|
199
|
-
*/
|
|
200
|
-
DtoUpdatePlanPriceRequest.prototype['amount'] = undefined;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* @member {module:model/TypesBillingCadence} billing_cadence
|
|
204
|
-
*/
|
|
205
|
-
DtoUpdatePlanPriceRequest.prototype['billing_cadence'] = undefined;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* @member {module:model/TypesBillingModel} billing_model
|
|
209
|
-
*/
|
|
210
|
-
DtoUpdatePlanPriceRequest.prototype['billing_model'] = undefined;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* @member {module:model/TypesBillingPeriod} billing_period
|
|
214
|
-
*/
|
|
215
|
-
DtoUpdatePlanPriceRequest.prototype['billing_period'] = undefined;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* @member {Number} billing_period_count
|
|
219
|
-
*/
|
|
220
|
-
DtoUpdatePlanPriceRequest.prototype['billing_period_count'] = undefined;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @member {String} currency
|
|
224
|
-
*/
|
|
225
|
-
DtoUpdatePlanPriceRequest.prototype['currency'] = undefined;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @member {String} description
|
|
229
|
-
*/
|
|
230
|
-
DtoUpdatePlanPriceRequest.prototype['description'] = undefined;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* @member {Object.<String, Array.<String>>} filter_values
|
|
234
|
-
*/
|
|
235
|
-
DtoUpdatePlanPriceRequest.prototype['filter_values'] = undefined;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* The ID of the price to update (present if the price is being updated)
|
|
239
|
-
* @member {String} id
|
|
240
|
-
*/
|
|
241
|
-
DtoUpdatePlanPriceRequest.prototype['id'] = undefined;
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* @member {module:model/TypesInvoiceCadence} invoice_cadence
|
|
245
|
-
*/
|
|
246
|
-
DtoUpdatePlanPriceRequest.prototype['invoice_cadence'] = undefined;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* @member {String} lookup_key
|
|
250
|
-
*/
|
|
251
|
-
DtoUpdatePlanPriceRequest.prototype['lookup_key'] = undefined;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @member {Object.<String, String>} metadata
|
|
255
|
-
*/
|
|
256
|
-
DtoUpdatePlanPriceRequest.prototype['metadata'] = undefined;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @member {String} meter_id
|
|
260
|
-
*/
|
|
261
|
-
DtoUpdatePlanPriceRequest.prototype['meter_id'] = undefined;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @member {String} plan_id
|
|
265
|
-
*/
|
|
266
|
-
DtoUpdatePlanPriceRequest.prototype['plan_id'] = undefined;
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @member {module:model/TypesBillingTier} tier_mode
|
|
270
|
-
*/
|
|
271
|
-
DtoUpdatePlanPriceRequest.prototype['tier_mode'] = undefined;
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @member {Array.<module:model/DtoCreatePriceTier>} tiers
|
|
275
|
-
*/
|
|
276
|
-
DtoUpdatePlanPriceRequest.prototype['tiers'] = undefined;
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @member {module:model/PriceTransformQuantity} transform_quantity
|
|
280
|
-
*/
|
|
281
|
-
DtoUpdatePlanPriceRequest.prototype['transform_quantity'] = undefined;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* @member {Number} trial_period
|
|
285
|
-
*/
|
|
286
|
-
DtoUpdatePlanPriceRequest.prototype['trial_period'] = undefined;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @member {module:model/TypesPriceType} type
|
|
290
|
-
*/
|
|
291
|
-
DtoUpdatePlanPriceRequest.prototype['type'] = undefined;
|
|
292
|
-
export default DtoUpdatePlanPriceRequest;
|