@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/commerce/pricing-plan/index.js~
packages/ari/commerce/pricing-plan/index.jsModified+1−4
Index: package/packages/ari/commerce/pricing-plan/index.js
===================================================================
--- package/packages/ari/commerce/pricing-plan/index.js
+++ package/packages/ari/commerce/pricing-plan/index.js
@@ -284,23 +284,20 @@
var commercePricingPlanAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: CommercePricingPlanAriResourceOwner,
resourceType: CommercePricingPlanAriResourceType,
resourceIdSlug: "{pricingPlanId}",
resourceIdSegmentFormats: {
pricingPlanId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/commerce/pricing-plan/index.ts
var CommercePricingPlanAri = class _CommercePricingPlanAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._pricingPlanId = opts.resourceIdSegmentValues.pricingPlanId;
+ super(opts), this._pricingPlanId = opts.resourceIdSegmentValues.pricingPlanId;
}
get pricingPlanId() {
return this._pricingPlanId;
}