Class FeesAndCredits

java.lang.Object
google.registry.model.ImmutableObject
google.registry.flows.domain.FeesAndCredits
All Implemented Interfaces:
Buildable, Cloneable

public class FeesAndCredits extends ImmutableObject implements Buildable
A collection of fees and credits for a specific EPP transform.
  • Constructor Details

    • FeesAndCredits

      public FeesAndCredits()
  • Method Details

    • hasPremiumFeesOfType

      public boolean hasPremiumFeesOfType(BaseFee.FeeType type)
    • getTotalCost

      public org.joda.money.Money getTotalCost()
      Returns the total cost of all fees and credits for the event.
    • hasAnyPremiumFees

      public boolean hasAnyPremiumFees()
    • getCreateCost

      public org.joda.money.Money getCreateCost()
      Returns the create cost for the event.
    • getEapCost

      public org.joda.money.Money getEapCost()
      Returns the EAP cost for the event.
    • getRenewCost

      public org.joda.money.Money getRenewCost()
      Returns the renew cost for the event.
    • getRestoreCost

      public org.joda.money.Money getRestoreCost()
      Returns the restore cost for the event.
    • getFees

      public com.google.common.collect.ImmutableList<Fee> getFees()
      Returns the list of fees for the event.
    • isFeeExtensionRequired

      public boolean isFeeExtensionRequired()
      Returns whether a custom fee is present that requires fee extension acknowledgement.
    • getCredits

      public com.google.common.collect.ImmutableList<Credit> getCredits()
      Returns the list of credits for the event.
    • getCurrency

      public final org.joda.money.CurrencyUnit getCurrency()
      Returns the currency for all fees in the event.
    • getFeesAndCredits

      public com.google.common.collect.ImmutableList<BaseFee> getFeesAndCredits()
      Returns all fees and credits for the event.
    • asBuilder

      public FeesAndCredits.Builder asBuilder()
      Specified by:
      asBuilder in interface Buildable