Enum BillingSetupErrorEnum.BillingSetupError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<BillingSetupErrorEnum.BillingSetupError>
    Enclosing class:
    BillingSetupErrorEnum

    public static enum BillingSetupErrorEnum.BillingSetupError
    extends java.lang.Enum<BillingSetupErrorEnum.BillingSetupError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible billing setup errors.
     
    Protobuf enum google.ads.googleads.v10.errors.BillingSetupErrorEnum.BillingSetupError
    • Enum Constant Detail

      • CANNOT_USE_EXISTING_AND_NEW_ACCOUNT

        public static final BillingSetupErrorEnum.BillingSetupError CANNOT_USE_EXISTING_AND_NEW_ACCOUNT
         Cannot specify both an existing payments account and a new payments
         account when setting up billing.
         
        CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
      • CANNOT_REMOVE_STARTED_BILLING_SETUP

        public static final BillingSetupErrorEnum.BillingSetupError CANNOT_REMOVE_STARTED_BILLING_SETUP
         Cannot cancel an approved billing setup whose start time has passed.
         
        CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
      • CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT

        public static final BillingSetupErrorEnum.BillingSetupError CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT
         Cannot perform a Change of Bill-To (CBT) to the same payments account.
         
        CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
      • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS

        public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS
         Billing setups can only be used by customers with ENABLED or DRAFT
         status.
         
        BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
      • INVALID_PAYMENTS_ACCOUNT

        public static final BillingSetupErrorEnum.BillingSetupError INVALID_PAYMENTS_ACCOUNT
         Billing setups must either include a correctly formatted existing
         payments account id, or a non-empty new payments account name.
         
        INVALID_PAYMENTS_ACCOUNT = 6;
      • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY

        public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY
         Only billable and third-party customers can create billing setups.
         
        BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
      • INVALID_START_TIME_TYPE

        public static final BillingSetupErrorEnum.BillingSetupError INVALID_START_TIME_TYPE
         Billing setup creations can only use NOW for start time type.
         
        INVALID_START_TIME_TYPE = 8;
      • THIRD_PARTY_ALREADY_HAS_BILLING

        public static final BillingSetupErrorEnum.BillingSetupError THIRD_PARTY_ALREADY_HAS_BILLING
         Billing setups can only be created for a third-party customer if they do
         not already have a setup.
         
        THIRD_PARTY_ALREADY_HAS_BILLING = 9;
      • BILLING_SETUP_IN_PROGRESS

        public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_IN_PROGRESS
         Billing setups cannot be created if there is already a pending billing in
         progress.
         
        BILLING_SETUP_IN_PROGRESS = 10;
      • NO_SIGNUP_PERMISSION

        public static final BillingSetupErrorEnum.BillingSetupError NO_SIGNUP_PERMISSION
         Billing setups can only be created by customers who have permission to
         setup billings. Users can contact a representative for help setting up
         permissions.
         
        NO_SIGNUP_PERMISSION = 11;
      • CHANGE_OF_BILL_TO_IN_PROGRESS

        public static final BillingSetupErrorEnum.BillingSetupError CHANGE_OF_BILL_TO_IN_PROGRESS
         Billing setups cannot be created if there is already a future-approved
         billing.
         
        CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
      • PAYMENTS_PROFILE_INELIGIBLE

        public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_INELIGIBLE
         Billing setup creation failed because the payments profile is ineligible.
         
        PAYMENTS_PROFILE_INELIGIBLE = 15;
      • PAYMENTS_ACCOUNT_INELIGIBLE

        public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE
         Billing setup creation failed because the payments account is ineligible.
         
        PAYMENTS_ACCOUNT_INELIGIBLE = 16;
      • CUSTOMER_NEEDS_INTERNAL_APPROVAL

        public static final BillingSetupErrorEnum.BillingSetupError CUSTOMER_NEEDS_INTERNAL_APPROVAL
         Billing setup creation failed because the payments profile needs internal
         approval.
         
        CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
      • PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH

        public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH
         Payments account has different currency code than the current customer
         and hence cannot be used to setup billing.
         
        PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
      • FUTURE_START_TIME_PROHIBITED

        public static final BillingSetupErrorEnum.BillingSetupError FUTURE_START_TIME_PROHIBITED
         A start time in the future cannot be used because there is currently no
         active billing setup for this customer.
         
        FUTURE_START_TIME_PROHIBITED = 20;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE

        public static final int CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE
         Cannot specify both an existing payments account and a new payments
         account when setting up billing.
         
        CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
        See Also:
        Constant Field Values
      • CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE

        public static final int CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE
         Cannot cancel an approved billing setup whose start time has passed.
         
        CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
        See Also:
        Constant Field Values
      • CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE

        public static final int CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE
         Cannot perform a Change of Bill-To (CBT) to the same payments account.
         
        CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
        See Also:
        Constant Field Values
      • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE

        public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE
         Billing setups can only be used by customers with ENABLED or DRAFT
         status.
         
        BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
        See Also:
        Constant Field Values
      • INVALID_PAYMENTS_ACCOUNT_VALUE

        public static final int INVALID_PAYMENTS_ACCOUNT_VALUE
         Billing setups must either include a correctly formatted existing
         payments account id, or a non-empty new payments account name.
         
        INVALID_PAYMENTS_ACCOUNT = 6;
        See Also:
        Constant Field Values
      • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE

        public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE
         Only billable and third-party customers can create billing setups.
         
        BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
        See Also:
        Constant Field Values
      • INVALID_START_TIME_TYPE_VALUE

        public static final int INVALID_START_TIME_TYPE_VALUE
         Billing setup creations can only use NOW for start time type.
         
        INVALID_START_TIME_TYPE = 8;
        See Also:
        Constant Field Values
      • THIRD_PARTY_ALREADY_HAS_BILLING_VALUE

        public static final int THIRD_PARTY_ALREADY_HAS_BILLING_VALUE
         Billing setups can only be created for a third-party customer if they do
         not already have a setup.
         
        THIRD_PARTY_ALREADY_HAS_BILLING = 9;
        See Also:
        Constant Field Values
      • BILLING_SETUP_IN_PROGRESS_VALUE

        public static final int BILLING_SETUP_IN_PROGRESS_VALUE
         Billing setups cannot be created if there is already a pending billing in
         progress.
         
        BILLING_SETUP_IN_PROGRESS = 10;
        See Also:
        Constant Field Values
      • NO_SIGNUP_PERMISSION_VALUE

        public static final int NO_SIGNUP_PERMISSION_VALUE
         Billing setups can only be created by customers who have permission to
         setup billings. Users can contact a representative for help setting up
         permissions.
         
        NO_SIGNUP_PERMISSION = 11;
        See Also:
        Constant Field Values
      • CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE

        public static final int CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE
         Billing setups cannot be created if there is already a future-approved
         billing.
         
        CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
        See Also:
        Constant Field Values
      • PAYMENTS_PROFILE_NOT_FOUND_VALUE

        public static final int PAYMENTS_PROFILE_NOT_FOUND_VALUE
         Requested payments profile not found.
         
        PAYMENTS_PROFILE_NOT_FOUND = 13;
        See Also:
        Constant Field Values
      • PAYMENTS_ACCOUNT_NOT_FOUND_VALUE

        public static final int PAYMENTS_ACCOUNT_NOT_FOUND_VALUE
         Requested payments account not found.
         
        PAYMENTS_ACCOUNT_NOT_FOUND = 14;
        See Also:
        Constant Field Values
      • PAYMENTS_PROFILE_INELIGIBLE_VALUE

        public static final int PAYMENTS_PROFILE_INELIGIBLE_VALUE
         Billing setup creation failed because the payments profile is ineligible.
         
        PAYMENTS_PROFILE_INELIGIBLE = 15;
        See Also:
        Constant Field Values
      • PAYMENTS_ACCOUNT_INELIGIBLE_VALUE

        public static final int PAYMENTS_ACCOUNT_INELIGIBLE_VALUE
         Billing setup creation failed because the payments account is ineligible.
         
        PAYMENTS_ACCOUNT_INELIGIBLE = 16;
        See Also:
        Constant Field Values
      • CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE

        public static final int CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE
         Billing setup creation failed because the payments profile needs internal
         approval.
         
        CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
        See Also:
        Constant Field Values
      • PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE

        public static final int PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE
         Payments account has different currency code than the current customer
         and hence cannot be used to setup billing.
         
        PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
        See Also:
        Constant Field Values
      • FUTURE_START_TIME_PROHIBITED_VALUE

        public static final int FUTURE_START_TIME_PROHIBITED_VALUE
         A start time in the future cannot be used because there is currently no
         active billing setup for this customer.
         
        FUTURE_START_TIME_PROHIBITED = 20;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static BillingSetupErrorEnum.BillingSetupError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BillingSetupErrorEnum.BillingSetupError c : BillingSetupErrorEnum.BillingSetupError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BillingSetupErrorEnum.BillingSetupError valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static BillingSetupErrorEnum.BillingSetupError valueOf​(int value)
        Deprecated.
        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:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static BillingSetupErrorEnum.BillingSetupError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static BillingSetupErrorEnum.BillingSetupError valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null