Skip to content

Commit

Permalink
Fix for deprecation (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli authored Aug 28, 2023
1 parent 58f2520 commit bf25f8f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/apigee_m10n_add_credit/src/Form/ConfirmUpdateForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@ class ConfirmUpdateForm extends ConfirmFormBase {
*/
protected $monetization;

/**
* The user id from route.
*
* @var string
*/
protected $userId;

/**
* The billingtype selected.
*
* @var string
*/
protected $billingtype_selected;

/**
* Constructs a Confirmation object.
*
Expand Down
14 changes: 14 additions & 0 deletions src/Entity/ListBuilder/PurchasedProductListBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ abstract class PurchasedProductListBuilder extends EntityListBuilder implements
*/
protected $messenger;

/**
* The active status of the purchased product.
*
* @var string
*/
protected $checkStatus;

/**
* Rateplan Id of the apiproduct.
*
* @var array
*/
protected $activeRatePlanId;

/**
* PurchasedProductListBuilder constructor.
*
Expand Down
21 changes: 21 additions & 0 deletions src/Entity/PurchasedProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,27 @@ class PurchasedProduct extends FieldableEdgeEntityBase implements PurchasedProdu
*/
protected $owner;

/**
* Suppress errors if rate plan that overlaps another accepted rate plan.
*
* @var bool
*/
protected $suppressWarning;

/**
* The currently logged-in user.
*
* @var \Drupal\Core\Session\AccountInterface
*/
private $currentUser;

/**
* The rate plan this purchased_product belongs to.
*
* @var \Drupal\apigee_m10n\Entity\XRatePlanInterface
*/
protected $rate_plan;

/**
* Constructs a `purchased_product` entity.
*
Expand Down

0 comments on commit bf25f8f

Please sign in to comment.