Class Pricing.Builder

  • Enclosing class:
    Pricing

    public static class Pricing.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • currencyType

        public Pricing.Builder currencyType​(String currencyType)
        The currency supported for a given Offer, in the format specified by ISO-4217
        Parameters:
        currencyType - the value to set
        Returns:
        this builder
      • totalAmount

        public Pricing.Builder totalAmount​(Long totalAmount)
        The total amount an Offer costs
        Parameters:
        totalAmount - the value to set
        Returns:
        this builder
      • billingCycle

        public Pricing.Builder billingCycle​(Pricing.BillingCycle billingCycle)
        The frequency at which the customer is billed for the Offer
        Parameters:
        billingCycle - the value to set
        Returns:
        this builder