Interface CardProduct


  • public interface CardProduct
    CardProduct provides the information of a particular card product.
    • Method Detail

      • getProductId

        java.lang.String getProductId()
        Fetch the product ID.
        Returns:
        a String representation of the product ID of the card.
      • getProductName

        java.lang.String getProductName()
        Fetch the product name.
        Returns:
        a String representation of the product name of the card.
      • getShortDesc1

        java.lang.String getShortDesc1()
        Fetch the short description 1.
        Returns:
        a String representation of the short description 1 of the card if present. Otherwise, null will be returned.
      • getShortDesc2

        java.lang.String getShortDesc2()
        Fetch the short description 2.
        Returns:
        a String representation of the short description 2 of the card if present. Otherwise, null will be returned.
      • getLongDesc

        java.lang.String getLongDesc()
        Fetch the long description.
        Returns:
        a String representation of the long description of the card if present. Otherwise, null will be returned.
      • getTopupAmounts

        java.util.List<java.lang.Integer> getTopupAmounts()
        Fetch the list of top up amounts.
        Returns:
        a List of Integer representation of the top up amounts of the card if present. Otherwise, null will be returned.
      • getRefundableDeposit

        double getRefundableDeposit()
        Fetch the refundable deposit.
        Returns:
        a double representation of the refundable deposit of the card if present. Otherwise, null will be returned.
      • getCsWebsiteUrl

        java.lang.String getCsWebsiteUrl()
        Fetch the cs website url.
        Returns:
        a String representation of the cs wehsite URL of the card if present. Otherwise, null will be returned.
      • getCsPhoneNumber

        java.lang.String getCsPhoneNumber()
        Fetch the cs phone number.
        Returns:
        a String representation of the cs phone number of the card if present. Otherwise, null will be returned.
      • getCardArt

        CardArt getCardArt()
        Fetch the card art object retrieved from the server as part of the Card Product. This method shall be used after the card product list is retrieved.
        Returns:
        a CardArt object of the card if present. Otherwise, null will be returned.
      • getValidityPeriod

        ValidityPeriod getValidityPeriod()
        Fetch the validity period.
        Returns:
        a ValidityPeriod object of the card if present. Otherwise, null will be returned.
        The ValidityPeriod object stores the String representations of the start date and end date coded in ISO 8601 format (YYYY-MM-DDThh:mm:ssTZD).