Class GuidingRequest

java.lang.Object
com.highdeal.guiding.common.GuidingRequest

public class GuidingRequest extends Object
This Java class represents a guiding request.

A guiding request is composed of a service ID (SID), a user service ID (USID) and a consumption date (or usage date) of the digital service.

Implementation in Your Client Application

Depending on your requirements, you define the appropriate guiding requests.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuidingRequest(String userServiceId, String serviceId, short partitionId, Date consumptionDate)
    Constructs a guiding request with its user service identifier (USID), service identifier (SID), service consumption date, and a database partition identifier.
    GuidingRequest(String userServiceId, String serviceId, Date consumptionDate)
    Constructs a guiding request with its user service identifier (USID), service identifier (SID), and service consumption date.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the consumption date defined in the guiding request; it relates to the usage of the digital service by an end customer of the service provider.
    long
    Gets the distribution ID defined in the guiding request.
    short
    Gets the partition ID defined in the guiding request.
    Gets the service ID (SID) defined in the guiding request.
    Gets the user service ID (USID) defined in the guiding request.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GuidingRequest

      public GuidingRequest(String userServiceId, String serviceId, Date consumptionDate)
      Constructs a guiding request with its user service identifier (USID), service identifier (SID), and service consumption date.
      Parameters:
      userServiceId - The user service identifier (USID); a technical key that identifies an end-customer within the digital service
      serviceId - The technical identifier of the consummed digital service
      consumptionDate - The usage or consumption date of the digital service
    • GuidingRequest

      public GuidingRequest(String userServiceId, String serviceId, short partitionId, Date consumptionDate)
      Constructs a guiding request with its user service identifier (USID), service identifier (SID), service consumption date, and a database partition identifier.
      Parameters:
      userServiceId - The user service identifier (USID); a technical key that identifies an end-customer within the digital service
      serviceId - The technical identifier of the consummed digital service
      partitionId - The partition identifier of customer master data stored in the back-end database
      consumptionDate - The usage or consumption date of the digital service
  • Method Details

    • getUserServiceId

      public String getUserServiceId()
      Gets the user service ID (USID) defined in the guiding request.
      Returns:
      The user service ID of the guiding request
    • getServiceId

      public String getServiceId()
      Gets the service ID (SID) defined in the guiding request.
      Returns:
      The service ID of the guiding request
    • getDistributionId

      public long getDistributionId()
      Gets the distribution ID defined in the guiding request.
      Returns:
      The distribution ID of the guiding request
    • getPartitionId

      public short getPartitionId()
      Gets the partition ID defined in the guiding request.
      Returns:
      The partition ID of the guiding request
    • getConsumptionDate

      public Date getConsumptionDate()
      Gets the consumption date defined in the guiding request; it relates to the usage of the digital service by an end customer of the service provider.
      Returns:
      The usage or consumption date of the digital service