Enum Class BillingSetupErrorEnum.BillingSetupError
java.lang.Object
java.lang.Enum<BillingSetupErrorEnum.BillingSetupError>
com.google.ads.googleads.v18.errors.BillingSetupErrorEnum.BillingSetupError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BillingSetupErrorEnum.BillingSetupError>,Constable
- Enclosing class:
- BillingSetupErrorEnum
public static enum BillingSetupErrorEnum.BillingSetupError
extends Enum<BillingSetupErrorEnum.BillingSetupError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible billing setup errors.Protobuf enum
google.ads.googleads.v18.errors.BillingSetupErrorEnum.BillingSetupError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBilling setups cannot be created if there is already a pending billing in progress.Only billable and third-party customers can create billing setups.Billing setups can only be used by customers with ENABLED or DRAFT status.Cannot perform a Change of Bill-To (CBT) to the same payments account.Cannot cancel an approved billing setup whose start time has passed.Cannot specify both an existing payments account and a new payments account when setting up billing.Billing setups cannot be created if there is already a future-approved billing.Billing setup creation failed because the payments profile needs internal approval.A start time in the future cannot be used because there is currently no active billing setup for this customer.Billing setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.Billing setup creations can only use NOW for start time type.Billing setups can only be created by customers who have permission to setup billings.Billing setup creation failed because the payments account is ineligible.Payments account has different currency code than the current customer and hence cannot be used to setup billing.Requested payments account not found.Billing setup creation failed because the payments profile is ineligible.Billing setup creation failed because the user needs to accept master service agreement on the payments profile.Requested payments profile not found.Billing setups can only be created for a third-party customer if they do not already have a setup.The payments account has maximum number of billing setups.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBilling setups cannot be created if there is already a pending billing in progress.static final intOnly billable and third-party customers can create billing setups.static final intBilling setups can only be used by customers with ENABLED or DRAFT status.static final intCannot perform a Change of Bill-To (CBT) to the same payments account.static final intCannot cancel an approved billing setup whose start time has passed.static final intCannot specify both an existing payments account and a new payments account when setting up billing.static final intBilling setups cannot be created if there is already a future-approved billing.static final intBilling setup creation failed because the payments profile needs internal approval.static final intA start time in the future cannot be used because there is currently no active billing setup for this customer.static final intBilling setups must either include a correctly formatted existing payments account id, or a non-empty new payments account name.static final intBilling setup creations can only use NOW for start time type.static final intBilling setups can only be created by customers who have permission to setup billings.static final intPayments account has different currency code than the current customer and hence cannot be used to setup billing.static final intBilling setup creation failed because the payments account is ineligible.static final intRequested payments account not found.static final intBilling setup creation failed because the payments profile is ineligible.static final intBilling setup creation failed because the user needs to accept master service agreement on the payments profile.static final intRequested payments profile not found.static final intBilling setups can only be created for a third-party customer if they do not already have a setup.static final intThe payments account has maximum number of billing setups.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BillingSetupErrorEnum.BillingSetupError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
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
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_ACCOUNTCannot 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_STATUSBilling setups can only be used by customers with ENABLED or DRAFT status.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; -
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_CATEGORYOnly billable and third-party customers can create billing setups.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; -
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
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
Billing setups cannot be created if there is already a pending billing in progress.
BILLING_SETUP_IN_PROGRESS = 10; -
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
Billing setups cannot be created if there is already a future-approved billing.
CHANGE_OF_BILL_TO_IN_PROGRESS = 12; -
PAYMENTS_PROFILE_NOT_FOUND
Requested payments profile not found.
PAYMENTS_PROFILE_NOT_FOUND = 13; -
PAYMENTS_ACCOUNT_NOT_FOUND
Requested payments account not found.
PAYMENTS_ACCOUNT_NOT_FOUND = 14; -
PAYMENTS_PROFILE_INELIGIBLE
Billing setup creation failed because the payments profile is ineligible.
PAYMENTS_PROFILE_INELIGIBLE = 15; -
PAYMENTS_ACCOUNT_INELIGIBLE
Billing setup creation failed because the payments account is ineligible.
PAYMENTS_ACCOUNT_INELIGIBLE = 16; -
CUSTOMER_NEEDS_INTERNAL_APPROVAL
Billing setup creation failed because the payments profile needs internal approval.
CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; -
PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCEBilling setup creation failed because the user needs to accept master service agreement on the payments profile.
PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18; -
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH
public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCHPayments 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
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; -
TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT
public static final BillingSetupErrorEnum.BillingSetupError TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNTThe payments account has maximum number of billing setups.
TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE
public static final int CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUECannot specify both an existing payments account and a new payments account when setting up billing.
CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;- See Also:
-
CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE
public static final int CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUECannot cancel an approved billing setup whose start time has passed.
CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;- See Also:
-
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE
public static final int CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUECannot perform a Change of Bill-To (CBT) to the same payments account.
CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;- See Also:
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE
public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUEBilling setups can only be used by customers with ENABLED or DRAFT status.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;- See Also:
-
INVALID_PAYMENTS_ACCOUNT_VALUE
public static final int INVALID_PAYMENTS_ACCOUNT_VALUEBilling 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:
-
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE
public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUEOnly billable and third-party customers can create billing setups.
BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;- See Also:
-
INVALID_START_TIME_TYPE_VALUE
public static final int INVALID_START_TIME_TYPE_VALUEBilling setup creations can only use NOW for start time type.
INVALID_START_TIME_TYPE = 8;- See Also:
-
THIRD_PARTY_ALREADY_HAS_BILLING_VALUE
public static final int THIRD_PARTY_ALREADY_HAS_BILLING_VALUEBilling 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:
-
BILLING_SETUP_IN_PROGRESS_VALUE
public static final int BILLING_SETUP_IN_PROGRESS_VALUEBilling setups cannot be created if there is already a pending billing in progress.
BILLING_SETUP_IN_PROGRESS = 10;- See Also:
-
NO_SIGNUP_PERMISSION_VALUE
public static final int NO_SIGNUP_PERMISSION_VALUEBilling 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:
-
CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE
public static final int CHANGE_OF_BILL_TO_IN_PROGRESS_VALUEBilling setups cannot be created if there is already a future-approved billing.
CHANGE_OF_BILL_TO_IN_PROGRESS = 12;- See Also:
-
PAYMENTS_PROFILE_NOT_FOUND_VALUE
public static final int PAYMENTS_PROFILE_NOT_FOUND_VALUERequested payments profile not found.
PAYMENTS_PROFILE_NOT_FOUND = 13;- See Also:
-
PAYMENTS_ACCOUNT_NOT_FOUND_VALUE
public static final int PAYMENTS_ACCOUNT_NOT_FOUND_VALUERequested payments account not found.
PAYMENTS_ACCOUNT_NOT_FOUND = 14;- See Also:
-
PAYMENTS_PROFILE_INELIGIBLE_VALUE
public static final int PAYMENTS_PROFILE_INELIGIBLE_VALUEBilling setup creation failed because the payments profile is ineligible.
PAYMENTS_PROFILE_INELIGIBLE = 15;- See Also:
-
PAYMENTS_ACCOUNT_INELIGIBLE_VALUE
public static final int PAYMENTS_ACCOUNT_INELIGIBLE_VALUEBilling setup creation failed because the payments account is ineligible.
PAYMENTS_ACCOUNT_INELIGIBLE = 16;- See Also:
-
CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE
public static final int CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUEBilling setup creation failed because the payments profile needs internal approval.
CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;- See Also:
-
PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE_VALUE
public static final int PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE_VALUEBilling setup creation failed because the user needs to accept master service agreement on the payments profile.
PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18;- See Also:
-
PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE
public static final int PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUEPayments 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:
-
FUTURE_START_TIME_PROHIBITED_VALUE
public static final int FUTURE_START_TIME_PROHIBITED_VALUEA 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:
-
TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT_VALUE
public static final int TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT_VALUEThe payments account has maximum number of billing setups.
TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BillingSetupErrorEnum.BillingSetupError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-