Enum BillingProvider

java.lang.Object
java.lang.Enum<BillingProvider>
com.microsoft.store.partnercenter.models.invoices.BillingProvider
All Implemented Interfaces:
Serializable, Comparable<BillingProvider>, java.lang.constant.Constable

public enum BillingProvider
extends Enum<BillingProvider>
  • Enum Constant Details

    • NONE

      public static final BillingProvider NONE
      Different providers of billing information Enum initializer
    • OFFICE

      public static final BillingProvider OFFICE
      Bill is provided by Office. Example: Office 365 and Intune.
    • AZURE

      public static final BillingProvider AZURE
      Bill is provided by Azure. Example: Azure Services.
    • ONE_TIME

      public static final BillingProvider ONE_TIME
      Bill is provided for one time purchases.
    • MARKETPLACE

      public static final BillingProvider MARKETPLACE
      Indicates that the provider is marketplace .
    • ALL

      public static final BillingProvider ALL
      Indicates that the provider is both first party and marketplace.
  • Method Details

    • values

      public static BillingProvider[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BillingProvider valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Converts the object to a string.
      Overrides:
      toString in class Enum<BillingProvider>
      Returns:
      A string that represents this object.