Class BillingMeterDetails


  • public final class BillingMeterDetails
    extends Object
    Holds billing meter details for each type of billing.
    • Constructor Detail

      • BillingMeterDetails

        public BillingMeterDetails()
    • Method Detail

      • name

        public String name()
        Get the name property: Represents Billing type name.
        Returns:
        the name value.
      • meterDetails

        public MeterDetails meterDetails()
        Get the meterDetails property: Represents MeterDetails.
        Returns:
        the meterDetails value.
      • meteringType

        public MeteringType meteringType()
        Get the meteringType property: Represents Metering type (eg one-time or recurrent).
        Returns:
        the meteringType value.
      • frequency

        public String frequency()
        Get the frequency property: Frequency of recurrence.
        Returns:
        the frequency value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.