interface SubscriptionInterface in Commerce Recurring Framework 8
Defines the interface for subscriptions.
Hierarchy
- interface \Drupal\Core\Entity\ContentEntityInterface extends \Drupal\Core\Entity\Traversable; interface \Drupal\user\EntityOwnerInterface- interface \Drupal\commerce_recurring\Entity\SubscriptionInterface
 
Expanded class hierarchy of SubscriptionInterface
All classes that implement SubscriptionInterface
9 files declare their use of SubscriptionInterface
- PaymentMethodWidget.php in src/Plugin/ Field/ FieldWidget/ PaymentMethodWidget.php 
- RecurringOrderManager.php in src/RecurringOrderManager.php 
- RecurringOrderManagerInterface.php in src/RecurringOrderManagerInterface.php 
- RecurringOrderManagerTest.php in tests/src/ Kernel/ RecurringOrderManagerTest.php 
- SubscriptionCancelForm.php in src/Form/ SubscriptionCancelForm.php 
File
- src/Entity/ SubscriptionInterface.php, line 16 
Namespace
Drupal\commerce_recurring\EntityView source
interface SubscriptionInterface extends ContentEntityInterface, EntityOwnerInterface {
  /**
   * Gets the subscription type.
   *
   * @return \Drupal\commerce_recurring\Plugin\Commerce\SubscriptionType\SubscriptionTypeInterface
   *   The subscription type.
   */
  public function getType();
  /**
   * Gets the store.
   *
   * @return \Drupal\commerce_store\Entity\StoreInterface
   *   The store.
   */
  public function getStore();
  /**
   * Gets the store ID.
   *
   * @return int
   *   The store ID.
   */
  public function getStoreId();
  /**
   * Gets the billing schedule.
   *
   * @return \Drupal\commerce_recurring\Entity\BillingScheduleInterface
   *   The billing schedule.
   */
  public function getBillingSchedule();
  /**
   * Sets the billing schedule.
   *
   * @param \Drupal\commerce_recurring\Entity\BillingScheduleInterface $billing_schedule
   *   The billing schedule.
   *
   * @return $this
   */
  public function setBillingSchedule(BillingScheduleInterface $billing_schedule);
  /**
   * Gets the customer.
   *
   * @return \Drupal\user\UserInterface
   *   The customer.
   */
  public function getCustomer();
  /**
   * Sets the customer.
   *
   * @param \Drupal\user\UserInterface $account
   *   The customer.
   *
   * @return $this
   */
  public function setCustomer(UserInterface $account);
  /**
   * Gets the customer ID.
   *
   * @return int
   *   The customer ID.
   */
  public function getCustomerId();
  /**
   * Sets the customer ID.
   *
   * @param int $uid
   *   The customer ID.
   *
   * @return $this
   */
  public function setCustomerId($uid);
  /**
   * Gets the payment method.
   *
   * @return \Drupal\commerce_payment\Entity\PaymentMethodInterface|null
   *   The payment method, or NULL.
   */
  public function getPaymentMethod();
  /**
   * Sets the payment method.
   *
   * @param \Drupal\commerce_payment\Entity\PaymentMethodInterface $payment_method
   *   The payment method.
   *
   * @return $this
   */
  public function setPaymentMethod(PaymentMethodInterface $payment_method);
  /**
   * Gets the payment method ID.
   *
   * @return int|null
   *   The payment method ID, or NULL.
   */
  public function getPaymentMethodId();
  /**
   * Sets the payment method ID.
   *
   * @param int $payment_method_id
   *   The payment method ID.
   *
   * @return $this
   */
  public function setPaymentMethodId($payment_method_id);
  /**
   * Gets whether the subscription has a purchased entity.
   *
   * @return bool
   *   TRUE if the subscription has a purchased entity, FALSE otherwise.
   */
  public function hasPurchasedEntity();
  /**
   * Gets the purchased entity.
   *
   * @return \Drupal\commerce\PurchasableEntityInterface|null
   *   The purchased entity, or NULL.
   */
  public function getPurchasedEntity();
  /**
   * Sets the purchased entity.
   *
   * @param \Drupal\commerce\PurchasableEntityInterface $purchased_entity
   *   The purchased entity.
   *
   * @return $this
   */
  public function setPurchasedEntity(PurchasableEntityInterface $purchased_entity);
  /**
   * Gets the purchased entity ID.
   *
   * @return int|null
   *   The purchased entity ID, or NULL.
   */
  public function getPurchasedEntityId();
  /**
   * Gets the subscription title.
   *
   * @return string
   *   The subscription title
   */
  public function getTitle();
  /**
   * Sets the subscription title.
   *
   * @param string $title
   *   The subscription title.
   *
   * @return $this
   */
  public function setTitle($title);
  /**
   * Gets the subscription quantity.
   *
   * @return string
   *   The subscription quantity
   */
  public function getQuantity();
  /**
   * Sets the subscription quantity.
   *
   * @param string $quantity
   *   The subscription quantity.
   *
   * @return $this
   */
  public function setQuantity($quantity);
  /**
   * Gets the subscription unit price.
   *
   * @return \Drupal\commerce_price\Price
   *   The subscription unit price.
   */
  public function getUnitPrice();
  /**
   * Sets the subscription unit price.
   *
   * @param \Drupal\commerce_price\Price $unit_price
   *   The subscription unit price.
   *
   * @return $this
   */
  public function setUnitPrice(Price $unit_price);
  /**
   * Gets the subscription state.
   *
   * @return \Drupal\state_machine\Plugin\Field\FieldType\StateItemInterface
   *   The subscription state.
   */
  public function getState();
  /**
   * Sets the subscription state.
   *
   * @param string $state_id
   *   The new state ID.
   *
   * @return $this
   */
  public function setState($state_id);
  /**
   * Gets the initial order.
   *
   * This is the non-recurring order which started the subscription.
   * Might not be available for manually created subscriptions.
   *
   * @return \Drupal\commerce_order\Entity\OrderInterface|null
   *   The initial order, or NULL if not known.
   */
  public function getInitialOrder();
  /**
   * Sets the initial order.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface $initial_order
   *   The initial order.
   *
   * @return $this
   */
  public function setInitialOrder(OrderInterface $initial_order);
  /**
   * Gets the initial order ID.
   *
   * @return int|null
   *   The initial order ID, or NULL if not known.
   */
  public function getInitialOrderId();
  /**
   * Gets the current draft recurring order.
   *
   * @return \Drupal\commerce_order\Entity\OrderInterface|null
   *   The current draft recurring order, or NULL if none found.
   */
  public function getCurrentOrder();
  /**
   * Gets the recurring order IDs.
   *
   * @return int[]
   *   The recurring order IDs.
   */
  public function getOrderIds();
  /**
   * Gets the recurring orders.
   *
   * @return \Drupal\commerce_order\Entity\OrderInterface[]
   *   The recurring orders.
   */
  public function getOrders();
  /**
   * Sets the recurring orders.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface[] $orders
   *   The recurring orders.
   *
   * @return $this
   */
  public function setOrders(array $orders);
  /**
   * Adds a recurring order.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface $order
   *   The recurring order.
   *
   * @return $this
   */
  public function addOrder(OrderInterface $order);
  /**
   * Removes a recurring order.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface $order
   *   The recurring order.
   *
   * @return $this
   */
  public function removeOrder(OrderInterface $order);
  /**
   * Checks whether the order has a given recurring order.
   *
   * @param \Drupal\commerce_order\Entity\OrderInterface $order
   *   The recurring order.
   *
   * @return bool
   *   TRUE if the recurring order was found, FALSE otherwise.
   */
  public function hasOrder(OrderInterface $order);
  /**
   * Gets the created timestamp.
   *
   * @return int
   *   The created timestamp.
   */
  public function getCreatedTime();
  /**
   * Sets the created timestamp.
   *
   * @param int $timestamp
   *   The created timestamp.
   *
   * @return $this
   */
  public function setCreatedTime($timestamp);
  /**
   * Gets the next renewal timestamp.
   *
   * @return int
   *   The next renewal timestamp.
   */
  public function getNextRenewalTime();
  /**
   * Sets the next renewal timestamp.
   *
   * @param int $timestamp
   *   The next renewal timestamp.
   *
   * @return $this
   */
  public function setNextRenewalTime($timestamp);
  /**
   * Gets the next renewal timestamp as a DrupalDateTime object.
   *
   * @return \Drupal\Core\Datetime\DrupalDateTime|null
   *   The next renewal date/time, or NULL if not known.
   */
  public function getNextRenewalDate();
  /**
   * Gets the renewal timestamp.
   *
   * @return int
   *   The renewal timestamp.
   */
  public function getRenewedTime();
  /**
   * Sets the renewal timestamp.
   *
   * @param int $timestamp
   *   The renewal timestamp.
   *
   * @return $this
   */
  public function setRenewedTime($timestamp);
  /**
   * Gets the trial start timestamp.
   *
   * @return int
   *   The trial start timestamp.
   */
  public function getTrialStartTime();
  /**
   * Sets the trial start timestamp.
   *
   * @param int $timestamp
   *   The trial start timestamp.
   *
   * @return $this
   */
  public function setTrialStartTime($timestamp);
  /**
   * Gets the trial end timestamp.
   *
   * @return int
   *   The trial end timestamp.
   */
  public function getTrialEndTime();
  /**
   * Sets the trial end timestamp.
   *
   * @param int $timestamp
   *   The trial end timestamp.
   *
   * @return $this
   */
  public function setTrialEndTime($timestamp);
  /**
   * Gets the trial start timestamp as a DrupalDateTime object.
   *
   * @return \Drupal\Core\Datetime\DrupalDateTime
   *   The trial start date/time.
   */
  public function getTrialStartDate();
  /**
   * Gets the trial end timestamp as a DrupalDateTime object.
   *
   * @return \Drupal\Core\Datetime\DrupalDateTime|null
   *   The trial end date/time, or NULL if not yet known.
   */
  public function getTrialEndDate();
  /**
   * Gets the start timestamp.
   *
   * @return int
   *   The start timestamp.
   */
  public function getStartTime();
  /**
   * Sets the start timestamp.
   *
   * @param int $timestamp
   *   The start timestamp.
   *
   * @return $this
   */
  public function setStartTime($timestamp);
  /**
   * Gets the end timestamp.
   *
   * @return int
   *   The end timestamp.
   */
  public function getEndTime();
  /**
   * Sets the end timestamp.
   *
   * @param int $timestamp
   *   The end timestamp.
   *
   * @return $this
   */
  public function setEndTime($timestamp);
  /**
   * Gets the start timestamp as a DrupalDateTime object.
   *
   * @return \Drupal\Core\Datetime\DrupalDateTime
   *   The start date/time.
   */
  public function getStartDate();
  /**
   * Gets the end timestamp as a DrupalDateTime object.
   *
   * @return \Drupal\Core\Datetime\DrupalDateTime|null
   *   The end date/time, or NULL if not yet known.
   */
  public function getEndDate();
  /**
   * Gets the billing period value object for the current order.
   *
   * @return \Drupal\commerce_recurring\BillingPeriod|null
   *   The billing period object, or null if not set.
   */
  public function getCurrentBillingPeriod();
  /**
   * Gets whether the subscription has scheduled changes.
   *
   * @return bool
   *   TRUE if the subscription has scheduled changes, FALSE otherwise.
   */
  public function hasScheduledChanges();
  /**
   * Gets the scheduled changes.
   *
   * @return \Drupal\commerce_recurring\ScheduledChange[]
   *   The scheduled changes.
   */
  public function getScheduledChanges();
  /**
   * Sets the scheduled changes.
   *
   * @param \Drupal\commerce_recurring\ScheduledChange[] $scheduled_changes
   *   The scheduled changes.
   *
   * @return $this
   */
  public function setScheduledChanges(array $scheduled_changes);
  /**
   * Adds a scheduled change for the given field.
   *
   * @param string $field_name
   *   The field_name.
   * @param mixed $value
   *   The value.
   *
   * @return $this
   */
  public function addScheduledChange($field_name, $value);
  /**
   * Removes the scheduled changes.
   *
   * @param string $field_name
   *   (optional) The field name. If provided, only scheduled changes for that
   *   field will be removed. Otherwise, all scheduled changes will be removed.
   *
   * @return $this
   */
  public function removeScheduledChanges($field_name = NULL);
  /**
   * Determines if a scheduled change for the given field exists.
   *
   * @param string $field_name
   *   The field_name.
   * @param mixed $value
   *   (optional) The value.
   *
   * @return bool
   *   TRUE if the given change is scheduled, FALSE otherwise.
   */
  public function hasScheduledChange($field_name, $value = NULL);
  /**
   * Apply the scheduled changes.
   *
   * @return $this
   */
  public function applyScheduledChanges();
  /**
   * Cancel the subscription.
   *
   * @param bool $schedule
   *   Whether to schedule the cancellation.
   *
   * @return $this
   */
  public function cancel($schedule = TRUE);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| AccessibleInterface:: | public | function | Checks data value access. | 9 | 
| CacheableDependencyInterface:: | public | function | The cache contexts associated with this object. | 34 | 
| CacheableDependencyInterface:: | public | function | The maximum age for which this object may be cached. | 34 | 
| CacheableDependencyInterface:: | public | function | The cache tags associated with this object. | 27 | 
| EntityInterface:: | public | function | Gets the bundle of the entity. | 2 | 
| EntityInterface:: | public static | function | Constructs a new entity object, without permanently saving it. | 2 | 
| EntityInterface:: | public | function | Creates a duplicate of the entity. | 2 | 
| EntityInterface:: | public | function | Deletes an entity permanently. | 2 | 
| EntityInterface:: | public | function | Enforces an entity to be new. | 2 | 
| EntityInterface:: | public | function | Returns the cache tags that should be used to invalidate caches. | 2 | 
| EntityInterface:: | public | function | Gets the key that is used to store configuration dependencies. | 2 | 
| EntityInterface:: | public | function | Gets the configuration dependency name. | 2 | 
| EntityInterface:: | public | function | Gets the configuration target identifier for the entity. | 2 | 
| EntityInterface:: | public | function | Gets the entity type definition. | 2 | 
| EntityInterface:: | public | function | Gets the ID of the type of the entity. | 2 | 
| EntityInterface:: | public | function | Gets the original ID. | 2 | 
| EntityInterface:: | public | function | Gets a typed data object for this entity object. | 2 | 
| EntityInterface:: | public | function | Indicates if a link template exists for a given key. | 2 | 
| EntityInterface:: | public | function | Gets the identifier. | 2 | 
| EntityInterface:: | public | function | Determines whether the entity is new. | 2 | 
| EntityInterface:: | public | function | Gets the label of the entity. | 2 | 
| EntityInterface:: | public | function | Gets the language of the entity. | 2 | 
| EntityInterface:: | public | function | Deprecated way of generating a link to the entity. See toLink(). | 2 | 
| EntityInterface:: | public static | function | Loads an entity. | 2 | 
| EntityInterface:: | public static | function | Loads one or more entities. | 2 | 
| EntityInterface:: | public | function | Acts on a created entity before hooks are invoked. | 2 | 
| EntityInterface:: | public static | function | Acts on deleted entities before the delete hook is invoked. | 2 | 
| EntityInterface:: | public static | function | Acts on loaded entities. | 3 | 
| EntityInterface:: | public | function | Acts on a saved entity before the insert or update hook is invoked. | 2 | 
| EntityInterface:: | public static | function | Changes the values of an entity before it is created. | 2 | 
| EntityInterface:: | public static | function | Acts on entities before they are deleted and before hooks are invoked. | 2 | 
| EntityInterface:: | public | function | Acts on an entity before the presave hook is invoked. | 2 | 
| EntityInterface:: | public | function | Gets a list of entities referenced by this entity. | 2 | 
| EntityInterface:: | public | function | Saves an entity permanently. | 2 | 
| EntityInterface:: | public | function | Sets the original ID. | 2 | 
| EntityInterface:: | public | function | Generates the HTML for a link to this entity. | 2 | 
| EntityInterface:: | public | function | Gets the URL object for the entity. | 2 | 
| EntityInterface:: | public | function | Gets a list of URI relationships supported by this entity. | 2 | 
| EntityInterface:: | public | function | Gets the public URL for this entity. | 2 | 
| EntityInterface:: | public | function | Gets the URL object for the entity. | 2 | 
| EntityInterface:: | public | function | Gets the entity UUID (Universally Unique Identifier). | 2 | 
| EntityOwnerInterface:: | public | function | Returns the entity owner's user entity. | 1 | 
| EntityOwnerInterface:: | public | function | Returns the entity owner's user ID. | 1 | 
| EntityOwnerInterface:: | public | function | Sets the entity owner's user entity. | 1 | 
| EntityOwnerInterface:: | public | function | Sets the entity owner's user ID. | 1 | 
| FieldableEntityInterface:: | public static | function | Provides base field definitions for an entity type. | 2 | 
| FieldableEntityInterface:: | public static | function | Provides field definitions for a specific bundle. | 2 | 
| FieldableEntityInterface:: | public | function | Gets a field item list. | 1 | 
| FieldableEntityInterface:: | public | function | Gets the definition of a contained field. | 1 | 
| FieldableEntityInterface:: | public | function | Gets an array of field definitions of all contained fields. | 1 | 
| FieldableEntityInterface:: | public | function | Gets an array of all field item lists. | 1 | 
| FieldableEntityInterface:: | public | function | Gets an array of field item lists for translatable fields. | 1 | 
| FieldableEntityInterface:: | public | function | Determines whether the entity has a field with the given name. | 1 | 
| FieldableEntityInterface:: | public | function | Checks whether entity validation is required before saving the entity. | 1 | 
| FieldableEntityInterface:: | public | function | Reacts to changes to a field. | 1 | 
| FieldableEntityInterface:: | public | function | Sets a field value. | 1 | 
| FieldableEntityInterface:: | public | function | Sets whether entity validation is required before saving the entity. | 1 | 
| FieldableEntityInterface:: | public | function | Gets an array of all field values. Overrides EntityInterface:: | |
| FieldableEntityInterface:: | public | function | Validates the currently set values. | 1 | 
| RefinableCacheableDependencyInterface:: | public | function | Adds a dependency on an object: merges its cacheability metadata. | 1 | 
| RefinableCacheableDependencyInterface:: | public | function | Adds cache contexts. | 1 | 
| RefinableCacheableDependencyInterface:: | public | function | Adds cache tags. | 1 | 
| RefinableCacheableDependencyInterface:: | public | function | Merges the maximum age (in seconds) with the existing maximum age. | 1 | 
| RevisionableInterface:: | public | function | Gets the loaded Revision ID of the entity. | 1 | 
| RevisionableInterface:: | public | function | Gets the revision identifier of the entity. | 1 | 
| RevisionableInterface:: | public | function | Checks if this entity is the default revision. | 1 | 
| RevisionableInterface:: | public | function | Checks if this entity is the latest revision. | 1 | 
| RevisionableInterface:: | public | function | Determines whether a new revision should be created on save. | 1 | 
| RevisionableInterface:: | public | function | Acts on a revision before it gets saved. | 1 | 
| RevisionableInterface:: | public | function | Enforces an entity to be saved as a new revision. | 1 | 
| RevisionableInterface:: | public | function | Updates the loaded Revision ID with the revision ID. | 1 | 
| RevisionableInterface:: | public | function | Checks whether the entity object was a default revision when it was saved. | 1 | 
| SubscriptionInterface:: | public | function | Adds a recurring order. | 1 | 
| SubscriptionInterface:: | public | function | Adds a scheduled change for the given field. | 1 | 
| SubscriptionInterface:: | public | function | Apply the scheduled changes. | 1 | 
| SubscriptionInterface:: | public | function | Cancel the subscription. | 1 | 
| SubscriptionInterface:: | public | function | Gets the billing schedule. | 1 | 
| SubscriptionInterface:: | public | function | Gets the created timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the billing period value object for the current order. | 1 | 
| SubscriptionInterface:: | public | function | Gets the current draft recurring order. | 1 | 
| SubscriptionInterface:: | public | function | Gets the customer. | 1 | 
| SubscriptionInterface:: | public | function | Gets the customer ID. | 1 | 
| SubscriptionInterface:: | public | function | Gets the end timestamp as a DrupalDateTime object. | 1 | 
| SubscriptionInterface:: | public | function | Gets the end timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the initial order. | 1 | 
| SubscriptionInterface:: | public | function | Gets the initial order ID. | 1 | 
| SubscriptionInterface:: | public | function | Gets the next renewal timestamp as a DrupalDateTime object. | 1 | 
| SubscriptionInterface:: | public | function | Gets the next renewal timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the recurring order IDs. | 1 | 
| SubscriptionInterface:: | public | function | Gets the recurring orders. | 1 | 
| SubscriptionInterface:: | public | function | Gets the payment method. | 1 | 
| SubscriptionInterface:: | public | function | Gets the payment method ID. | 1 | 
| SubscriptionInterface:: | public | function | Gets the purchased entity. | 1 | 
| SubscriptionInterface:: | public | function | Gets the purchased entity ID. | 1 | 
| SubscriptionInterface:: | public | function | Gets the subscription quantity. | 1 | 
| SubscriptionInterface:: | public | function | Gets the renewal timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the scheduled changes. | 1 | 
| SubscriptionInterface:: | public | function | Gets the start timestamp as a DrupalDateTime object. | 1 | 
| SubscriptionInterface:: | public | function | Gets the start timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the subscription state. | 1 | 
| SubscriptionInterface:: | public | function | Gets the store. | 1 | 
| SubscriptionInterface:: | public | function | Gets the store ID. | 1 | 
| SubscriptionInterface:: | public | function | Gets the subscription title. | 1 | 
| SubscriptionInterface:: | public | function | Gets the trial end timestamp as a DrupalDateTime object. | 1 | 
| SubscriptionInterface:: | public | function | Gets the trial end timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the trial start timestamp as a DrupalDateTime object. | 1 | 
| SubscriptionInterface:: | public | function | Gets the trial start timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Gets the subscription type. | 1 | 
| SubscriptionInterface:: | public | function | Gets the subscription unit price. | 1 | 
| SubscriptionInterface:: | public | function | Checks whether the order has a given recurring order. | 1 | 
| SubscriptionInterface:: | public | function | Gets whether the subscription has a purchased entity. | 1 | 
| SubscriptionInterface:: | public | function | Determines if a scheduled change for the given field exists. | 1 | 
| SubscriptionInterface:: | public | function | Gets whether the subscription has scheduled changes. | 1 | 
| SubscriptionInterface:: | public | function | Removes a recurring order. | 1 | 
| SubscriptionInterface:: | public | function | Removes the scheduled changes. | 1 | 
| SubscriptionInterface:: | public | function | Sets the billing schedule. | 1 | 
| SubscriptionInterface:: | public | function | Sets the created timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the customer. | 1 | 
| SubscriptionInterface:: | public | function | Sets the customer ID. | 1 | 
| SubscriptionInterface:: | public | function | Sets the end timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the initial order. | 1 | 
| SubscriptionInterface:: | public | function | Sets the next renewal timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the recurring orders. | 1 | 
| SubscriptionInterface:: | public | function | Sets the payment method. | 1 | 
| SubscriptionInterface:: | public | function | Sets the payment method ID. | 1 | 
| SubscriptionInterface:: | public | function | Sets the purchased entity. | 1 | 
| SubscriptionInterface:: | public | function | Sets the subscription quantity. | 1 | 
| SubscriptionInterface:: | public | function | Sets the renewal timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the scheduled changes. | 1 | 
| SubscriptionInterface:: | public | function | Sets the start timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the subscription state. | 1 | 
| SubscriptionInterface:: | public | function | Sets the subscription title. | 1 | 
| SubscriptionInterface:: | public | function | Sets the trial end timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the trial start timestamp. | 1 | 
| SubscriptionInterface:: | public | function | Sets the subscription unit price. | 1 | 
| SynchronizableInterface:: | public | function | Returns whether this entity is being changed as part of a synchronization. | 1 | 
| SynchronizableInterface:: | public | function | Sets the status of the synchronization flag. | 1 | 
| TranslatableInterface:: | public | function | Adds a new translation to the translatable object. | 1 | 
| TranslatableInterface:: | public | function | Gets a translation of the data. | 1 | 
| TranslatableInterface:: | public | function | Returns the languages the data is translated to. | 1 | 
| TranslatableInterface:: | public | function | Returns the translatable object referring to the original language. | 1 | 
| TranslatableInterface:: | public | function | Checks there is a translation for the given language code. | 1 | 
| TranslatableInterface:: | public | function | Determines if the current translation of the entity has unsaved changes. | 1 | 
| TranslatableInterface:: | public | function | Checks whether the translation is the default one. | 1 | 
| TranslatableInterface:: | public | function | Checks whether the translation is new. | 1 | 
| TranslatableInterface:: | public | function | Returns the translation support status. | 1 | 
| TranslatableInterface:: | public | function | Removes the translation identified by the given language code. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Checks if untranslatable fields should affect only the default translation. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Checks whether this is the latest revision affecting this translation. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Checks whether the current translation is affected by the current revision. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Checks if the revision translation affected flag value has been enforced. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Marks the current revision translation as affected. | 1 | 
| TranslatableRevisionableInterface:: | public | function | Enforces the revision translation affected flag value. | 1 | 
