Class Offering

    • Constructor Detail

      • Offering

        public Offering()
    • Method Detail

      • setId

        public void setId​(String id)

        The ID that corresponds to a device offering.

        Parameters:
        id - The ID that corresponds to a device offering.
      • getId

        public String getId()

        The ID that corresponds to a device offering.

        Returns:
        The ID that corresponds to a device offering.
      • withId

        public Offering withId​(String id)

        The ID that corresponds to a device offering.

        Parameters:
        id - The ID that corresponds to a device offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A string describing the offering.

        Parameters:
        description - A string describing the offering.
      • getDescription

        public String getDescription()

        A string describing the offering.

        Returns:
        A string describing the offering.
      • withDescription

        public Offering withDescription​(String description)

        A string describing the offering.

        Parameters:
        description - A string describing the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        The type of offering (e.g., "RECURRING") for a device.

        Parameters:
        type - The type of offering (e.g., "RECURRING") for a device.
        See Also:
        OfferingType
      • getType

        public String getType()

        The type of offering (e.g., "RECURRING") for a device.

        Returns:
        The type of offering (e.g., "RECURRING") for a device.
        See Also:
        OfferingType
      • withType

        public Offering withType​(String type)

        The type of offering (e.g., "RECURRING") for a device.

        Parameters:
        type - The type of offering (e.g., "RECURRING") for a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingType
      • setType

        public void setType​(OfferingType type)

        The type of offering (e.g., "RECURRING") for a device.

        Parameters:
        type - The type of offering (e.g., "RECURRING") for a device.
        See Also:
        OfferingType
      • withType

        public Offering withType​(OfferingType type)

        The type of offering (e.g., "RECURRING") for a device.

        Parameters:
        type - The type of offering (e.g., "RECURRING") for a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingType
      • setPlatform

        public void setPlatform​(String platform)

        The platform of the device (e.g., ANDROID or IOS).

        Parameters:
        platform - The platform of the device (e.g., ANDROID or IOS).
        See Also:
        DevicePlatform
      • getPlatform

        public String getPlatform()

        The platform of the device (e.g., ANDROID or IOS).

        Returns:
        The platform of the device (e.g., ANDROID or IOS).
        See Also:
        DevicePlatform
      • withPlatform

        public Offering withPlatform​(String platform)

        The platform of the device (e.g., ANDROID or IOS).

        Parameters:
        platform - The platform of the device (e.g., ANDROID or IOS).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DevicePlatform
      • setPlatform

        public void setPlatform​(DevicePlatform platform)

        The platform of the device (e.g., ANDROID or IOS).

        Parameters:
        platform - The platform of the device (e.g., ANDROID or IOS).
        See Also:
        DevicePlatform
      • withPlatform

        public Offering withPlatform​(DevicePlatform platform)

        The platform of the device (e.g., ANDROID or IOS).

        Parameters:
        platform - The platform of the device (e.g., ANDROID or IOS).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DevicePlatform
      • getRecurringCharges

        public List<RecurringCharge> getRecurringCharges()

        Specifies whether there are recurring charges for the offering.

        Returns:
        Specifies whether there are recurring charges for the offering.
      • setRecurringCharges

        public void setRecurringCharges​(Collection<RecurringCharge> recurringCharges)

        Specifies whether there are recurring charges for the offering.

        Parameters:
        recurringCharges - Specifies whether there are recurring charges for the offering.
      • withRecurringCharges

        public Offering withRecurringCharges​(RecurringCharge... recurringCharges)

        Specifies whether there are recurring charges for the offering.

        NOTE: This method appends the values to the existing list (if any). Use setRecurringCharges(java.util.Collection) or withRecurringCharges(java.util.Collection) if you want to override the existing values.

        Parameters:
        recurringCharges - Specifies whether there are recurring charges for the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withRecurringCharges

        public Offering withRecurringCharges​(Collection<RecurringCharge> recurringCharges)

        Specifies whether there are recurring charges for the offering.

        Parameters:
        recurringCharges - Specifies whether there are recurring charges for the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object